babarmughal Posted December 25, 2003 Share Posted December 25, 2003 HI , How can i display the web site in fixed 800x600 and in the center of the web page regardless of the resolution of monitor...... Thanks... Babar Link to comment Share on other sites More sharing options...
berkedam Posted December 25, 2003 Share Posted December 25, 2003 On a screen of 640x480 that will be impossible ;) "If you're working on something new, then you are necessarily an amateur." Link to comment Share on other sites More sharing options...
babarmughal Posted December 25, 2003 Author Share Posted December 25, 2003 yes ofcourse but now a days people are using 800x600 min. ....i want to display my website in the center of the browser....because my banner is just 800 pixels wide.....what do i do ..... Thanks babar Link to comment Share on other sites More sharing options...
paulm2003 Posted December 25, 2003 Share Posted December 25, 2003 You could edit the files like this: 1) add text-align center (needed for some I.E. versions, centering bug) to the body <body style="text-align: center;"> 2) centering for most browsers (without center bug), setting width and restore the text alignment add a div wrapper around all pages <div style="margin: 5px auto; width: 800px; text-align: left;"> all osC HTML code here </div> You have to do this for all catalog files (exept the stylesheet of course), if you installed the BTS (or also STS?), one file (templates/main_page.tpl.php) will do the trick. Actually the BTS uses a fixed width centered template by default. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.