Click to See Complete Forum and Search --> : h2 without newline


jasongr
07-05-2006, 06:52 AM
Hi people

I am trying to render a <h2> tag in my page
The problem is that the browser treats it as a blocking element which causes it to appear with a newline before and after the tag itself.

Is there a way to tell the browser not to render the newlines?
I want to continue using the <h2> tag because of its importance for SEO

Thanks

Charles
07-05-2006, 06:55 AM
<h2 style="display:inline">Foo &amp; Bar</h2>

jasongr
07-05-2006, 07:04 AM
Thanks Charles

Learning something new everyday
:-)