Click to See Complete Forum and Search --> : Newline After Closing Heading Tag


Geat
12-22-2003, 08:01 AM
Does anyone know how to stop the new paragraph being started after a </h[1-6]> tag?

Obviously, you can break the rules by not including the closing tag, but I'd rather keep it W3C compliant...

pyro
12-22-2003, 08:41 AM
<style type="text/css">
h1, h2, h3, h4, h5, h6 {
margin-bottom: 0;
}
</style>

Geat
12-22-2003, 08:48 AM
Nice one! I just need it as a one-off, so I'll stick it as an inline style - but thanks.

pyro
12-22-2003, 08:51 AM
Happy to help. :)