Setting table borders and backgrounds
Borders are the solid outlines of the table itself. A border??™s width is measured in pixels; the default width is 1
pixel. You can alter this width in the Border field of the Table Property inspector.
To make the border invisible, specify a border of 0 width. You can still resize your table by clicking and
dragging the borders, even when the border is set to 0. When the View ??? Visual Aids ??? Table Borders
option is selected, Dreamweaver displays a thin dashed line to represent the border; this line is not visible
when the page is viewed in a browser.
When the border is visible, you can also see each cell outlined. The width of the outline around the cells
stays constant, regardless of the border??™s width. However, you can control the amount of space between
each cell with the CellSpace value in the Table Property inspector, covered in the section ???Working with
Cell Spacing and Cell Padding??? later in this chapter.
To change the width of a border in Dreamweaver, select your table and enter a new value in the Border text
box. With a wider border, you can see the default shading: The top and left sides are a light shade, and the
bottom and right sides are darker, giving the table border a pseudo-3D appearance.
Pages:
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884