[solved] how to make page to fit in resolution 800 by 600 px??

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
nepsguy
Forum Members
Forum Members
Posts: 17
Joined: Mon Jan 07, 2008 8:44 am

[solved] how to make page to fit in resolution 800 by 600 px??

Post by nepsguy »

I dont want auto screen fit for my page. i want only in resolution 800 by 600 px? How to make it??
Last edited by nepsguy on Thu Feb 07, 2008 6:44 am, edited 1 time in total.
hexdj
Power Poster
Power Poster
Posts: 415
Joined: Sat Mar 24, 2007 8:28 am

Re: how to make page to fit in resolution 800 by 600 px??

Post by hexdj »

You only need to give it a fixed width, the height I wouldn't recommend to fix it because lots of people install toolbars and all kinds of crap so the height varies from browser to browser and user to user, but basically all you need to have it fixed for 800 is give it a width of 770px. That's all.
hinti
Forum Members
Forum Members
Posts: 30
Joined: Wed Feb 08, 2006 2:00 pm

Re: how to make page to fit in resolution 800 by 600 px??

Post by hinti »

In your Layout Stylesheet

Code: Select all

/* center wrapper, min max width */
div#pagewrapper {
   border: 0px solid black;
   margin: 0 auto;     /* this centers wrapper */
   width: 800px;
   height: 600px;
   padding-top: 15px;
or with min-height min-width or max-height max-width
nepsguy
Forum Members
Forum Members
Posts: 17
Joined: Mon Jan 07, 2008 8:44 am

Re: [solved] how to make page to fit in resolution 800 by 600 px??

Post by nepsguy »

thank you very much for the information.
Post Reply

Return to “Layout and Design (CSS & HTML)”