Hypertext
23-03-2008, 05:10 PM
I have this css
.topcontent {
background-image:url(images/topcontent.gif);
background-repeat:no-repeat;
width:623px;
height:29px;
margin-top:12px;
}
.midcontent {
background-image:url(images/midcontent.gif);
background-repeat:repeat-y;
padding-left:15px;
padding-right:15px;
width:623px;
}
.bottomcontent {
background-image:url(images/bottomcontent.gif);
background-repeat:no-repeat;
width:623px;
height:30px;
}
but when i put some lorem in the content box, it pads the left side, but not the right side, and it just overruns it. what am i doing wrong?
.topcontent {
background-image:url(images/topcontent.gif);
background-repeat:no-repeat;
width:623px;
height:29px;
margin-top:12px;
}
.midcontent {
background-image:url(images/midcontent.gif);
background-repeat:repeat-y;
padding-left:15px;
padding-right:15px;
width:623px;
}
.bottomcontent {
background-image:url(images/bottomcontent.gif);
background-repeat:no-repeat;
width:623px;
height:30px;
}
but when i put some lorem in the content box, it pads the left side, but not the right side, and it just overruns it. what am i doing wrong?