yash1990singla — 2010-02-15T11:33:52-05:00 — #1
[B]I have made a website using a picture as background, and the resolution i worked in was 800 * 600.. Now i want my pages to be automatically adjusted or stretched as per the screen resolution...
Also i am making another website, so plz tell me the best way to make it optimized for all browsers and resolutions[/B]
john_betong — 2010-02-15T22:42:22-05:00 — #2
Please supply your URL so that we can look at your code and advise accordingly.
yash1990singla — 2010-02-17T12:25:59-05:00 — #3
I have not hosted it yet, isnt there a general way to do this
alexdawson — 2010-02-20T00:08:00-05:00 — #4
Have the image in a IMG element (within the HTML), use absolute positioning to tie it to the top & left hand side, set width and height as 100% and use z-index to ensure all other content and elements are placed over the top (rather than under it). It's the cleanest way and it'll give you the scaling effect you want.
See this link for an example: http://www.ringvemedia.com/