troubleshooting Question

Dreamweaver CS3 is mysteriously adding a 1 px spacer.gif to a table exported from Fireworks CS3

Avatar of yic01
yic01 asked on
Web Graphics SoftwareAdobe Dreamweaver
5 Comments1 Solution952 ViewsLast Modified:
I created a design in Fireworks CS3 and sliced it up. The table is 800 px wide.I have triple checked that the width of the slices and images total 800 px. I have removed all filters from the images, in fact I even went so far as to remove all images .  When I export it to Dreamweaver CS3 it adds the spacer, regardless of what I do.  I don't know why.  If anyone can help it would be greatly appreciated. The attached code has no menus and very limited graphics and you will see the 1 px spacer.gif added. I do not recall every having this problem in previous versions.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<!-- saved from url=(0014)about:internet -->
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">td img {display: block;}</style>
<!--Fireworks CS3 Dreamweaver CS3 target.  Created Tue May 27 13:31:52 GMT-0400 (Eastern Daylight Time) 2008-->
<script language="JavaScript1.2" type="text/javascript">
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_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];}}
<body bgcolor="#ffffff" onload="MM_preloadImages('images/test/test_r2_c1_f2.gif');">
<table border="0" cellpadding="0" cellspacing="0" width="800">
<!-- fwtable fwsrc="test.png" fwpage="Page 1" fwbase="test.gif" fwstyle="Dreamweaver" fwdocid = "1114907388" fwnested="0" -->
   <td><img src="images/test/spacer.gif" width="405" height="1" border="0" alt="" /></td>
   <td><img src="images/test/spacer.gif" width="395" height="1" border="0" alt="" /></td>
   <td><img src="images/test/spacer.gif" width="1" height="1" border="0" alt="" /></td>
   <td colspan="2"><img name="test_r1_c1" src="images/test/test_r1_c1.gif" width="800" height="60" border="0" id="test_r1_c1" alt="" /></td>
   <td><img src="images/test/spacer.gif" width="1" height="60" border="0" alt="" /></td>
   <td><a href="scrap_mgmt.htm" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('test_r2_c1','','images/test/test_r2_c1_f2.gif',1);"><img name="test_r2_c1" src="images/test/test_r2_c1.gif" width="405" height="126" border="0" id="test_r2_c1" alt="" /></a></td>
   <td><img name="test_r2_c2" src="images/test/test_r2_c2.gif" width="395" height="126" border="0" id="test_r2_c2" alt="" /></td>
   <td><img src="images/test/spacer.gif" width="1" height="126" border="0" alt="" /></td>
   <td colspan="2"><img name="test_r3_c1" src="images/test/test_r3_c1.gif" width="800" height="30" border="0" id="test_r3_c1" alt="" /></td>
   <td><img src="images/test/spacer.gif" width="1" height="30" border="0" alt="" /></td>
   <td colspan="2"><img name="test_r4_c1" src="images/test/test_r4_c1.gif" width="800" height="395" border="0" id="test_r4_c1" alt="" /></td>
   <td><img src="images/test/spacer.gif" width="1" height="395" border="0" alt="" /></td>
   <td colspan="2"><img name="test_r5_c1" src="images/test/test_r5_c1.jpg" width="800" height="39" border="0" id="test_r5_c1" alt="" /></td>
   <td><img src="images/test/spacer.gif" width="1" height="39" border="0" alt="" /></td>
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros