Yeah, a quick fix indeed. If you like, yes, you can also make it work for bottom:
Code:
.rcbottom {
background: url("uploads/images/rcbr.gif") no-repeat scroll right bottom transparent;
position: relative;
top: 1px;
}
Here's another solution:
Code:
.rcbox {
background: url("uploads/images/rcgrad.gif") repeat-x scroll left top #FFFFFF;
margin: 20px auto;
width: 90%;
position: relative;
}
.rctop {
background: url("uploads/images/rctr.gif") no-repeat scroll right top transparent;
position: absolute;
top: 0;
}
.rctop div {
background: url("uploads/images/rctl.gif") no-repeat scroll left top transparent;
border: 0 none;
position: absolute;
top: 0;
}
... but your problem starts from here:
Code:
div {
padding: 1px 0;
}
So, remove this and you should not be needing any of the positioning.
Bookmarks