[thelist] Remove break after H# tags

Arlen.P.Walker at jci.com Arlen.P.Walker at jci.com
Wed Feb 20 13:26:01 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!).

Ummm, won't

h1,h2,h3,h4,h5,h6 {display:inline;}

be more effective?

Have fun,
Arlen
Chief Managing Director In Charge, Department of Redundancy Department
DNRC 224

Arlen.P.Walker at JCI.Com
----------------------------------------------
In God we trust; all others must provide data.
----------------------------------------------
Opinions expressed are mine and mine alone.
If JCI had an opinion on this, they'd hire someone else to deliver it.




More information about the thelist mailing list