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 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>. 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. 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
Archived
This topic is now archived and is closed to further replies.