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.