Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,746
    Thanks
    18
    Thanked 155 Times in 146 Posts

    Unhappy code fails in Firefox...help

    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.

    Code:
    <!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>
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!

  • #2
    Regular Coder
    Join Date
    Aug 2005
    Posts
    282
    Thanks
    0
    Thanked 0 Times in 0 Posts
    tracked it down to this line:
    Code:
    .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.
    Last edited by KC-Luck; 08-26-2005 at 01:14 AM.

  • #3
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,746
    Thanks
    18
    Thanked 155 Times in 146 Posts
    Thank you!

    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
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •