CSS: The Definitive Guide
Provides you with a comprehensive guide to CSS implementation, along with a thorough review of all aspects of CSS 2.1. Updated to cover Internet Explorer 7, Microsoft's vastly improved browser, this new edition includes content on positioning, text wrapping (nowrap), lists and generated content, table layout, user interface, paged media, and more.
Sorry:
<div id="container" class="autoclear"> <div style="float:left;">CONTENT LEFT</div> <div style="float:right;">CONTENT RIGHT</div> </div>
Given this example:
CONTENT LEFT CONTENT RIGHTYou can turn it into this, with no extra markup to clear floated elements:
CONTENT LEFT CONTENT RIGHTis it possible, please- to see a snippet of code as to how these css classes would be used in html, after the floated elements?