PDA

View Full Version : Automatic adjustment for various screen sizes


Suddaan
08-23-2002, 11:57 PM
I am really new to the whole web design thing. But I have noticed that on other websites, the pages automatically adjust to fit on one screen depending on the users Screen resolution.
How can I make that happen. with my site

Also someone said in another post that they could lend a hand to the graphically challenged, that would be me. I am trying to create a scuba tank that is sort of like the attached file but in blue. Any help would be greatly appreciated

Thank you

Randy

thickandthin
08-24-2002, 12:55 AM
This belongs the <head> part of the page:
This is a redirection There is no way that it can change automaticly

<SCRIPT language="JavaScript">
<!--
if ((screen.width>=1024) && (screen.height>=768))
{
window.location="big.html";
}
else
{
window.location="small.html";
}
//-->
</SCRIPT>

thickandthin
08-24-2002, 01:06 AM
This goes in the <head> part of the page


<SCRIPT language="JavaScript">
<!--
if ((screen.width>=1024) && (screen.height>=768))
{
window.location="big page.html";
}
else
{
window.location="small page.html";
}
//-->
</SCRIPT>

thickandthin
08-24-2002, 02:10 AM
Heres the scuba tank in blue hope this helps

Suddaan
08-24-2002, 02:11 AM
WOW now that was quick, I wish that one day I will be able to do that.


Thanks much