3.2.0

cell padding in 2.0

I'm trying to get my grids to appear the same in 2.0 as they do in 1.0.

In 1.0, I could set the cell padding like this:

.active-grid-column {padding-left:1px; padding-right:1px}


Anyone know how to do the same in 2.0? I've tried setting the padding on several classes (aw-grid-cell, aw-item-text) but no luck.



CK
April 4,
OK, so this works in IE:

.aw-grid-cell {padding-left: 1px; padding-right: 1px;}


But in FF 1.5, there seem to be a few extra pixels of cell padding on the left and right that I can't get rid of, even if I use 0px or none. This was not the case in 1.0
CK
April 4,
There is one additional nested <span> box in FF with the class .aw-gecko-box so it should be

.aw-grid-cell, .aw-gecko-box {padding: 0px 1px;}
Alex (ActiveWidgets)
April 4,
thanks Alex, that did the trick (I should've figured it out with the FF DOM inspector :)
CK
April 5,

This topic is archived.

See also:


Back to support forum