The Nowrap option enables text to wrap if a
tag is detected.
Display Determines how a tag is represented. Possible values include none, inline, block, list-item,
run-in, compact, marker, table, inline-table, table-row-group, table-header-group, tablefooter-
group, table-row, table-column-group, table-column, table-cell, and table-caption.
Box options
The Box attribute defines the placement and settings for elements (primarily images) on a page. Many of the
controls (shown in Figure 7-18) emulate spacing behavior similar to that found in
attributes. If
you are already comfortable using HTML tables with cell padding, border colors, and width/height controls,
you??™ll quickly learn how to use these Box features, which are described in Table 7-4.
To have the same padding or margins all around a box area, check the Same For All option.
This option allows you to set one value??”Top??”to use for all four sides. TIPTIP
240
Designing and Crafting Core Pages Part II
FIGURE 7-18
The CSS Box attributes define the placement of HTML elements on the Web page.
TABLE 7-4
CSS Box Attributes
Box Setting Description
Width Sets the width of the element.
Height Defines the height of the element.
Float Places the element at the left or right page margin.
Pages:
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517