Forum Moderators: open
<td colspan="8" div id="bottomcontent" style="background-image:url(images/bottomcontent.gif); width:458px; height:145px;" alt="" />
</td>
So how would I get that to be two difference cells, I messed around and tried somthing like:
<td colspan="8" div id="bottomcontent" style="background-image:url(images/bottomcontent.gif); width:358px; height:145px;" alt="" />
</td>
<td colspan="6" div id="bottomcontent" style="background-image:url(images/bottomcontent.gif); width:100px; height:145px" alt="" />
</td>
But I really had no idea what I was doing, especially with the colspan :P
Thanks for any help.
To split 1 cell into two, you first make two cells (which you did).
Next, you cut both colspans in half. You cannot have fractional/non-whole number of colspan, meaning you can't split it more than the largest number of columns you have in the table.
Another problem you have though, is if you want them to be specific widths... you don't control widths of individual cells, really. You just control the size of each column, and each row. You can't have one cell wider than the width of it's column (of course unless you use colspan, in which case it spans multiple columns, but only in multiples of the columns width... there is no precise control)
I hope I explained myself well. I'm also not entirely correct, or didn't explain things perfect, but somone else can elaborate off me.
Again I say: tables can be pretty messy things. They aren't very good for site layout/presentation... they are used for organizing site information, like spreadsheets.
Am I allowed to post this URL? It's worded so nicely, I think it will just help this person understand what I'm trying to explain. I still don't fully comprehend where the "personal website" line is.
[htmlcodetutorial.com...]
[edited by: Xapti at 6:08 am (utc) on April 9, 2007]