| Author |
how to correctly align two tables?
|
rick collette
Ranch Hand
Joined: Mar 22, 2002
Posts: 208
|
|
Hi, If I have two tables. One table contains a textbox, dropdowns, etc, for search; another table will display search results. I want to display these two tables cleanly, I want search table occupy 20% of browser space, and results table occupy 80% of browser space. How can I do it? If I do something like the following: <tr> <td> <table width="20%"> search criteria here... </table> </td> <td> <table width="80%"> results here... </table> </td> The first table will occupy normal browser space, second table occupies the same space as the first does, this makes browser space doubled and ugly. thanks,
|
 |
Nathaniel Stoddard
Ranch Hand
Joined: May 29, 2003
Posts: 1258
|
|
Try this:
|
Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
I recommend that you use CSS for a two column layout. This should help: http://realworldstyle.com/2col.html Eric
|
 |
 |
|
|
subject: how to correctly align two tables?
|
|
|