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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help with columns in tables

Status
Not open for further replies.

DataSpy

Technical User
Nov 15, 2002
39
0
0
US
Basically I've divided a table cell into two parts A & B I would like to do the same to C but cannot figure out how. Any help would be greatly appretiated, thanx in advance!

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
 <head>
  <title>Untitled</title>
 </head>
<body>
<table border="1" bordercolor="#000000" cellspacing="0" cellpadding="0" width="100%" height="100%">
 <tr height="15%">
     <td>
     &nbsp;
     </td>
     <td colspan="3">
     &nbsp;
     </td>
 </tr>
 <tr>
     <td rowspan="2">
     &nbsp; 
     </td>
     <td>
     A
     </td>
     <td rowspan="2">
     C
     </td>
     <td rowspan="2">
     D
     </td>
 </tr>
 <tr>
     <td>
     B
     </td>
 </tr>
 <tr>
     <td colspan="4">
     &nbsp;
     </td>
 </tr>
 <tr>
     <td colspan="4">
     &nbsp;
     </td>
 </tr>
 <tr>
     <td colspan="4">
     &nbsp;
     </td>
 </tr>
</table>
</body>
 </html>
 
I must admit I was quite confused with what you exactly want, but I do believe it is something like this?
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
 <head>
  <title>Untitled</title>
 </head>
<body>
<table border="1" bordercolor="#000000" cellspacing="0" cellpadding="0" width="100%" height="100%">
 <tr height="15%">
     <td>
     &nbsp;
     </td>
     <td colspan="3">
     &nbsp;
     </td>
 </tr>
 <tr>
     <td rowspan="2">
     &nbsp;
     </td>
     <td>
     A
     </td>
     <td>
     C
     </td>
 </tr>
 <tr>
     <td>
     B
     </td>
     <td>
     D
     </td>
 </tr>
 <tr>
     <td colspan="4">
     &nbsp;
     </td>
 </tr>
 <tr>
     <td colspan="4">
     &nbsp;
     </td>
 </tr>
 <tr>
     <td colspan="4">
     &nbsp;
     </td>
 </tr>
</table>
</body>
</html>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top