Link to home
Start Free TrialLog in
Avatar of brookedanett
brookedanett

asked on

Dreamweaver MX 2004 compatability with Firefox 5.0

when looking at the main page of our website on firefox 5.0 the graphic are split apart instead of making one page.

heres the page: http://thecurtainfactory.org/main2.html

here's the html

<html>
<head>
<title>Front page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
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_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_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];}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</script>
<style type="text/css">
<!--
body {
      background-color: #FFFF99;
}
-->
</style></head>
<body leftmargin="0px" topmargin="0px" marginwidth="0px" marginheight="0px" onLoad="MM_preloadImages('/web%20images/tcfrollover_04.gif','/web%20images/tcfrollover_09.gif','/web%20images/tcfrollover_11.gif','/web%20images/tcfrollover_02.gif','/web%20images/tcfrollover_12.gif')">
<!-- ImageReady Slices (fpfinal late night.ai) -->
<table id="Table_01" width="1027px" height="857px" border="0px" cellpadding="0px" cellspacing="0px">
      <tr>
            <td colspan="5px">
                  <img src="file:///Macintosh%20HD/Users/visitor/Desktop/images/frontpagefinal_01.gif" width="703px" height="9px" alt=""></td>
            <td rowspan="3px" align="left" valign="top">              <a href="javascript:void(0)" onClick="MM_openBrWindow('http://blog.myspace.com/index.cfm?fuseaction=blog.listall&friendid=276927248','TCFNEWS','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=850px,height=700px')" onMouseOver="MM_swapImage('news','','/web%20images/tcfrollover_02.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="/web%20images/tcffrontpage_02.gif" alt="" name="news" width="323" height="228" border="0" id="news"></a></td>
            <td>
                  <img src="file:///Macintosh%20HD/Users/visitor/Desktop/images/spacer.gif" width="1px" height="9px" alt=""></td>
      </tr>
      <tr>
            <td colspan="2px" rowspan="4px">
                  <img src="/web%20images/tcffrontpage_03.gif" width="19px" height="430px" alt=""></td>
            <td colspan="3px" align="left" valign="top">
                  <a href="javascript:void(0)" onClick="MM_openBrWindow('http://etsy.com/shop.php?user_id=5443640','TCFSHOP','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=850px,height=700px')" onMouseOver="MM_swapImage('store','','/web%20images/tcfrollover_04.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="/web%20images/tcffrontpage_04.gif" alt="" name="store" width="684px" height="194px" border="0px" id="store"></a></td>
            <td>
                  <img src="file:///Macintosh%20HD/Users/visitor/Desktop/images/spacer.gif" width="1px" height="194px" alt=""></td>
      </tr>
      <tr>
            <td colspan="3px" rowspan="3px">
                  <img src="/web%20images/tcffrontpage_05.gif" width="684px" height="236px" alt=""></td>
            <td>
                  <img src="file:///Macintosh%20HD/Users/visitor/Desktop/images/spacer.gif" width="1px" height="25px" alt=""></td>
      </tr>
      <tr>
            <td align="left" valign="top">
                  <img src="/web%20images/tcffrontpage_06.gif" width="323px" height="1px" alt=""></td>
            <td>
                  <img src="file:///Macintosh%20HD/Users/visitor/Desktop/images/spacer.gif" width="1px" height="1px" alt=""></td>
      </tr>
      <tr>
            <td rowspan="2px">
                  <img src="/web%20images/tcffrontpage_07.gif" width="323px" height="356px" alt=""></td>
            <td>
                  <img src="file:///Macintosh%20HD/Users/visitor/Desktop/images/spacer.gif" width="1px" height="210px" alt=""></td>
      </tr>
      <tr>
            <td rowspan="3px">
                  <img src="file:///Macintosh%20HD/Users/visitor/Desktop/images/frontpagefinal_08.gif" width="5px" height="345px" alt=""></td>
            <td colspan="3px" align="left" valign="top">                  <a href="/gallery.htm" onMouseOver="MM_swapImage('gallery','','/web%20images/tcfrollover_09.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="/web%20images/tcffrontpage_09.gif" alt="" name="gallery" width="522px" height="146px" border="0px" id="gallery"></a></td>
            <td>
                  <img src="/web%20images/tcffrontpage_10.gif" width="176px" height="146px" alt=""></td>
            <td>
                  <img src="file:///Macintosh%20HD/Users/visitor/Desktop/images/spacer.gif" width="1px" height="146px" alt=""></td>
      </tr>
      <tr>
            <td colspan="2px" rowspan="2px">
                  <a href="/aboutus.htm" onMouseOver="MM_swapImage('aboutus','','/web%20images/tcfrollover_11.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="/web%20images/tcffrontpage_11.gif" alt="" name="aboutus" width="396px" height="199px" border="0px" id="aboutus"></a></td>
            <td colspan="3px" align="left" valign="top">
                  <a href="/links.htm" onMouseOver="MM_swapImage('links','','/web%20images/tcfrollover_12.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="/web%20images/tcffrontpage_12.gif" alt="" name="links" width="625px" height="194px" border="0px" id="links"></a></td>
            <td>
                  <img src="file:///Macintosh%20HD/Users/visitor/Desktop/images/spacer.gif" width="1px" height="194px" alt=""></td>
      </tr>
      <tr>
            <td colspan="3px">
                  <img src="/web%20images/tcffrontpage_13.gif" width="625px" height="5px" alt=""></td>
            <td>
                  <img src="file:///Macintosh%20HD/Users/visitor/Desktop/images/spacer.gif" width="1px" height="5px" alt=""></td>
      </tr>
      <tr>
            <td height="73px">
                  <img src="file:///Macintosh%20HD/Users/visitor/Desktop/images/spacer.gif" width="5px" height="1px" alt=""></td>
            <td>
                  <img src="file:///Macintosh%20HD/Users/visitor/Desktop/images/spacer.gif" width="14px" height="1px" alt=""></td>
            <td>
                  <img src="file:///Macintosh%20HD/Users/visitor/Desktop/images/spacer.gif" width="382px" height="1px" alt=""></td>
            <td>
                  <img src="file:///Macintosh%20HD/Users/visitor/Desktop/images/spacer.gif" width="126px" height="1px" alt=""></td>
            <td>
                  <img src="file:///Macintosh%20HD/Users/visitor/Desktop/images/spacer.gif" width="176px" height="1px" alt=""></td>
            <td>
                  <img src="file:///Macintosh%20HD/Users/visitor/Desktop/images/spacer.gif" width="323px" height="1px" alt=""></td>
            <td></td>
      </tr>
