Home › Forums › CSS › nested columns › Re: nested columns
February 28, 2013 at 4:03 pm
#126470
Member
ok so if | = padding:
| 3/4 | 1/4|
in the 3/4 col we have:
||1/4|1/4|1/4|1/4
that first | you see above is the padding of the outer div + this 1/4 padding and its no longer aligned.
looks like:
|3/4|
||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
|3/4|
| 1/4 |1/4|
but now the first column is bigger thant its brothers who still have padding!