[thelist] Remove break after H# tags

Mark Howells mark at mountain.ch
Wed Feb 20 10:52:11 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}

This isn't totally effective in all browsers for h1 and h2, which retain
their margins in some browsers (Guess which one!).

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




More information about the thelist mailing list