Jump to content


Photo

Padding isn't working!


  • Please log in to reply
1 reply to this topic

#1 maxic0

maxic0
  • Members
  • PipPipPip
  • Advanced Member
  • 70 posts

Posted 12 September 2006 - 06:21 PM

Hi, i have a news content thing on my website, and here is the CSS code for it!

#header {
  background:url(images/header.gif) no-repeat;
  width:700px;
  height:30px;
}
#footer {
  background:url(images/footer.gif) no-repeat;
  width:700px;
  height:30px;
}
#content {
  background:url(images/content.gif) repeat-y;
  width:700px;
}

p {
  margin:0px 40px;
  padding-bottom: 4px;
  padding-left:20px;
  line-height:1.5em;
}

Now it doesn't work properly..
The padding-bottom: 4px; works..
But the padding-left:20px; doesn't!

Can somone please tell my why this is?

Thanks
Max



#2 ToonMariner

ToonMariner
  • Members
  • PipPipPip
  • Advanced Member
  • 3,342 posts
  • LocationNewcastle upon Tyne, UK

Posted 13 September 2006 - 09:15 AM

send a link or show us some html please
follow me on twitter @PHPsycho




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users