• Div has margins on the top and bottom, despite margin:0 - why?
    3 replies, posted
[url]http://underdogmod.co.cc/base_site/[/url] [img]http://img263.imageshack.us/img263/9668/annoyingn.png[/img] The content div I have for some reason is putting margins around the top and bottom of it. It's really annoying and I can't figure out why it's happening. I cna set the div to position:absolute and it will stop, but then my footer refuses to stay under it. What can I do?
The H1 title is making it do that lol. You need to reset its top margin. And the bototm bit is from the margin on the paragraph (p), you need to reset its margin too. [IMG]http://drp.ly/Dp0Q[/IMG][IMG]http://files.droplr.com/files/15013550/Dp0Q.Screen%20shot%202010-03-19%20at%208.15.40%20PM.png[/IMG] The yellow represents the margins for the H1 title.
[QUOTE=Sumtoxx;20842481]The H1 title is making it do that lol. You need to reset its top margin. And the bototm bit is from the margin on the paragraph (p), you need to reset its margin too. [IMG]http://drp.ly/Dp0Q[/IMG][IMG]http://files.droplr.com/files/15013550/Dp0Q.Screen%20shot%202010-03-19%20at%208.15.40%20PM.png[/IMG] The yellow represents the margins for the H1 title.[/QUOTE] Wow, duh. Thanks :)
[QUOTE=Jimmy422;20842542]Wow, duh. Thanks :)[/QUOTE] Np :D.
Sorry, you need to Log In to post a reply to this thread.