[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-16T03:42:22Z —
#2

yash1990singla said:

[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]

Please supply your URL so that we can look at your code and advise accordingly.

.

yash1990singla
—
2010-02-17T17:25:59Z —
#3

I have not hosted it yet, isnt there a general way to do this

AlexDawson
—
2010-02-20T05:08:00Z —
#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.