Here we have two rows and three columns. I want to remove the middle column from the second row. <table width="500" height="300" border="0" cellpadding="10" > <td width="150" > </td> <td width="100" > </td> <td width="150" > </td> </tr> <tr> <td width="150" > </td> <td width="100" > </td> <td width="150" > </td> </table> HTML: What I want: What I could do myself, and what I don't want: Is it possible to make it like that?
While this is possible, you'd be better off avoiding tables and using <div> tags with CSS to get the results you want. "Nah... I like tables. They're easy." I thought so too, and this was my common response when people tried to talk me into using CSS. But you know what? CSS becomes easy too, and it's a LOT more SEO-friendly.
I'm really a html noob, I have only learned php... When it comes to html I'm helpless. Could you show me how to get the result I want using the code I posted?
Presumably, this is for layout rather than for tabular data. I don't believe you can get what you want in a table; it simply defies the logic of a flat database. You could use a separate table for each row. It's ugly, but would work. With semantic markup and css, it is trivial. The problems arise with IE6/7, as they don't support css very well. If you want to use a more modern layout method, let us know. Otherwise, try the multiple table. cheers, gary