Build a better Web site by understanding floated elements in CSS
Cascading Style Sheets (CSS) are rapidly becoming the de facto standard for Web page layout and positioning. Using them correctly, however, requires a sound analysis of the functional purpose of a particular layout, both to ensure that the resulting style sheets are logically and functionally correct and that they are portable across different browsers or viewing devices. One of the most important concepts a developer can understand are so-called floated elements, which serve a valuable function in aligning and positioning elements relative to each other on a Web page. This download provides a brief introduction to these floated elements, explaining the CSS float and clear directives and providing some examples of how you can use them to better position HTML elements on a Web page.
This download is also available as a TechRepublic article.