I have created this webpage when i open it onn my pc its right size. When I opened it at school to was to big. It has different screen resolution. How can i have to be small to fit on every screen. Like a someking of java script.
Update:Here is the direct link
http://singhgagand.brinkster.net/intro7.html
Copyright © 2024 Q2A.MX - All rights reserved.
Answers & Comments
Verified answer
you really cant because people set the screen resolution to what they like . thats why some site will put a caption best viewed at
my site for example
http://lesyounkin.bravehost.com/
There is no easy way to do it, normally just create you page at the lowest res commonly in use, 800x600 and you will be safe.That is why sites such as yahoo have so much 'white space' on it
Put the same code for sizing an image in between the "head" tags.
window.screen.height and window.screen.width will give you the screen height and width in pixels. The availWidth and availHeight properties of the screen object will give you the res minus the Windows taskbar.
BTW, you don't have much contrast on your menu items when they're not selected, it's black on black.
if you can edit the "view source" selection, you can change the resolution there, or you could edit it on Microsoft Fireworks