botanic
27 Jan 2007, 05:03 AM
Whenever i open my page all the scaling values are not there in safari like the images and such... is there any way to make it so that if the browser is safari the values become pixels or something?
the code is
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Index</title>
<script type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body style="color: rgb(102, 204, 255); background-color: rgb(0, 0, 0);"
alink="red" link="red" vlink="#cc33cc">
<div align="center">
<table style="text-align: left; height: 5%; width: 100%;" border="0"
cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="width: 12%; height: 12%; vertical-align: top;"><a
href="http://class-osx-04.class.csupomona.edu/mplagoe/index.html"
onmouseout="MM_swapImgRestore()"
onmouseover="MM_swapImage('Go Home','','homered.jpg',1)"><img
src="home.gif" alt="Go Home" name="Go Home" id="Go Home"
style="border: 0px solid ; width: 100%; height: 50%;"></a> </td>
<td
style="background-color: rgb(0, 0, 0); width: 50%; height: 50%; vertical-align: top;"><object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
title="banner" height="30%" width="100%"> <param name="movie"
value="http://class-osx-04.class.csupomona.edu/mplagoe/banner.swf"> <param
name="quality" value="high">
<embed
src="http://class-osx-04.class.csupomona.edu/mplagoe/banner.swf"
quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" height="48%" width="100%"></object>
<br>
</td>
<td style="width: 12%; height: 12%; vertical-align: top;">The
best way to view this webpage is
<script type="text/javascript"><!--
google_ad_client = "pub-0443243849668014";
google_ad_output = "textlink";
google_ad_format = "ref_text";
google_cpa_choice = "CAAQzcLH7QEaCD_4BVTjvVryKLGsuIEB";
google_ad_channel = "";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br>
<br>
</td>
</tr>
</tbody>
</table>
<br>
</div>
<div
style="height: 100%; margin-left: 0px; position: relative; width: 100%; z-index: 15;"
id="footer_layer">
<table style="width: 100%; text-align: center;" border="0"
cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="width: 3%; vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><a
href="http://class-osx-04.class.csupomona.edu/mplagoe/intro.html"><img
alt="INTRO"
src="http://class-osx-04.class.csupomona.edu/mplagoe/INTRO1"
style="border: 0px solid ; width: 100%; height: 100%;"></a><br>
</td>
<td style="width: 10%; vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><a
href="http://class-osx-04.class.csupomona.edu/mplagoe/projects.html"><img
alt="PROJECTS"
src="http://class-osx-04.class.csupomona.edu/mplagoe/PROJECTS1"
style="border: 0px solid ; width: 100%; height: 100%;"></a> </td>
<td style="width: 10%; vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><a
href="http://class-osx-04.class.csupomona.edu/mplagoe/random.html"><img
alt="STUFF"
src="http://class-osx-04.class.csupomona.edu/mplagoe/RANDOM1"
style="border: 0px solid ; width: 100%; height: 100%;"></a></td>
<td style="width: 10%; vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><a
href="http://class-osx-04.class.csupomona.edu/mplagoe/aboutme.html"><img
alt="ABOUT ME"
src="http://class-osx-04.class.csupomona.edu/mplagoe/ABOUT1"
style="border: 0px solid ; width: 100%; height: 100%;"></a></td>
<td style="width: 10%; vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><a
href="mailto:cyberempires@gmail.com"> <img alt="CONTACT"
src="http://class-osx-04.class.csupomona.edu/mplagoe/CONTACT1"
style="border: 0px solid ; width: 100%; height: 100%;"></a></td>
<td style="width: 3%; vertical-align: top;"><br>
</td>
</tr>
</tbody>
</table>
<br>
<br>
<table
style="height: 0.1%; margin-left: auto; margin-right: 0px; width: 35%; text-align: left;"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"> To view my projects just click
on the name in the player.<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="height: 10%; margin-left: auto; margin-right: 0px; width: 35%; text-align: left;"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"
height="100%" width="100%"> <param name="allowScriptAccess"
value="sameDomain"> <param name="movie"
value="http://class-osx-04.class.csupomona.edu/mplagoe/xspf_player.swf">
<param name="quality" value="high"> <param name="bgcolor"
value="#E6E6E6">
<embed
src="http://class-osx-04.class.csupomona.edu/mplagoe/xspf_player.swf?playlist_url=http://class-osx-04.class.csupomona.edu/mplagoe/play.xspf"
quality="high" bgcolor="#E6E6E6" name="xspf_player"
allowscriptaccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
align="center" height="100%" width="100%"> </object><br>
<br>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>
The only things that work is the messed up banner and the cutoff media player everything else is invisable...
the code is
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Index</title>
<script type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body style="color: rgb(102, 204, 255); background-color: rgb(0, 0, 0);"
alink="red" link="red" vlink="#cc33cc">
<div align="center">
<table style="text-align: left; height: 5%; width: 100%;" border="0"
cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="width: 12%; height: 12%; vertical-align: top;"><a
href="http://class-osx-04.class.csupomona.edu/mplagoe/index.html"
onmouseout="MM_swapImgRestore()"
onmouseover="MM_swapImage('Go Home','','homered.jpg',1)"><img
src="home.gif" alt="Go Home" name="Go Home" id="Go Home"
style="border: 0px solid ; width: 100%; height: 50%;"></a> </td>
<td
style="background-color: rgb(0, 0, 0); width: 50%; height: 50%; vertical-align: top;"><object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
title="banner" height="30%" width="100%"> <param name="movie"
value="http://class-osx-04.class.csupomona.edu/mplagoe/banner.swf"> <param
name="quality" value="high">
<embed
src="http://class-osx-04.class.csupomona.edu/mplagoe/banner.swf"
quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" height="48%" width="100%"></object>
<br>
</td>
<td style="width: 12%; height: 12%; vertical-align: top;">The
best way to view this webpage is
<script type="text/javascript"><!--
google_ad_client = "pub-0443243849668014";
google_ad_output = "textlink";
google_ad_format = "ref_text";
google_cpa_choice = "CAAQzcLH7QEaCD_4BVTjvVryKLGsuIEB";
google_ad_channel = "";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br>
<br>
</td>
</tr>
</tbody>
</table>
<br>
</div>
<div
style="height: 100%; margin-left: 0px; position: relative; width: 100%; z-index: 15;"
id="footer_layer">
<table style="width: 100%; text-align: center;" border="0"
cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="width: 3%; vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><a
href="http://class-osx-04.class.csupomona.edu/mplagoe/intro.html"><img
alt="INTRO"
src="http://class-osx-04.class.csupomona.edu/mplagoe/INTRO1"
style="border: 0px solid ; width: 100%; height: 100%;"></a><br>
</td>
<td style="width: 10%; vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><a
href="http://class-osx-04.class.csupomona.edu/mplagoe/projects.html"><img
alt="PROJECTS"
src="http://class-osx-04.class.csupomona.edu/mplagoe/PROJECTS1"
style="border: 0px solid ; width: 100%; height: 100%;"></a> </td>
<td style="width: 10%; vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><a
href="http://class-osx-04.class.csupomona.edu/mplagoe/random.html"><img
alt="STUFF"
src="http://class-osx-04.class.csupomona.edu/mplagoe/RANDOM1"
style="border: 0px solid ; width: 100%; height: 100%;"></a></td>
<td style="width: 10%; vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><a
href="http://class-osx-04.class.csupomona.edu/mplagoe/aboutme.html"><img
alt="ABOUT ME"
src="http://class-osx-04.class.csupomona.edu/mplagoe/ABOUT1"
style="border: 0px solid ; width: 100%; height: 100%;"></a></td>
<td style="width: 10%; vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><a
href="mailto:cyberempires@gmail.com"> <img alt="CONTACT"
src="http://class-osx-04.class.csupomona.edu/mplagoe/CONTACT1"
style="border: 0px solid ; width: 100%; height: 100%;"></a></td>
<td style="width: 3%; vertical-align: top;"><br>
</td>
</tr>
</tbody>
</table>
<br>
<br>
<table
style="height: 0.1%; margin-left: auto; margin-right: 0px; width: 35%; text-align: left;"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"> To view my projects just click
on the name in the player.<br>
</td>
</tr>
</tbody>
</table>
<br>
<table
style="height: 10%; margin-left: auto; margin-right: 0px; width: 35%; text-align: left;"
border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top;"><object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"
height="100%" width="100%"> <param name="allowScriptAccess"
value="sameDomain"> <param name="movie"
value="http://class-osx-04.class.csupomona.edu/mplagoe/xspf_player.swf">
<param name="quality" value="high"> <param name="bgcolor"
value="#E6E6E6">
<embed
src="http://class-osx-04.class.csupomona.edu/mplagoe/xspf_player.swf?playlist_url=http://class-osx-04.class.csupomona.edu/mplagoe/play.xspf"
quality="high" bgcolor="#E6E6E6" name="xspf_player"
allowscriptaccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
align="center" height="100%" width="100%"> </object><br>
<br>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>
The only things that work is the messed up banner and the cutoff media player everything else is invisable...