Q:
How can I change the cell spacing in HTML Editor grid?
A:
The default cell spacing for the grid is set in style.css file. This file is contained in Editor_data/ed_styles folder in downloaded zip file.
By default, the css file contains next lines: .HC_grid th {
width:99%;vertical-align:top;margin:0px;border-width:0px;
padding:8px; /* spacing between cells inside main Table */
}
.HC_grid td {
width:110px;vertical-align:top;border-width:0px;
margin:0px;padding:0px;
padding-top:8px;padding-bottom:8px;
padding-right:8px; /* spacing between cells inside main Table */
}
By default, we see the following grid appearance:
Now, let's change those lines in the css file: .HC_grid th {
width:99%;vertical-align:top;margin:0px;border-width:0px;
padding:1px; /* spacing between cells inside main Table */
}
.HC_grid td {
width:110px;vertical-align:top;border-width:0px;
margin:0px;padding:0px;
padding-top:1px;padding-bottom:1px;
padding-right:1px; /* spacing between cells inside main Table */
}
We'll see the following grid appearance: