How do I stop tables from resizing in html? See details please -->?

I want to create a table that fills up the entire page. However I do not want the table to resize when someone makes the window smaller. Example: <table width=100%> <tr height=50px;><td><img src="something.jpg" /></td><td>This is alot of text</td></tr> </table> I do not want information in the second cell to make the entire row increase in height when someone makes the window smaller. The text becomes verticle as this happens. Is there a way to prevent this?

Public Comments

  1. Use CSS to set the table and cell sizes.
  2. the tags width=100% means that the width is the fullest allowed size.... there for it will change when you resize the browser. to sto that put in the exact value of pixels(instead of percent) Example: <object width="425" height="350">
  3. Nest a new table inside the primary table with more specific dimensions for width and height. ie: <table width=100%> <tr><td><table width=125px><tr><td><img src=../blah/whateverimage> </td></tr> </table> </td></tr> </table> Or assign layers...
Powered by Yahoo! Answers