noxobscurus Posted December 21, 2012 Share Posted December 21, 2012 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 More sharing options...
DarkxPunk Posted December 22, 2012 Share Posted December 22, 2012 Can you post the HTML. Not just the site link. Link to comment Share on other sites More sharing options...
Labtec Posted December 22, 2012 Share Posted December 22, 2012 (edited) 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 December 22, 2012 by Labtec 1 Link to comment Share on other sites More sharing options...
Ingolme Posted December 22, 2012 Share Posted December 22, 2012 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 More sharing options...
Krewe Posted December 22, 2012 Share Posted December 22, 2012 What Labtec said is 100% correct. Just add a margin-bottom: 0px; to the #nav and it will look fine! Link to comment Share on other sites More sharing options...
noxobscurus Posted December 23, 2012 Author Share Posted December 23, 2012 Thanks so much! It works now. Link to comment Share on other sites More sharing options...
DarkxPunk Posted December 23, 2012 Share Posted December 23, 2012 (edited) 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 December 23, 2012 by DarkxPunk Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now