The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS nested columns Re: nested columns


ok so if | = padding:

| 3/4 | 1/4|

in the 3/4 col we have:


that first | you see above is the padding of the outer div + this 1/4 padding and its no longer aligned.

looks like:


||1/4| (see double padding makes the grid look bad)

so then in my third attempt i took off the inner padding of first child only


| 1/4 |1/4|

but now the first column is bigger thant its brothers who still have padding!