Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 6 of 6

Thread: Image Sizing?

  1. #1
    Junior Member
    Join Date
    Nov 2003
    Posts
    10
    Member #
    3789
    Is there a way to make an image on a page display in even proportion to the page, regardless of the screen resolution that the user has set on their monitor?

    I have an index page with one image, and with 1024 x 768 it looks too small, and 800 x 600 it's too big. How can i get it to fill the page regardless of resolution?

    Newbie

  2.  

  3. #2
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    <img src="xyz.gif" width="100%" height="100%">

    or derivations thereof... your image will look like crap, though, because it will have distorted proportions and be poorly anti-aliased.

  4. #3
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    It probably won't be antialiased at all, for that matter...
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  5. #4
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    JR

  6. #5
    Junior Member
    Join Date
    Nov 2003
    Posts
    10
    Member #
    3789
    transio, thanx for the HTML code, it worked but the image looked pretty bad.

    JR, your tutorial looks pretty good, I will read it later.

    Cheers,

    Newbie.

  7. #6
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    Originally posted by newbie me
    it worked but the image looked pretty bad.
    I told you it would!


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 04:36 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com