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 873 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"

Figure 13-10 shows single-
cell tables with borders of various widths, contrasting background attribute and CSS style usage.
FIGURE 13-10
Borders are far more flexible when applied with CSS.
In Dreamweaver, you can directly assign colors to the border. To choose a color for the border, select the
Brdr color box or enter a color name or hexadecimal color value in the adjacent text box. Again, you get
much greater control and standards compliance if you use CSS.
In addition to colored borders, a table can also have a colored background. (By default, the table is initially
transparent.) Choose the background color in the Table Property inspector by selecting a color in the Bg color
box or entering a color name or hexadecimal color value in the adjacent text box. As you learn later in this
chapter, in ???Setting Cell, Column, and Row Properties,??? you can also assign background colors to rows,
columns, and individual cells??”if used, these specific colors override the background color of the entire table.
CAUTION CAUTION
464
Adding Advanced Design Features Part III
Working with cell spacing and cell padding
HTML gives you two methods to add whitespace in tables. Cell spacing controls the width between each
cell, and cell padding controls the margins within each cell.


Pages:
861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885