QUOTE(bridgeuk @ 27 Oct, 2009 - 10:32 AM)

Hi guys,
I know this is a really easy question but when depending on what computer I load my website up on the size of the overall site changes (due to the layout & pixels) what is the best way to design my website so that it fits all screen perfectly? Is there a piece is code I can use in my .css document?
Thanks
I can think of 3 answers:
1. You design for the smallest common resolution, and use fixed widths the only problem is that on a huge screen (like an iMac) you get a lot extra empty space.
2. You design with percentages (like 50% of the screen). The only prob is on a large screen, it'll stretch out and and might look bad.
3. If you know javascript, you can detect the users screen resolution. Once you have that, you could make it that they see pages optimized for there screens
http://www.pageresource.com/jscript/jscreen.htmHope i helped