Re: Graphic causing windows stretch.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Ronx (ronx917_at_hotmail.com)
Date: 11/26/04


Date: Fri, 26 Nov 2004 17:44:48 -0000

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.

-- 
Ron Symonds   (Microsoft MVP - FrontPage)
Reply only to group - emails will be deleted unread.
"Mike Klick" <mike@grayce.net> wrote in message 
news:O9yfUd90EHA.2316@TK2MSFTNGP15.phx.gbl...
> 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
> 


Relevant Pages

  • Re: 800x600
    ... >> larger browser window and a lot of the space is then blank. ... > display your page. ... Size), images cannot. ...
    (uk.net.web.authoring)
  • Re: Secure WebDAV - ending connection
    ... The HTTP connection is dropped from the client end when all browser windows ... > browser window with the secure web site address brings up the logon dialog ...
    (microsoft.public.inetserver.iis.security)
  • Re: Browser Contents to Picture
    ... it is possible to get around that problem by using exactly the same method on the Browser control itself instead of on the Form. ... Firstly, this method does not require the WebBrowser to be actually visible on the display and secondly you can copy the entire Browser window, including the parts that you would normally need to scroll to see when the window is taller than the display. ... Private Declare Function SendMessage Lib "user32" Alias _ ... Dim myWindow As Long, childWindow As Long ...
    (microsoft.public.vb.general.discussion)
  • Re: Gone in 2 minutes: Mac gets hacked first in contest
    ... As for how to protect yourself, ... You should check frequently for updates to the browser you're using, ... shown at the bottom of your web browser window. ...
    (comp.sys.mac.system)
  • Re: Hyperlinks and various browsers
    ... and when the cursor moves away from the hyperlink it changes back to ... The following browsers do not handle hyperlinks normally, i.e. the cursor ... If the browser window is active, the cursor changes when I mouseover a hyperlink. ...
    (comp.sys.mac.hardware.misc)