Rustam Issabekov
Rustam Issabekov

Reputation: 3497

why text wraps floated image?

As you know when we float an HTML element, we remove it from normal flow and other elements act as if there was no element at all, they just don't see it. But why text starts to wrap around floated image, isn't it suppose to go underneath the image?

Upvotes: 0

Views: 71

Answers (1)

Bergi
Bergi

Reputation: 664589

You seem to confuse absolute positioning with a flow layout. Floated elements are moved to the left/right, and text does respect them by wrapping around.

Upvotes: 2

Related Questions