Stop a table filling the entire width of browser window

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.
 
S

Stefan B Rusynko

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.
|
|
 
R

Ronx

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top