Auto resize window content?

R

RWParrot

I have a page with text/pictures ect on them, The page looks great with the
window max. but some content is lost if I make the window smaller than max.
How do I make the page adjust the content to look the same regardless of the
size of the browser window?
 
K

Kevin Spencer

Have you ever seen one that does? If so, point it out to us. The problem
here is that dynamically sizing the content in a browser window is an art
that is difficult at best.

For example, let's say you have a table with 2 columns in it. Each column
has an image that is 300X200 pixels wide. This means that to display the
images at full size, the windows has to be at least 600 pixels wide. So,
what to do if the window is resized smaller than this? You can use
JavaScript to shrink the size of the images proportionally, but how much do
you want to be able to shrink them? After all, at a certain point they will
become illegible. How d you determine that point? On the other hand, you may
have several divs (layers) with images in them. Do you want them to shrink,
overlap, or what? And again, what is the cutoff point? Also, you would have
to determine what to do about the relative locations and space between
objects, which also shrinks as the window shrinks. And what about text? Text
will do all kinds of weird things, like wrapping in different places when it
outgrows its container. And you can't make text very small at all before it
is illegible.

I would suggest you take a tour of a number of professional web sites and
see how they handle the issue. If you find one you like, you can rip off
their technique, if you understand JavaScript and CSS well enough.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Chicken Salad Alchemist

Big thicks are made up of lots of little thins.
 
R

RWParrot

Lets take this page for exapmle, in the frame that displays the content of
the post if I click the maximize button I see the very same amount of content
as if the browser is at the default size and vice-versa.
 
A

Andrew Murray

What page is "this page" ?

I'm not using the web interface for this newsgroup I use Outlook Express, so
I don't know what you're referring to.
 
A

Andrew Murray

I get a "Page Not Found" by following that link - do you have to signon
through MSPassport or something?
 
B

Bob Lehmann

It uses tables, with the table and cell widths set as percentages.

Bob Lehmann
 
Top