Posted by KiwiBrian on 10/30/07 19:00
"Harlan Messinger" <hmessinger.removethis@comcast.net> wrote in message
news:5opb22FntdpeU1@mid.individual.net...
> KiwiBrian wrote:
>> Could anyone look at the following page:-
>>
>> http://homepages.ihug.co.nz/~briantoz/kiwitest/kiwi.html
>>
>> And explain why:-
>> (1) FF 2.0.0.8 has the expected 30 px padding within the outer wrapper
>> (10 px of wrapper padding plus 20 px of box margin) but the inner boxes
>> are left-aligned rather than being centered.
>
> Firefox requires that the left and right margins be able to adjust
> themselves--that is, auto. You told it to use 20px.
>
>> (2) IE6 and IE7 has the expected 30 pix of top padding within the
>> outer wrapper, but only 20 px of bottom padding.
Thanks Harlan, you have completely cleared up that point, and I can see the
sense of it.
When the inner boxes are given a horizontal margin of "auto" FF behaves as
expected.
Now to clear up why the extra 10 pixels of wrapper bottom padding is
occurring....
[Back to original message]
|