...

View Full Version : Padding-right not working



KELS!
10-27-2006, 03:37 PM
I'm making a layout with DIV's, php includes, etc.

http://soft.unloveme.org/NEW/index2.php

In the main CONTENT div, there is the shadowed background, and the text is just supposed to go ontop of it. In order to get the text so that it appears to be 'inside' the shadowed area, I added simple 'padding' attributes the the Div.

PROBLEM: Padding-left works, padding-right doesn't. Is there something wrong with my code or is padding-right not supported in this case? I'm completely confused!



#content {
position: relative;
width: 807px;
left:0px;
top:-5px;
height:500px;
background: url(http://soft.unloveme.org/NEW/img/2br.png)
repeat-y;
padding-left: 30px;
padding-right: 30px;
}

Arbitrator
10-28-2006, 03:21 AM
Looks fine to me in Firefox and Internet Explorer.

KELS!
10-28-2006, 06:37 AM
Looks fine to me in Firefox and Internet Explorer.

Yeah- I fuigured it out... sorry about not updatig the post;.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum