Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Name: Qasim Ali
Hi, Guys!
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
http://rapidshare.com/files/2462210...MSN on 1024*768
http://rapidshare.com/files/2462215...MSN on 1152*864
http://rapidshare.com/files/2462223...
Regards,Qasim Ali.
http://pakprobs.blogspot.com
http://qaswallpapers.sitesled.com

What you could use is css with your html. If you use css then you can use <div> to define an area. so in css instead of using say width: 800px you would say Width:100%
This way it will fill 100% of the screen instead of just 800px.
I would take a look at css as it's the easiest way to go.
Learn about css here

Hi, jgalty!
Is it called Liquid Layout of CSS too that you are telling me? Because a friend told me it sounds like a liquid layout.
Regards,
Qasim Ali.

![]() |
internet error
|
Should Be Simple For You ...
|
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |