Hi Chris,

Well that certainly makes sense.  The box model problems with IE is
certainly a good reason not to use padding.  But that's only padding on the
left and right.

What if you used padding on the top and bottom of the outer div and then
right/left margins on the inner div?  Your problem is only with margins
collapsing, and the outer div won't have any to trouble you.  It's not
perfect, but it stops you from needing borders.

I can probably do this in _some_ cases, but at the moment I need this with div#header and div#footer kind of boxes which also have a fixed height. So hacking is again necessary.

Sascha Ebach

PS: Please answer to the list, if you can, so we can record this discussion there. Thank you.
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to