CSS how to execute a clear:both before background: image
-
Just trying to figure out how I can get an article to clear:both for when the text content is shorter than the thumbnail. At the end of every entry is a hairline image that runs into the thumbnail, instead of underneath it.
http://www.justinmontgomery.com/The CSS I’ve been contemplating is:
.post {
padding-bottom: 5px;
margin-bottom: 20px;
clear: both;
background: url(images/post-line.png) left bottom repeat-x;
}
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘CSS how to execute a clear:both before background: image’ is closed to new replies.