I have seen that websites automatically detect Screen Resolution of PC. I mean they look same on 800*600, 1024*765 and 1152*864.
Here is an Example of MSN.com. When I open this on 800*600, it automatically adjust its size because Screen Resolution is smaller than the Website size. When I open it on 1024*765, it normally fit on this size because Website's actual size is 1024*765. But When I open MSN on 1152*864, then Screen Resolution size become bigger than Website size but Website automatically detects Screen Resolution and leave equal spaces of its left and right side and looks pretty fit on the screen.
So My question is, how Website automatically detect 1152*864 screen resolution and make itself fit on screen? If it's a coding then I request you to tell me. I make Website on HTML and write coding only. I never use any software like Dream Weaver.
If you couldn't understand then see photos that I have uploaded on Rapid Share.
MSN on 800*600
MSN on 1024*768
MSN on 1152*864