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

Joseph W. Lowery

"Dreamweaver CS3 Bible"


In HTML, the structure and all the data of a table are contained between the table tag pair, and
. The tag can take numerous attributes, determining a table??™s width (which can be
given in absolute pixel measurement or as a percentage of the screen) as well as the border, alignment on
the page, and background color. You can also control the size of the spacing between cells and the amount
of padding within cells.
You can insert a
...
pair directly in your code by choosing Insert ??? Table
Objects ??? Table or by clicking the Table Tag button in the Tables category of the Insert bar. You
must do this in Code view, where you can see the exact location of your cursor before inserting the tag pair.
HTML uses a strict hierarchy when describing a table. You can see this clearly in Listing 13-1, which shows
the HTML generated from a simple table in Dreamweaver.
LISTING 13-1
Code for an HTML Table
















   
   
   

The   in the table code is HTML for a non-breaking space. Dreamweaver inserts this
code in each empty table cell because some browsers collapse the cell without it.


Pages:
827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851