Forum Moderators: not2easy
table size 7x9
AND
(1,1)(1,2)...(1,7)
(2,1)... (2,7) are all having the same bgcolor, and same border color
(3,1)... (3,7)
(4,1)... (4,7) are all having the same bgcolor/border.
is there a way to do this without having tables inside of tables...?
I would assume that if there is a way, it would be in CSS.
ie.
<table><tr><td>...</td> .... <td>...</td></tr></table><br>
<table><tr><td>...</td> .... <td>...</td></tr></table><br>
<table><tr><td>...</td> .... <td>...</td></tr></table><br>
<table><tr><td>...</td> .... <td>...</td></tr></table><br>
etc.
You shouldn't need to contain these stacked tables inside a table...
The javascript would have:
- A loop that would continue as many times as you want
- A table command with the first desired row.
- A table command with the second desired row.
The best loop to use would be the "for" loop. It would be really simple. If you have any problems let me know and I'll e-mail you with help. Or you can try it another way.