|
Step 6 - Making a Table.
Tables are a good way to make your site look a lot neater, they're quite complicated but once you've learned how to do them they are really easy.
First of all start with this,
changing the number in border=1 will make the border thicker if you put a higher number and if you change it to 0 you wont have a border.
changing the cellpadding number will make an invisible border(more like a gap really) around each cell and changing the cellspacing number will give you a gap beween each cell.
bgcolor and bordercolor will change the colour of the background and border, just replace COLOURHERE with a colour (click here for colours).
Now we'll start doing the table, copy this after the code above to make a row,
then to add a column type|
type the text that you want in that column, then to end the column |
and either start a new column using those td tags or end the row:
and start a new one.
To do this;
type this instead of the td tagrember to change the number acorrding to how many rows it spans
To do this;
type this instead od the td tagremember to change the number acorrding to how many cols it spans
|
| |
|