...

View Full Version : code fails in Firefox...help



chump2877
08-25-2005, 11:34 PM
This code displays correctly in IE, but not in Firefox.....and I'm getting a headache trying to figure out why.....Can anyone help? Thanks.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html lang=en>

<head>


<STYLE TYPE="text/css"><!--

html {
scrollbar-arrow-color:#ffffff;
scrollbar-track-color:#8F887B;
scrollbar-shadow-color:#8F887B;
scrollbar-face-color:#8F887B;
scrollbar-highlight-color:#ffffff;
scrollbar-darkshadow-color:#cccccc;
scrollbar-3dlight-color:#8F887B;
}


form
{
margin:0;
}


a.edit2
{
color:#000;
text-decoration:none;
}

a.edit4
{
color:#000;
text-decoration:none;
}


.edit a
{
display:block;
width:100%;
height:100%;
text-decoration:none;
}

.edit a:hover
{
background-color:#eee8aa;
}


.edit3 a
{
display:block;
width:100%;
height:100%;
text-decoration:none;
}

.edit3 a:hover
{
background-color:#000;
}


.edit4 a
{
display:block;
width:100%;
height:100%;
text-decoration:none;
color:#000;
}

.edit4 a:hover
{
background-color:#eee8aa;
}



#block1 {
text-align: justify;
width: 800px;
height: 500px;
background: #fff;
border:inset;
border-width:2px;
margin-top:0;

}

#block1 table {
font-size:12px;
}

#block2 {
text-align: justify;
width: 700px;
height: 500px;
background: #fff;
border:inset;
border-width:2px;
margin-top:0;

}

.pad10 {
padding: 10px;
}

.padside {
padding-right: 15px;
}

.overflow {
overflow: auto;
width: 780px;
height: 480px;
}

.overflow2 {
overflow: scroll;
width: 680px;
height: 480px;
}


.underline {
border-bottom-style:solid;
border-bottom-color:#000000;
border-bottom-width:1px;
padding-bottom:25px;
}



.center
{
font-style:italic;
margin-left:55%;
}

.table
{
width:650px;
clear:both;
}

#text-size td
{
font-size:13px;
}


.clear
{
margin:0;
padding:0;
}

//--></STYLE>


<title></title>


<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">


</head>

<body>



<center><hr width="90%" style="border:1px solid #000000"></center>
<br>

<p><b>View members of the Media Moguls sales referral program.</b></p>

<br>






<table border="0" cellpadding="0" cellspacing="0" width="720">
<tr>
<td width="10"></td>
<td class="parts">



<div id="block2">
<div class="pad10">
<div class="overflow2">

<div class="padside">




<table id="text-size" border="0" cellspacing="1" cellpadding="8" width="650">
<tr bgcolor="#666666">

<td><b><font color="#FFFFFF" face="Palatino Linotype">Earnings Owed</font></b></td>

</tr>



<tr bgcolor="#E5E5E5">



<td class="edit4">

<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr><td><a href="referral_earnings.php?username=topdawg69&column=earnings_owed&data=20.75" class="edit4" target="new" onClick='window.open("referral_earnings.php?username=topdawg69&column=earnings_owed&data=20.75","","width=400,height=175,resizable=no,scrollbars=yes"); return false;'>$20.75</a>

<form method="post" action="#">

<p style="margin-top:10px"><input type="submit" name="clear" value="Clear" class="clear"></p>

</form>


</td>
</tr>
</table>
</td>


</tr>


<tr bgcolor="#CCCCCC">



<td class="edit4">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr><td><a href="referral_earnings.php?username=chippy&column=earnings_owed&data=55.00" class="edit4" target="new" onClick='window.open("referral_earnings.php?username=chippy&column=earnings_owed&data=55.00","","width=400,height=175,resizable=no,scrollbars=yes"); return false;'>$55.00</a>

<form method="post" action="#">

<p style="margin-top:10px"><input type="submit" name="clear" value="Clear" class="clear"></p>

</form>


</td>
</tr>
</table>
</td>


</tr>

</table>



</div>
</div>
</div>
</div>





</td>
<td width="10"></td>
</tr>
</table>

<br><br>






</body>

</html>

KC-Luck
08-26-2005, 01:11 AM
tracked it down to this line:

.edit4 a
{
display:block;
width:100%;
height:30px;
/*
height:100%;
*/
text-decoration:none;
color:#000;
}
setting it to absolute number corrects some glitch in the percent usage here.

chump2877
08-26-2005, 01:48 AM
Thank you! :thumbsup:

That worked...that's odd that the percentage didn;t work there...didn;t even think to change it to another unit of measurement...oh well...thanks :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum