O'Reilly logo

InterACT with Web Standards: A holistic approach to web design by Denise Jacobs, Glenda Sims, Christopher Schmitt, Chris Mills, Leslie Jensen-Inman, Lars Gunther, Derek Featherstone, Virginia DeBolt, Erin Anderson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 20. Floats

by Chris Mills

Floats? Clearing? These terms may seem strange to you at first. No, I am not talking about levitation, or clearing your name of a crime you’ve been wrongly accused of (did you steal this book?) I am talking about the float and clear CSS properties, which you’ve already seen in action in Chapter 19, “Forms.” This chapter will look at these properties in more detail, including some of their most common uses such as floating text around images and creating multiple column layouts.

In this chapter you have the opportunity to Try it yourself! with the convenient sample code downloads found on the book’s companion website—http://interactwithwebstandards.com.

Floating elements around one another

This is the usage that ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required