</table>
<!-- End ImageReady Slices -->
</body>
</html>
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

Hi brookedanett,

Firefox 5?  

Looking at your page on FF 3 (the most current version I am aware of), the graphics appear to be fine.  Screenshot attached.

eecurtain.jpg
Note:  I didn't apply italics...the RTF editor is still a bit buggy.
Avatar of brookedanett
brookedanett

ASKER

Sorry- I guess I am using Firefox 2.0... and I know a lot of users who are still working with this browser, so I would like to make it work. Although, it is good to know it worked for Firefox 3.0

here's what it looks like:
screenshot.jpg
It's possible (but unlikely) that older versions of FF are having issues with your image path notation:



colspans should just be a number, not a pixel value.  Change all that you can find to:

 where X is the number in front the px...
changing the colspans did not work.
i am not having problems with the other pages on the site... so i'm not sure why this one is causing problems.
have tried redoing it, and still turns out the same way.
I also noticed that the page has no doctype.  

Add this to the top of the document:

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     

and try again.  It's definitely a bug in FF 2 and 1.5 but I cannot seem to figure out where it is being generated.  Have you changed the file paths be document relative yet?  In other words this:



not this:

thanks for all your help... but i tried changing the file paths and it's still not working.
i am new to all of this-- so it's possible i'm not making the correct changes. here's what the new code looks like:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     


Front page


<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i0&&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
</script>



      
            
                  
                              
            
                  
      
      
            
                  
                              
            
                  
      
      
                              
            
                  
      
      
            
                  
            
                  
      
      
                              
            
                  
      
      
            
                  
                              
            
                  
            
                  
      
      
                              
                              
            
                  
      
      
            
                  
            
                  
      
      
            
                  
            
                  
            
                  
            
                  
            
                  
            
                  
            
      



ASKER CERTIFIED SOLUTION
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ok... but i'm not really sure how i would fix that. sorry-- any help would be much appreciated.
You need to go through each row of the table in code view and count the columns defined.  Once you know how many are in each row, you need to make some decisions about what to do next.

If all of the rows have different counts, my best advice is to blow up the table and start over.  If only one row is off by one column, then adjust that row so that it matches all of the others.  This can include adding a span to an existing colspan, reducing it by one, or just adding a blank  right before the closing  tag.