bear
bear

Reputation: 11615

Body top-margin issue

I'm having an issue with a common website template of mine: http://www.radonsystems.net/newsite/

That space between the top and the first div: navbar.

I can't seem to get rid of it, because I don't know why it's there.

Any ideas?

Upvotes: 0

Views: 3643

Answers (2)

KP.
KP.

Reputation: 13730

Add the following to your CSS definition for #navtabs:

#navtabs
{
    /* get rid of the top margin */
    margin-top:0;
}

To find the issue I used Firebug. It's a fantastic tool. Once you get used to it you could find this type of problem in about 30 seconds. I really recommend trying it out.

Upvotes: 3

g.d.d.c
g.d.d.c

Reputation: 47988

You have an un-ordered list inside your navbar div which still has margin properties. If you add margin-top: 0; to the class or style for that UL the top space will disappear.

Upvotes: 3

Related Questions