Stop a table filling the entire width of browser window

  • Thread starter Thread starter Jane Here
  • Start date Start date
J

Jane Here

I used a table to layout my page. However, when I run it, it makes the table
bigger than I designed and it fills the entire width of the browser.

Can I tell it to go no wider than the original width?
Note: it should be allowed to go smaller if the user narrows the explorer
window.
 
If you built the table in % width it will resize based on the browser window
- change it to fixed px width

--




| I used a table to layout my page. However, when I run it, it makes the table
| bigger than I designed and it fills the entire width of the browser.
|
| Can I tell it to go no wider than the original width?
| Note: it should be allowed to go smaller if the user narrows the explorer
| window.
|
|
 
You can only specify a minimum width for a table, not a maximum width.
If you use fixed pixel width, the table will not shrink when the browser
window is made smaller. If you use a percentage width, the table will grow
with the browser window.
If you don't use any width setting at all, the table width is determined by
a combination of the browser (Netscape and IE will interpret things
differently), browser width and the table contents. You have no real
control at all, but this may be the better option.

Ron
 
Back
Top