On 7/23/2008 11:01 AM, Louis wrote:
Quote:
Hello,
>
My website is 910 pixels wide. The content area is 552 pixels wide. If
I place a picture in the content area that is wider than 552 pixels my
site becomes wider than 910 pixels. I do not want this.
>
If the picture is too wide it should be displayed smaller or truncated
at the right side or anything.
>
Is there a standard solution for this that is reasonable backwards
compatible? I am using tables with a CSS sheet. I prefer the solution
to be in CSS.
>
I appreciate the help. Usually I try to find things out by myself, but
I do not know where to look for a solution for this one.
>
Take care,
Louis.
The "standard solution" is to avoid assuming that someone else's browser
window is any particular width or that their screen resolution is the
same as yours.
Why do you have a page that is 910 pixels wide? Although my monitor,
drivers, and video card can support a screen resolution of 1280x1024, my
eyes work best with 800x600. Furthermore, I keep a toolbar on the right
side of my screen, which means that a maximized browser window is still
less than the full width of my screen. 910 pixels might prevent viewing
with some portable devices (e.g., cell phones). It certainly will
require very annoying horizontal scrolling for those who do not maximize
their browser window.
--
David E. Ross
<http://www.rossde.com/>.
Q: What's a President Bush cocktail?
A: Business on the rocks.