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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.