WebCore Help: Working with tables
Here is a basic table:
Here is a table using colspan=2 in the second row. Choose "view source" to see the code
Here is a table using rowspan=2 in the first row. Look at the source code.
Another table: colspan=2 in the second row
Other Important Table Attributes
- In each td cell, put valign=top to tell the browser to put the text or image at the top. (The default position is the center.)
- You can change the background color of the entire cell by writing bgcolor=ff0000" in the table code, as below
- You can change the background color of each table cell by writing bgcolor="ffffcc" within the td brackets
- You can change the text color of the text within a table or a cell by typing font color="000000" (surrounded by angled brackets) after the td code before the text