polaric Posted June 3, 2011 Share Posted June 3, 2011 can somebody help me how to center and unstretch my web page in a higher resolution settings. i design my page in a 1024x 768. i need to load my page in a 1366x768 resolution please help me. .thanks Quote Link to comment https://forums.phpfreaks.com/topic/238293-centering-and-unstretching-of-web-page-in-widescreen-resolution/ Share on other sites More sharing options...
arbitter Posted June 3, 2011 Share Posted June 3, 2011 I do it like this: body { margin:0 0 0 0; } #main { width:1024px; margin:auto; } And in my html I just put eveything within the <div id='main'></div>. Quote Link to comment https://forums.phpfreaks.com/topic/238293-centering-and-unstretching-of-web-page-in-widescreen-resolution/#findComment-1224638 Share on other sites More sharing options...
polaric Posted June 4, 2011 Author Share Posted June 4, 2011 thnks. got it. Quote Link to comment https://forums.phpfreaks.com/topic/238293-centering-and-unstretching-of-web-page-in-widescreen-resolution/#findComment-1224966 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.