Jump to content

Archived

This topic is now archived and is closed to further replies.

maxic0

Padding isn't working!

Recommended Posts

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

[code]
#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;
}
[/code]

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

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.