Log in

View Full Version : Content box not working



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?

kk.
23-03-2008, 05:18 PM
ok, replace the . with # and change it to <div id="name"> </div>

i cant see anything wrong with it. make sure you have spelt everything correctly and you are writing in the middle div :P

Hypertext
23-03-2008, 05:32 PM
fixed +rep if i can yet

gotta spread :S

Want to hide these adverts? Register an account for free!