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;
}
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;
}