[thelist] css question: no spaces after a line....

Steve Maxey smaxey at bcr.com
Mon Oct 2 22:39:29 CDT 2000


>
>The client does not want space beneath headings. I'd like to accommodate 
>that desire. It does look better, after all. The CSS spec's say it should 
>work, using the margin-bottom property.
>
>>anyway, didja try the "margin-bottom" property i suggested the
>>other day?  if so, any success?
>
>Oh yeah. Long time ago. This property does not work in NS4.x or IE5.0 for 
>heading (H?) tags. That's been the core of the problem.

Actually, what does work--at least in MSIE4.0+--is pairing tags like so:

h3 {margin-bottom: 0px;}
.first {margin-top: 0px;}

<h3>Subhead</h3>
<p class="first">Start of first paragraph after subhead...</p>

--Steve





More information about the thelist mailing list