Let's just get it out of the way that I'm a complete CSS amateur. On my sleeping bags page, I have a photo of a sleeping page floating on the left about halfway down the page. I also have a h2 element image and unordered list bullets on the page. However, when I place the sleeping bag photo next to the h2 element or the lists, the text moves over for the image but not the h2 background or the ul bullets. The css images stay in place.
How can I fix this so that the css images move over with the text? Does it have something to do with that my photo is floating?
Code:
.subcontent h2, .innercontent h2, .recipe h2 {
font-size:1.8em;
font-weight:lighter;
background:url(../images/bordertitle.png) no-repeat 0 100%;
margin:0 8px 0 16px;
padding:10px 0 7px 0;
}
Code:
.imgleft {
float:left;
margin:8px 8px 8px 15px;
border:1px solid #ababab;
padding:2px;
}
__________________
Colton
Wild Backpacker
Please login or register to view this content. Registration is FREE
|