Jump to content

Gap between content div and menu


noxobscurus

Recommended Posts

Recently I tried to change a part of my website's html/css because I noticed that it wasn't aligned properly on the page. Therefore, I removed the margins telling where things should be (which fixed the alignment issue) but now there's a gap between my menu and my content div and I'm not sure how to get rid of it. Here's the site in question:http://oursideofthemountain.webs.com/rules2.htm CSS is here:http://oursideofthemountain.webs.com/css2.css Thanks!

Link to comment
Share on other sites

Hi, just took a look at your site. You need to add a margin-bottom: 0px to your ul#nav id When I did that, it closed the gap between your navigation and your main content div. Hope this helps you. Kind regards, Labby.

Edited by Labtec
  • Like 1
Link to comment
Share on other sites

Can you post the HTML. Not just the site link.
A site link is far more useful than the HTML because you can use Firebug to look at the actual elements and the styles that are applied to them.
Link to comment
Share on other sites

A site link is far more useful than the HTML because you can use Firebug to look at the actual elements and the styles that are applied to them.
True if your sitting with a desktop or laptop... I constantly rummage through the posts here doing what I can to help while on the go using my iPad. No code, very little help I can offer. Edited by DarkxPunk
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...