Tiffany B. Brown

a mish-mosh of stuff

Floating floats

Thought I broke some new ground when I realized that if you float the container of a floated element, you return it to a semi-normal flow.

I was going to write a big ol’ blog entry and everything. Then I realized Eric Meyer already did it. Bah!

Here’s the main point (in case you’re to lazy to read Mr. Meyer’s piece): if you have a floated image inside of a paragraph, you’ll need to float that paragraph as well if you don’t want the image to be outside of the containing box.

Comments are closed.