Forums

This topic is locked

H1 H1 H1!!!

Posted 17 Jan 2006 04:28:38
1
has voted
17 Jan 2006 04:28:38 jp g posted:
Hi! Im preparing my client's website for SEO and im trying to change all the titles to use H1 tag instead of the customized CSS tags that i have in there. My problem is everytime I employ the H1 tag on a title within a table or a cell, it adds extra space on the bottom of the text in the cell. its like having about 15px padding on the bottom and it ruins the layout. im a graphic artist for quite a bit now but im really new to web development.

to give you an idea check this link- zemographics.com/btlegal-deleteThis/contactus.htm see the Contact Us title (the one above the "Map"? notice the extra space underneath it? the titles on the other links are fine coz they still have the customized tag.

Is there a workaround for this? i really hate that extra space.

thanks

JohnPaulGomez
www.zemoGraphics.com

WYSIWYG

Replies

Replied 17 Jan 2006 04:54:15
17 Jan 2006 04:54:15 Dave Thomas replied:
add a rule to the css sheet

<pre id=code><font face=courier size=2 id=code>
H1 { margin: 0px; padding: 0px; }
</font id=code></pre id=code>

that will remove the default padding.

regards

Dave Thomas
<b>DMX Zone Forums Manager</b>
Replied 17 Jan 2006 07:01:55
17 Jan 2006 07:01:55 jp g replied:
hey that makes sense. thanks a lot dave!

JohnPaulGomez
www.zemoGraphics.com

WYSIWYG

Reply to this topic