13.6. Using Floats to Align Elements

You can use CSS styles to align images and other elements on a Web page. Many designers create class styles that float elements to the right and left, an ideal way to wrap text around an image.

Many of Dreamweaver's CSS layouts include class styles for floats with the names fltrt to float elements to the right and fltlft to float elements to the left.

Using Floats to Align Elements

Align to the Left

Note: If the CSS Styles panel is not open, click Window and then click CSS Styles to open it.

Click to select ...

Get Teach Yourself Visually™ Adobe® Dreamweaver® CS5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.