Categories
CSS

All About Floats

Practically everything you need to know about CSS layout in a single, simple page.

Float is a CSS positioning property. If you are familiar with print design, you can think of it like an image in a layout where the text wraps around it as necessary.

So begins  All About Floats, a brief and unassuming tutorial which, with a single web page of text and a few illustrations, thoroughly explains how designers use “float” to create CSS layouts, the difference between “float” and absolute positioning, and the leading browser quirks to keep in mind when using float to create web layouts.

If CSS confuses you, this page will greatly help you. If you’re an old hand at CSS layout, this page will make a handy reference for you. This page is not new, but it was new to me. Congratulations to author Chris Coyier on a job elegantly done. Hat tip to Elliot Jay Stocks for pointing it out.

[tags]CSS, layout, essentials, overview, tutorial[/tags]

By L. Jeffrey Zeldman

“King of Web Standards”—Bloomberg Businessweek. Author, Designer, Founder. Talent Content Director at Automattic. Publisher, alistapart.com & abookapart.com. Ava’s dad.

Got something to say?

Discover more from Zeldman on Web and Interaction Design

Subscribe now to keep reading and get access to the full archive.

Continue reading