# Tables working in IE but not FireFox

**URL:** <https://forum.kirupa.com/t/tables-working-in-ie-but-not-firefox/242075>\
**Category:** web dev\
**Created:** [October 22, 2007, 5:04am UTC](https://forum.kirupa.com/t/tables-working-in-ie-but-not-firefox/242075 "2007-10-22T05:04:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kerwint](https://avatars.discourse-cdn.com/v4/letter/k/7ab992/32.png) [@kerwint](https://forum.kirupa.com/u/kerwint)\
**Post date:** [October 22, 2007, 5:04am UTC](https://forum.kirupa.com/t/tables-working-in-ie-but-not-firefox/242075/1 "2007-10-22T05:04:41Z")

</div>

The layout looks fine in IE but once viewed with FF, the table stretch all the way to the bottom. Is there any way i can edit the code so that it will look fine cross browsers? It’s kinda rush for me, so css is not an alternative for me as i do not have much knowledge about CSS layout. Thanks!

```auto
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Cocoon Divine</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!--[if lt IE 7.]>
<script defer type="text/javascript" src="pngfix.js"></script>
<![endif]-->
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a*)&&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*.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a*;}}
}
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*[n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers*.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*))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<link href="cd.css" rel="stylesheet" type="text/css">
</head>
<body onLoad="MM_preloadImages('images/icons/icon3-2.jpg','images/icons/icon4-2.jpg')" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
<div id="space-for-ie"></div>
  <table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
    <tr> 
      <td><table width="85%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr> 
            <td width="7%" valign="top"></td>
            <td width="11%" valign="top"><table border="0" cellspacing="0" cellpadding="0" align="right">
                <tr> 
                  <td><a href="creations.html" target="_parent" onMouseOver="MM_swapImage('Icon 1','','images/icons/icon1-2.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="images/icons/icon1.jpg" alt="creations" name="Icon 1" width="83" height="83" hspace="8" vspace="2" border="0"></a></td>
                </tr>
                <tr> 
                  <td><a href="services.html" target="_parent" onMouseOver="MM_swapImage('Icon 2','','images/icons/icon2-2.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="images/icons/icon2.jpg" alt="services" name="Icon 2" width="83" height="83" hspace="8" vspace="2" border="0"></a></td>
                </tr>
                <tr> 
                  <td><a href="promotions.html" target="_parent" onMouseOver="MM_swapImage('Icon 3','','images/icons/icon3-2.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="images/icons/icon3.jpg" alt="promotions" name="Icon 3" width="83" height="83" hspace="8" vspace="2" border="0"></a></td>
                </tr>
                <tr> 
                  <td><a href="order.html" target="_parent" onMouseOver="MM_swapImage('Icon 4','','images/icons/icon4-2.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="images/icons/icon4.jpg" alt="order now" name="Icon 4" width="83" height="83" hspace="8" vspace="2" border="0"></a></td>
                </tr>
              </table></td>
            <td width="80%" rowspan="2" valign="baseline"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr> 
                  <td height="36" valign="top"><img src="png/borders/tl.png" width="26" height="36" hspace="0" vspace="0"></td>
                  <td background="png/borders/med.png" style="background-repeat: repeat-x"; bgcolor="#FFFFFF" height="36"></td>
                  <td valign="top"><img src="png/borders/tr.png" width="32" height="36"></td>
                </tr>
                <tr> 
                  <td width="26" height="9" background="png/borders/lm.png" style="background-repeat: repeat-y; margin-left:0px; margin-bottom:0px; margin-top:0px; padding-bottom: 0px";> 
                  </td>
                  <td style="background-color:#ffffff";><table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr> 
                      <td bgcolor="#666666" align="right">&nbsp;</td>
                    </tr>
                    <tr> 
                      <td></td>
                    </tr>
                    <tr> 
                      <td><iframe src ="content/index-content.html" width="100%" height="392"></iframe></td>
                    </tr>
                    <tr> 
                      <td></td>
                    </tr>
                  </table></td>
                  <td width="26" height="9" background="png/borders/mr.png" style="background-repeat: repeat-y; margin-right:0px; margin-bottom:0px; margin-top:0px; padding-bottom: 0px";> 
                  </td>
                </tr>
                <tr> 
                  <td valign="top"><img src="png/borders/bl.png" width="26" height="36" hspace="0" vspace="0"></td>
                  <td background="png/borders/med2.png" style="background-repeat: repeat-x;"></td>
                  <td valign="top"><img src="png/borders/br.png" width="32" height="36"></td>
                </tr>
              </table></td>
            <td width="2%" rowspan="2" valign="bottom"><div align="right"><img src="png/creations.png" alt="creations" width="52" height="249" hspace="0" vspace="0"></div></td>
          </tr>
          <tr> 
            <td colspan="2" valign="top" align="center"><a href="index.html" target="_parent"><img src="images/logo.jpg" alt="cocoon divine" width="102" height="116" border="0" style="z-index:-1;"></a></td>
          </tr>
          <tr> 
            <td colspan="3" valign="top" align="right"><span class="copyright">copyright &copy; 2007. 
              Cocoon Divine Pte Ltd. all rights reserved</span><BR><span class="copyright"><b>address:</b> 581 Orchard Rd #02-00 Hilton<b>tel:</b> 6737 0089 | <b>email:</b></span> <a href="[EMAIL="sales@cocoondivine.com"]mailto:sales@cocoondivine.com[/EMAIL]" target="_blank" class="copyright">sales@cocoondivine.com</a></td>
            <td valign="baseline">&nbsp;</td>
          </tr>
        </table></td>
    </tr>
  </table>
  <div id="right_vine" style="position:absolute; z-index:-1; right: 0px; top: 0px";><img src="png/right_vine.png" width="249" height="369"></div>
 
<div id="left_vine" class="vcenter"><img src="png/left_vine.png" width="239" height="398"></div>
</body>
</html>

```
