It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming HTML Forum

HTML table problem

HTML table problem

Postby Anil on Tue Jul 29, 2008 6:04 am

Hi,

I have 2 tables
<table>
</table>
<table>
</table>

Problem:
when the content in second table increases,
the first table is not expanding proportionately to increase in second table.

Could anyone help me in this regard ?
Anil
 
Posts: 0
Joined: Tue Jul 29, 2008 5:57 am

Postby DDragon on Tue Jul 29, 2008 10:52 am

you will have to give more info on this one mate. not much to go on there.

DD
DDragon
50+ Club
 
Posts: 93
Joined: Wed Jun 20, 2007 12:51 am
Location: Australia

Postby dflynn on Tue Jul 29, 2008 6:54 pm

well you see, this is because you are closing the table (at least in the example above). so the second table isn't being wrapped. it's just two tables...

if you are using this for design purposes, you should be using divs.

Other than that the code should be:
Code: Select all
<table>
<tr>
<td>
    <table>
    <tr>
    <td>
    </td>
    </tr>
    </table>
</td>
</tr>
</table>
User avatar
dflynn
500+ Club
 
Posts: 860
Joined: Wed Oct 03, 2007 9:06 pm
Location: Guelph, Canada

Postby chubzyko on Thu Jul 31, 2008 10:18 pm

or

<table>
<tr>
<td>
</td>
</tr>
</table>

<table>
<tr>
<td>
</td>
</tr>
</table>
"Failure is the key to success, so try and try until you succeed."
User avatar
chubzyko
100+ Club
 
Posts: 104
Joined: Wed Jul 30, 2008 10:48 pm
Location: Marikina City, Philippines


Who is online

Users browsing this forum: No registered users and 7 guests