h5 tag adding extra line below text

Josh Simpson's picture

They have: 147 posts

Joined: Dec 1999

on my site I am designing I used the
<h5 class="staff">
tag fo a heading inside a table
th tag adds an extra line below the text that it is applyed to.
why?
and how do I get rid of it?

NOTE: The <h5> tag has formatting comands in an external css
http://redrival.com/jls/school/
on the staff page "at the the top by makoura college home, by principle and the other to below it" i want it to look like the "heads of deparment" title just below it.

Thanks josh

JLS (Joshua Lee Simpson)

They have: 231 posts

Joined: Feb 2000

Do you mean it adds a blank line between the heading your next element? It will always do this because that is the meaning of the <h> tags. Similar to <p></p>.

If you don't want a space, then use a different tag for your heading such as:

<span class="staff">HEADING</span><br>

:: Lloyd Hassell :: http://www14.brinkster.com/lloydh ::

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.