Website resolution help

Discussion in 'HTML & Website Design' started by DNBro, Apr 7, 2010.

  1. #1
    Need some help on setting webpage’s different resolutions? I have made all my sites on 800 by 600 screen resolution, now changed the setting to 1024 by 768 pixels then noted that the all pages are showing on left corner of the window. But after doing a search found some options like building site on 800 by 600 pixels with extra space on both side to fit 1024 by 768 pixels screen too.

    There is any other a suggestion or easy solutions available other than these methods. I’m using simple html for all site.

    Support appreciated.

    Thanks
     
    DNBro, Apr 7, 2010 IP
  2. hunterman9

    hunterman9 Member

    Messages:
    86
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #2
    One of the easiest ways to center your layout is too add a margin style to your body tag.

    <body style="margin: 0 auto 0 auto">
    Code (markup):
    Basically your are saying give my whole page a margin of 0 pixels on the top and bottom, then adjust left and right to fit the screen.
     
    hunterman9, Apr 7, 2010 IP
  3. Mikesloug

    Mikesloug Guest

    Messages:
    150
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes,I agree that auto is best solution .I think your web page display in center of the explorer other user not like your site design.
     
    Mikesloug, Apr 8, 2010 IP
  4. canadianguy_001

    canadianguy_001 Peon

    Messages:
    97
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Could you not just re-jig the template design to accommodate 1024 ?
     
    canadianguy_001, Apr 8, 2010 IP
  5. extreamidea

    extreamidea Active Member

    Messages:
    92
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #5
    well above solution fits for xhtml but for simple site done in table form you can just center align it or els you can also give 100% width size to fit on all resolution
     
    extreamidea, Apr 8, 2010 IP