Forum Moderators: open

Message Too Old, No Replies

Making the website work for 800 x 600 and 1024 x728

making website work with multiple screen resolution

         

ganrel12

7:11 am on May 30, 2006 (gmt 0)

10+ Year Member




What is the best way of making my website work with a width of 800 and 1024? I would appreciate some sample code, if possible

Thanks

snair

7:59 am on May 30, 2006 (gmt 0)

10+ Year Member



I think the best way would be to do everything in percentages. That way you won’t have to worry about the actual width of the browser.

The other (more work) method would be to create 2 designs, one for 800x600 and another for 1024x728 and use javascript to detect the size of the viewport and call up the appropriate style sheet.