HTML Tables, How can I...

Winchester

Diamond Member
Jan 21, 2003
4,965
0
0
How can I make my table to shrink from all sides, rather than just from the right when viewing in different resolutions?
I have tried the 100% (w) x 100% (h), but when you shrink the window, only the right side shrinks down.

I want the whole thing to shrink, so that if it goes from 1024x768 to 800x600 it will respectively be the same size, (i dont want to scroll to the right to view the rest of the page)

Or heck, can I lock the "outer" size of the table at 800x600.

Im trying to avoid using photoshop and imageready to make an (image) of the page, so that it can easily be modified by any text editor.
 

joinT

Lifer
Jan 19, 2001
11,172
0
0
height=100% is an incompletely (at best) added feature.. I can't remember it might not even be WC3 rated.

The problem is - when you shrink the width (from 1024 to 800) your content will get longer height wise.
I would suggest 1 of 2 things.
#1. Just use width=100%, at least your user will never have to scroll sideways. And your content will always be fluid
#2. You could use CSS and make a layer with it's own scrollbar. Again it can be fluid width-wise, but not height-wise.

If you paste your HTML, I can take a look.