Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Table Problem

Status
Not open for further replies.

testare

Programmer
Jan 21, 2005
127
I would like to have a table like this.


I have tried and the best result that i can get is this.

As you se the third table has to get up a bit.

Code:
<table width="608" height="286" border="1">
  <tr>
  <td width="650" height="267" valign="top">
      <table width="100%" border="1">
  <tr>
  <td>&nbsp;</td>
  </tr>
  </table>
  <table width="171" border="1" align="left">
  <tr> 
  <td>&nbsp;</td>
  </tr>
  </table>
  <table width="255" border="1">
  <tr>
  <td width="245">&nbsp;</td>
  </tr>
  </table>
  <table width="167" border="1" align="right" >
  <tr> 
  <td width="157">&nbsp;</td>
  </tr>
  </table> </td>
  </tr>
</table>

Appriciate all the help that i get
 
How about:
Code:
<table>
 <tr>
  <td colspan="3">&nbsp;</td>
 </tr>
 <tr>
  <td>&nbsp;</td>
  <td>&nbsp;</td>
  <td>&nbsp;</td>
 </tr>
</table>
 
I would like to have 1 table and in it 3 tables?

Regards Testare
 
Sheesh. While I am completely baffled as to why you want such a thing, how about this then:
Code:
<table>
 <tr>
  <td colspan="3">&nbsp;</td>
 </tr>
 <tr>
  <td>
   <table>
    <tr>
     <td>One</td>
    </tr>
   </table>
  </td>
  <td>
   <table>
    <tr>
     <td>Two</td>
    </tr>
   </table>
  </td>
  <td>
   <table>
    <tr>
     <td>Three</td>
    </tr>
   </table>
  </td>
 </tr>
</table>
Again, why do you want to do this is beyond me. Sometimes it is better to tell us how to get some kind of effect than to decide how you want to do it and stick to it. Today, there is a myriad of better options to produce the picture you gave us.
 
To be honest, testare,
Vragabond's first suggestion would be the best way to do this, with some widths.

eg

Code:
<center><div style="width:645">
<table border="1" width=100%>
 <tr>
  <td colspan="3">&nbsp;</td>
 </tr>
 <tr>
  <td width=25%>&nbsp;</td>
  <td width=50%>&nbsp;</td>
  <td width=25%>&nbsp;</td>
 </tr>
<tr>
<td colspan="3"><br><br><br><center>text</center><br><br><br></td>
</table>
</div>
<center>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top