Jump to content

3-c-table


egturnkey

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.