egturnkey Posted October 3, 2009 Share Posted October 3, 2009 Hello Friend, can anyone please help me how to make such table that has 3 (1 + 3x2 ) here is how it looks like i'm not asking for style or color or space i just asking about the code meks such structure thanks in advance Quote Link to comment Share on other sites More sharing options...
egturnkey Posted October 3, 2009 Author Share Posted October 3, 2009 Hello Friend, can anyone please help me how to make such table that has 3 (1 + 3x2 ) i'm not asking for style or color or space i just asking about the code meks such structure thanks in advance FIXED.... <table width="586" height="60" border="1" cellpadding="2" cellspacing="2"> <tr> <td width="273" height="20"> </td> <td width="142"> </td> </tr> <tr> <td height="20"> </td> <td> </td> </tr> <tr> <td height="20"> </td> <td> </td> </tr> </table> THREAD TO BE CLOSED ... THANKS Quote Link to comment Share on other sites More sharing options...
DavidAM Posted October 3, 2009 Share Posted October 3, 2009 I'm not sure your solution will do what you expect. In FF 3.5.3 it only shows two columns. To make a third column which covers multiple rows, you add it to the first row like this: <table width="586" height="60" border="1" cellpadding="2" cellspacing="2"> <tr> <td width="273" height="20"> </td> <td width="142"> </td> <td width="120" rowspan="3"> </td><!-- ADD THIS CELL --> </tr> <tr> <td height="20"> </td> <td> </td> </tr> <tr> <td height="20"> </td> <td> </td> </tr> </table> the "rowspan" attribute causes the cell to cover the specified number of rows in the table. Then you do NOT include the <TD></TD> for that column in the following cells. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.