• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

CSS float question

Atheus

Diamond Member
I want to float:left an image so the text wraps around it, but when I do this, the image overlaps the bottom border of the div that contains it. The div expands only to contain the non-floated text. How can I avoid this without floating every container div right down to the root?
 
You can give a class of clearfix (google "clearfix css") or an easier way would be overflow: auto; so the div will include the image.. as of now its being "floated" and is "nonexistant" or something like that -_-
 
Back
Top