:: Forum >>
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
Tuesday, April 4, 2006
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
Tuesday, April 4, 2006
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)
Tuesday, April 4, 2006
thanks Alex, that did the trick (I should've figured it out with the FF DOM inspector :)
CK
Wednesday, April 5, 2006
This topic is archived.
Back to support forum
Forum search