Something wrong with H_ tags??

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
AnsonM
Forum Commoner
Posts: 72
Joined: Thu Sep 25, 2003 7:21 am

Something wrong with H_ tags??

Post by AnsonM »

I think theres something wrong with the H tags?

Look at this: http://www.8thd.custom-hosting.net/anso ... ?act=about

The headings use the <h1>, </h1> tags...

How come it makes such a big space apart from the other text? Did I do something wrong?

Code: Select all

H1 &#123;FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 10px; color: #FF0000;font-weight: bold&#125;
AnsonM
Forum Commoner
Posts: 72
Joined: Thu Sep 25, 2003 7:21 am

Post by AnsonM »

heres a bit more from the actual page

Code: Select all

<table width="100%">
	<tr>
		<td class="title"><b>About 8th Dimension</b></td>
	</tr>
</table>
<table width="100%">
	<tr>
		<td class="content">
<h1>Creators</h1><br>
Anson<br>Neons<br>
<h1>Administrators</h1><br>
Anson<br>
Neons<br>
REDH4MMER<br>
Smìttiöx<br>
Puddin<br>
<br>
<h1>Programmers</h1><br>
Anson - He is the one who adds in new stuff from time to time...<br>
<br>
jason
Site Admin
Posts: 1767
Joined: Thu Apr 18, 2002 3:14 pm
Location: Montreal, CA
Contact:

Post by jason »

Code: Select all

<h1>Creators</h1><br>
Anson<br>Neons<br>
First, header tags are block level elements, so you can loose the <br> tag after it.

Next, you might consider setting your h1 CSS with:

Code: Select all

margin: 0;
padding: 0;
From their, you can adjust it as needed.
AnsonM
Forum Commoner
Posts: 72
Joined: Thu Sep 25, 2003 7:21 am

Post by AnsonM »

thanks! should be ok now :)
Post Reply