Any one know how to merge 5 cells on a html table into 1 ( the columns )
Merging Tables
I dont, sorry
@venc: PLEASE...NO SPAM
@ DanielXP:
Easy - use the "colspan" attribute...example:
Try dropping that in a HTML document - that should explain it pretty clearly.
The "sister" tag rowspan is also interesting - try messing about with that aswel
@ DanielXP:
Easy - use the "colspan" attribute...example:
| Code: |
|
<table border="1"> <tr> <td>1</td> <td>2</td> <td>3</td> </tr> <tr> <td colspan="3">4</td> </tr> <tr> <td>5</td> <td>6</td> <td>7</td> </tr> </table> |
Try dropping that in a HTML document - that should explain it pretty clearly.
The "sister" tag rowspan is also interesting - try messing about with that aswel
I am sorry for spamming, its just, I searched a little, and I couldnt find anything, but I didnt want to just leave without saying anything, so, I am sorry
Yer i found out on Dreamweather (kool it does it for you
)
erm yer

erm yer
Yes, it's just the colspan attribute you tack on to <td> (not <tr>; common mistake).
I have heard though that most things should now be done using CSS. I have seen many tutorials for "floating" layouts and such, and they look really nice . If you are learning how to set up a site with tables, you might want to take a look into CSS before you get too attached.
~Balthamos
I have heard though that most things should now be done using CSS. I have seen many tutorials for "floating" layouts and such, and they look really nice . If you are learning how to set up a site with tables, you might want to take a look into CSS before you get too attached.
~Balthamos
