Jump to content


Photo

Spacing Problem


  • Please log in to reply
2 replies to this topic

#1 cmgmyr

cmgmyr
  • Members
  • PipPipPip
  • Advanced Member
  • 1,278 posts
  • LocationUSA

Posted 11 September 2006 - 12:45 PM

Please check out www.e-resolutions.org in FF.

As you can see there are some spacing problems with the div main and maincontent. I tried setting the top/bottom margins/padding to 0 but it did nothing. Once I put a border around either div, the problem goes away. How do I fix this?

Thanks,
-Chris

#2 obsidian

obsidian
  • Staff Alumni
  • Advanced Member
  • 3,202 posts
  • LocationSeattle, WA

Posted 11 September 2006 - 12:48 PM

looks like it may be margins on the <p> tags. when you say you did your top/bottom margins, was that on the div or on the p tags?
You can't win, you can't lose, you can't break even... you can't even get out of the game.

<?php
while (count($life->getQuestions()) > 0)
{   $life->study(); } ?>
  LINKS: PHP: Manual MySQL: Manual PostgreSQL: Manual (X)HTML: Validate It! CSS: A List Apart | IE bug fixes | Zen Garden | Validate It! JavaScript: Reference Cards RegEx: Everything RegEx

#3 cmgmyr

cmgmyr
  • Members
  • PipPipPip
  • Advanced Member
  • 1,278 posts
  • LocationUSA

Posted 11 September 2006 - 01:55 PM

Thanks obsidian that was enough to clue me in. :)

I added:
#main p{
margin:0px;
padding:5px;
}

and it worked. Thanks!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users