Re: [WSG] Unwanted gaps between divs

2004-11-16 Thread Tony Crockford
At 05:14 on Tuesday, 16 Nov 2004, Nick Lo wrote: By the way it can be solved by adding padding to it's container: div#content { margin-left: 190px; margin-right: 200px; padding-top: 3pt; } However I'm still not clear why. I'd imagine this might explain:

[WSG] Unwanted gaps between divs

2004-11-15 Thread Nick Lo
I'm having a little brain drain with spacing that I'd like help with. The layout on a page I'm working in is experiencing the same problem I can demonstrate better on Russ's example here: http://css.maxdesign.com.au/selectutorial/steps/step22.htm Imagine I want a background colour on the header

Re: [WSG] Unwanted gaps between divs

2004-11-15 Thread Nick Lo
By the way it can be solved by adding padding to it's container: div#content { margin-left: 190px; margin-right: 200px; padding-top: 3pt; } However I'm still not clear why. Thanks, Nick I'm having a little brain drain with spacing that I'd like help with. The layout on a page I'm working in is