|
|||||||
New to SitePoint Forums? Register here for free!
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
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. |
|
|
|
|
|
#2 |
|
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.
|
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
|
All times are GMT -7. The time now is 20:24.








Linear Mode
