Code to fix screen resolution

Discussion in 'HTML & Website Design' started by sandesh111, Oct 7, 2009.

  1. #1
    I have a website but there is a problem in the display of the website. When the website is viewed in the large resolution then it looks unmanaged. Please help me, do you have the code to fix that error?
     
    sandesh111, Oct 7, 2009 IP
  2. MhW

    MhW Active Member

    Messages:
    370
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    85
    #2
    Any chance of a live demo, or the source code? :)
     
    MhW, Oct 7, 2009 IP
  3. goliath

    goliath Active Member

    Messages:
    308
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    60
    #3
    You need to apply a fixed width or at least a max-width to the block-level eleents on your page.

    The width you choose will be up to you.

    Try adding this to your stylesheet : body ( max-width:960px; )

    You will probably like the results better if you apply it to each eleent that needs it instead of just the body.
     
    goliath, Oct 8, 2009 IP
  4. sandesh111

    sandesh111 Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    thank you, I will try.
     
    sandesh111, Oct 8, 2009 IP
  5. tobykw13

    tobykw13 Peon

    Messages:
    41
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    as far as overall sizing, there are two options: fixed width or 100%. If you are comfortable enough with CSS creating a site that can resize dynamically based on screen resolution, but as you can see with most websites, its not a standardized practice. Try fixing the width of your site and work within those parameters.
     
    tobykw13, Oct 8, 2009 IP