I have an annoying CSS layout issue. I am trying to put images on a specific page:
img {
float: left;
}
I think my headers do not start with indentation:
h3 {
clear: left;
}
Everything works fine, except for some images that have lists (or any block element) that float past them (or not in this case). The reason for this in the CSS specification is obvious: block elements do not flow. String / inline elements.
This is a real issue for listings. Is there a way around this fairly general and compatible way?
source
share