SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 506 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"

Any text that encounters the element
wraps around it.
Clear Sets the side on which AP elements cannot be displayed next to the element. If an AP element
is encountered, the element with the Clear attribute places itself beneath the AP element.
Margin Defines the amount of space between the borders of the element and other elements in
the page.
Padding Sets the amount of space between the element and the border or margin, if no border is
specified. You can control the padding for the left, right, top, and bottom independently.
Border options
With Cascading Style Sheets, you can specify many parameters for borders surrounding text, images, and
other elements such as Java applets. In addition to specifying separate colors for any of the four box sides,
you can also choose the width of each side??™s border, as shown in the CSS Border category (see Figure 7-19).
You can use eight different types of border lines, including solid, dashed, inset, and ridge. As with the
Padding and Margin attributes in the Box category, Dreamweaver includes a Same For All option under
the Style, Width, and Color attributes to save you the work of having to enter the same value for all
four sides. Table 7-5 lists the Border options.
241
Building Style Sheet Web Pages 7
FIGURE 7-19
Borders are useful to highlight a section of text or a graphic.


Pages:
494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518