Register  |  Login

Question Details    

   Question

Time: 10:12 - Oct 05, 2006     Asked by: john2      Status: Answered      Points: 125   

How do I get a cell to fill the remainder of a width percentage in HTML tables?

I want to create a table in html with two cells. The first cell needs to be 430 pixels in width, but then I need the next cell to fill the rest of the screen and scale to 100% of whatever is left. How is this accomplished?

Ask a New Question

Become a Quomon Expert

Current Categories

 

Similar Questions


   

Answer Discussion
Answer Discussion
Answer Summaries
Answer Summary
 
Hi John, this would be my solution:

Create a table with width 100%.
Within that table create two cells, the first with width 430px and the other without specification of width.
This works for me in IE 6 and FF 1.5

<table style="width: 100%">
 <tr>
  <td style="width: 430px">
   1
  </td>
  <td>
   2
  </td>
 </tr>
</table>

Jakob

Expert:

jgivoni

Date:

Oct 05, 2006

Time:

14:18

 

Votes: Good (0) | Bad (0)
Login to rate this answer

Works like a charm. Thanks Jakob.

Expert:

john2

Date:

Oct 05, 2006

Time:

14:30

 

Votes: Good (0) | Bad (0)
Login to rate this answer

Question Answered

This question has been answered, and points have been rewarded to the following experts:

jgivoni: 125

You're welcome however to comment or give additional information or if you wish, you have the ability to write an Answer Summary for this question by clicking on the "Answer Summaries" Tab.

 
No summaries have been submitted yet. Want to be the first?



Respond to this question:

New User

  Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:


Forgotten Password

 

New User

  Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:


Forgotten Password
   

"Psst, Quomon is a great site. Pass it on."     Tell a Friend  |   Link To Us  |   Save to Delicious  |   Digg! Digg it


All Questions


Language Options

English:

www.quomon.com

Español:

www.quomon.es

Sponsors

Questions and Answers Software
Real Estate Postcards
Marketing Fulfillment