Home  |  About  | Last |  Submit  |  Contact
AllQuests.com




Previous Question:  Just started putting Web Site togeather  Just Starting Your DesignNext Question:  New guy intro  Introductions
Question Quick Margin 0 help ( SitePoint Forums Just Starting Your Design )
Updated: 2008-08-12 07:20:16 (5)
Quick Margin 0 help

Please take a look at my site: www.envoyforums.com

At the top you'll notice the big space. I know there are tags you put in the <body> tag to get rid of it but cant remember what they were exaclty. Everything I've tried has failed

Can anyone tell me what I need to do to get rid of the gap?

Thanks, mucho appreciated..o


Answers: Quick Margin 0 help ( SitePoint Forums Just Starting Your Design )
Quick Margin 0 help

If you are talking about the gap above the header, can you set the top margin to 0 in your stylesheet?

e.g.

body {
margin-top: 0;
}


(currently you have it set to 5px)


Cheers

James

Jim Lam

Quick Margin 0 help

Didn't work

But thanks

GeorgeB.

Quick Margin 0 help

What browser are you viewing it in?

using the margin-top: 0 etc. it works fine in Safari, but still leaves an approx 8px gap in Firefox (im using a Mac... so may vary on PC).


Have you tried using a negative value?

e.g.
body{
margin: -8px 10px 10px 10px;
}

Jim Lam

Quick Margin 0 help

Fixed, turns out it was a VB thing.

Thanks for the help,

George

GeorgeB.

Quick Margin 0 help

Glad you got it sorted

Jim Lam

Previous Question:  Just started putting Web Site togeather  SitePoint Forums  Just Starting Your DesignNext Question:  New guy intro  SitePoint Forums  Introductions

- Source: Quick Margin 0 help SitePoint Forums Just Starting Your Design
- Previous Question: Just started putting Web Site togeather SitePoint Forums Just Starting Your Design
- Next Question: New guy intro SitePoint Forums Introductions