I need help with picture at the top of page

Discussion in 'HTML & Website Design' started by klarkinphotos, Sep 30, 2009.

  1. #1
    hey guys i was wondering if there is some code that will re size the image at the top of my website to fit the screen of who ever goes to the site the site is here and the image is set at 1280 long so it works great on people with that resolution but others not so much, it just cuts the picture.
     
    klarkinphotos, Sep 30, 2009 IP
  2. ATLGuy16

    ATLGuy16 Peon

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You generally shouldn't make the header bigger than 1000pixels.
     
    ATLGuy16, Sep 30, 2009 IP
  3. klarkinphotos

    klarkinphotos Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    ok, ill take that into consideration,

    so there is no way to just have it fit all monitors?
     
    klarkinphotos, Sep 30, 2009 IP
  4. nichoLora

    nichoLora Peon

    Messages:
    67
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    The best is to make your website fluid to fit any resolution...meaning that you should control sizes (body, pictures etc) in percentage and not in pixels.
    So the css code would look like this:
    headerimg {
    height: 100%;
    width: 100%;
    }
     
    nichoLora, Sep 30, 2009 IP
  5. FreeCashTube

    FreeCashTube Peon

    Messages:
    378
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I agree with the above poster. Going fluid is your best options. You cant control your visitors monitors, however you can adjust your site to be a one size fits all....
     
    FreeCashTube, Sep 30, 2009 IP
  6. FreeCashTube

    FreeCashTube Peon

    Messages:
    378
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #6
    the picture can not be resized...its too large.....you need to resize it
     
    FreeCashTube, Sep 30, 2009 IP
  7. klarkinphotos

    klarkinphotos Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    GREAT thats the exact answer i was looking for, thank you very much!:D
    +rep!
     
    klarkinphotos, Sep 30, 2009 IP
  8. nichoLora

    nichoLora Peon

    Messages:
    67
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Glad i could help, klarkinphotos:)
     
    nichoLora, Sep 30, 2009 IP