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
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.
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.
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