|
Adding Rows to your table Lesson 6 |
|
Here is the code that we left off with in the last lesson. <table align=center border=1 width=90% background=html/backgroundlight.jpg> <tr> <td width=33%><br></td> <td width=34%><br></td> I now have three <td> lines and the widths all add up to 100. Here what it looks like Lets add another Table Row <tr>. Copy the area shown in red below. <table align=center border=1 width=90% background=html/backgroundlight.jpg> <tr> <td width=33%><br></td> <td width=34%><br></td> </table> Now make a space under your closing <tr> tag and paste what you have copied. <table align=center border=1 width=90% background=html/backgroundlight.jpg> <tr> <td width=33%><br></td> <td width=34%><br></td> <tr> <td width=33%><br></td> <td width=34%><br></td> </table> Now you have added a new row that looks the same as the first row. I am going to replace the <br> in the code so that you can see where each of the cells is located in in the code in relation to where it is displayed Here is the code <table align="center" border="1" width="90%" background="backgroundlight.jpg">
Now I will add an align=center statement to each of the <td> tags. <table align=center border=1 width=90% background=html/backgroundlight.jpg>
ok lets add one more row. This is FUN <table align=center border=1 width=90% background=html/backgroundlight.jpg>
If your table looks like this, do the whirl around the room twice and go to the next lesson.
|