PDA

View Full Version : Screen Resolution


realitysays
22nd of April 2009 (Wed), 03:10
I'm sure this is a quick fix and i know this is probably a STUPID question, but i'm sure a few people want to know.

When designing a website in Adobe Dreamweaver CS3, i have already created some of it, when view at home on my 22" monitor its fine. So i therefore assume it is set to display at 1680x xxxx.
I wish to change this to 1024x768 to suit everyone and so that all the content stays CENTRED. Is there a way to do this as a quick(ish) fix or do i have to rebuild it all on a set resolution page?.
This goes for when you reduce the size of your browser (Restore down) it goes all wonky and pear shaped.

Thanks for reading and thanks for any help!

tracknut
22nd of April 2009 (Wed), 18:01
To center a fixed width site, the typical method is to have a wrapper div around all your contents.

CSS:
#wrapper {margin:0 auto; width:800px}

HTML:
<div id="wrapper">
.... rest of page here
</div>

There is no guarantee as to whether this is a simple fix for your site, it completely depends on how the "... rest of page here" has been laid out.

Dave

DerekSimon
22nd of April 2009 (Wed), 18:09
I agree with you Dave that should fix it, but I would seriously be amazed it if will fix the page layout.