Screen resolution?

Hi guys,

I have gived height, width, top all properties in Pixels. When I designed this web site, my PC scren resolution was 1024 X 768. But when I see on 800 X 600, the web site looses it's actual position. It moves towards right side of the screen and pics on the right cuts.
What shall I do? I have two options in mind.

1: To define all properties in %age instead of px, so that it will always take that particular % of the screen resolution.

2: To write Javascript, which first detects the user's screen resolutions and then selects which resolution web site should be displayed.

I am not sure about the later one, but I hope JS can detect the screen resolution.

Bye,
Viki.Could you please post your css code? It would really help a lot.
 
Back
Top