Graphic causing windows stretch.

M

Mike Klick

Ok, I know a graphic (a simple color gradient) in a cell is causing my site
to give a scroll bar at the bottom. (On initial load it does not, refresh
and it does.)

Am I suppose to design a graphic that handles each browser width? All I see
are two options. Normal and low res.

The graphic is a color gradient that I can stretch or shrink as much as I
want.

Mike
 
R

Ronx

If this is a background image you have four choices:

1) Make the image small enough to fit the smallest browser window expected,
and allow it to tile across wider windows.

2) Make the image big enough to fit the widest browser window expected
(design for 1600x1200) and allow it to be cut off in smaller windows.

3) Make an image for each and every possible browser size (mine is currently
890x700 window in a 1280x1024 screen. I *never* have the browser at full
screen.)

4) Make the image a cell background in a fixed width table, and place all
your page content into that cell. This will leave a margin around the
table.

If the image is not a background, 3 above applies. You could also try
setting the width of a wide image to 100% (setting the height to a %ge may
not work as expected) and see if the contortions are acceptable.

Bur remember, it's browser window width that determines the image size, not
screen resolution.

And allow for browser sidebars as well.
 

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