Code For Expanding Width on any screen resolution ?

Discussion in 'HTML & Website Design' started by warman2442, Dec 5, 2007.

  1. #1
    Hello

    I totally forget the code to make a banner have a width that makes it fit on any size of the page, resolution , etc. Instead of width="728", its width="?????"..

    Can anyone post the code that would be cool, cant find on google and im having a brain fart.

    Thanks

    Tyler
     
    warman2442, Dec 5, 2007 IP
  2. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #2
    the answer to your question is 100% or any other % that works.

    The problem is the quality will be reduced as the image is stretched.
     
    Colbyt, Dec 5, 2007 IP
  3. warman2442

    warman2442 Active Member

    Messages:
    1,779
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    98
    #3
    Well im going to make it so it auto detects somehow the resolution and puts the appropriate logo

    And also does 1024X768 fit most resolutions, or at least look ok? Such as the 1280X768 and 800X600 resolutions?

    Thx

    Tyler
     
    warman2442, Dec 5, 2007 IP
  4. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #4
    1024X768 was the defacto standard the last time I checked. Meaning that is the most common current setting for most users.

    Since that is all I run at, I cant say how it would look at a higher one.
     
    Colbyt, Dec 5, 2007 IP