short content is breaking my template!
September 25, 2005 9:59 AM
Subscribe
Simple CSS question. I'm fooling around with the template for a wiki and, well,
this is what's happening.
here's the css for the content DIV:
.content {
width: 90%;
border-right: 1px solid black;
border-left: 1px solid black;
border-bottom: 1px solid black;
border-top: 1px solid black;
padding: 10px 10px 10px 10px;
background-color: white;
margin-bottom: 10px;
padding-left: 20px;
padding-right: 20px
}
The image itself is inside of the DIV and doesn't have any style applied to it. Any ideas?
posted by mcsweetie to computers & internet (6 comments total)
That's exactly what I would expect to see if the image was floated, but the content wasn't as tall as the image.
posted by o2b at 10:01 AM on September 25, 2005