[thelist] Remove break after H# tags

Mark Howells mark at mountain.ch
Thu Feb 21 03:39:00 CST 2002


>>> How would I go about removing the line break automatically inserted
>>> after a
>>> H# level element using CSS?
>>
>> h1,h2,h3,h4,h5,h6 {margin-bottom:0;padding-bottom:0}
>
> Ummm, won't
> h1,h2,h3,h4,h5,h6 {display:inline;}
> be more effective?

I've put a demo online to demonstrate the difference between the two options
above, so that the original message poster can choose the option they were
trying to achieve.

Screenshot  (IE5 / Mac): <http://www.mark.ac/help/headerStyles.gif>
HTML : <http://www.mark.ac/help/headerStyles.html>

Regards
Mark Howells
<http://www.mark.ac/evl>




More information about the thelist mailing list