Go Back   SitePoint Forums > Forum Index > Design Your Site > Just Starting Your Design
Newsletter FAQ Members List Calendar Mark Forums Read

New to SitePoint Forums? Register here for free!

SitePoint Sponsor
 
Reply
 
Thread Tools Display Modes
Old Nov 7, 2009, 14:51   #1
justlukeyou
SitePoint Zealot
 
Join Date: Feb 2007
Posts: 159
H1 Tag Design Problem

Hi,

I am trying to design a page using a H1 Tag for the first time. However when I use it makes the area look messy:

Page with H1:

http://www.oaklivingroomfurniture.co.uk

Page without H1:
http://www.pinelivingroomfurniture.co.uk/index1.html

I haven't added any height dimensions in the H1 tag, I only want to use it for SEO purposes.
justlukeyou is offline   Reply With Quote
Old Nov 7, 2009, 15:25   #2
PhilipToop
SitePoint Enthusiast
 
Join Date: Jun 2007
Location: North Yorkshire, UK
Posts: 38
The H1 tag tends to put a margin to the top and bottom. The amount will be dependent on the browser but something like margin: 0.67em 0px 0.67em 0px;. If you put a style margin: 0px 0px 0px 0px; in your stylesheet for H1 you should get it to look the same as without the H1.
PhilipToop is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread | Next Thread »

Thread Tools
Display Modes

 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Sponsored Links
 
Forum Jump


All times are GMT -7. The time now is 20:24.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright 1998-2009, SitePoint Pty Ltd. All Rights Reserved