Jump to content

Why do I get these white gaps?


yldziner
 Share

Recommended Posts

I am building this site w/ xsl and xml on Mac. When I preview locally it looks good. However, when previewed on the server I get white gaps in Firefox. What's the deal? Safari looks okay. I haven't yet previewed it on a PC. Any ideas/suggestions??http://www.salvagegold.comXSL CODE:<!-- DWXMLSource="sold.xml" -->− <xsl:stylesheet version="1.0"><xsl:output method="html" encoding="ISO-8859-1" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>− <xsl:template match="/">− <html>− <head>− <title>Salvage Gold ::: Salvaged Cars For Sale in Southern California</title><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/><!-- ImageReady Preload Script (salvagegold.psd) -->− <script type="text/javascript">− <xsl:comment>− <xsl:text disable-output-escaping="yes">function newImage(arg) { if (document.images) { rslt = new Image(); rslt.src = arg; return rslt; }}function changeImages() { if (document.images && (preloadFlag == true)) { for (var i=0; i<changeImages.arguments.length; i+=2) { document[changeImages.arguments].src = changeImages.arguments[i+1]; } }}var preloadFlag = false;function preloadImages() { if (document.images) { home_04_over = newImage("images/home_04-over.jpg"); home_05_over = newImage("images/home_05-over.jpg"); home_06_over = newImage("images/home_06-over.jpg"); home_07_over = newImage("images/home_07-over.jpg"); home_08_over = newImage("images/home_08-over.jpg"); home_09_over = newImage("images/home_09-over.jpg"); home_10_over = newImage("images/home_10-over.jpg"); home_11_over = newImage("images/home_11-over.jpg"); preloadFlag = true; }}// </xsl:text></xsl:comment></script><!-- End Preload Script -->− <style type="text/css"><xsl:comment>body { background-color: #000000;}</xsl:comment></style><link href="sg_style.css" rel="stylesheet" type="text/css"/>− <style type="text/css"><xsl:comment>.style1 {color: #FFFFFF}</xsl:comment></style></head>− <body onload="preloadImages();"><!-- ImageReady Slices (salvagegold.psd) -->− <table width="1000" height="600" cellspacing="0" cellpadding="0" border="0" bgcolor="#ffffff" align="center" id="Table_01"><!--DWLayoutTable-->− <tr>− <td height="300" colspan="11"><img width="1000" height="300" src="images/home_01.jpg" alt=""/></td></tr>− <tr>− <td width="101" valign="top" bgcolor="#000000" rowspan="4"><img width="101" height="300" src="images/home_02.jpg" alt=""/></td>− <td width="249" height="39">− <a href="news.html"><img width="249" height="39" border="0" src="images/home_03.jpg" alt=""/></a></td>− <td width="60">− <a href="index.html" onmouseover="changeImages('home_04', 'images/home_04-over.jpg'); return true;" onmouseout="changeImages('home_04', 'images/home_04.jpg'); return true;" onmousedown="changeImages('home_04', 'images/home_04-over.jpg'); return true;" onmouseup="changeImages('home_04', 'images/home_04-over.jpg'); return true;"><img width="60" height="39" border="0" src="images/home_04.jpg" alt="" name="home_04" id="home_04"/></a></td>− <td width="81">− <a href="about.xml" onmouseover="changeImages('home_05', 'images/home_05-over.jpg'); return true;" onmouseout="changeImages('home_05', 'images/home_05.jpg'); return true;" onmousedown="changeImages('home_05', 'images/home_05-over.jpg'); return true;" onmouseup="changeImages('home_05', 'images/home_05-over.jpg'); return true;"><img width="81" height="39" border="0" src="images/home_05.jpg" alt="" name="home_05" id="home_05"/></a></td>− <td width="84">− <a href="build.xml" onmouseover="changeImages('home_06', 'images/home_06-over.jpg'); return true;" onmouseout="changeImages('home_06', 'images/home_06.jpg'); return true;" onmousedown="changeImages('home_06', 'images/home_06-over.jpg'); return true;" onmouseup="changeImages('home_06', 'images/home_06-over.jpg'); return true;"><img width="84" height="39" border="0" src="images/home_06.jpg" alt="" name="home_06" id="home_06"/></a></td>− <td width="80">− <a href="sale.xml" onmouseover="changeImages('home_07', 'images/home_07-over.jpg'); return true;" onmouseout="changeImages('home_07', 'images/home_07.jpg'); return true;" onmousedown="changeImages('home_07', 'images/home_07-over.jpg'); return true;" onmouseup="changeImages('home_07', 'images/home_07-over.jpg'); return true;"><img width="80" height="39" border="0" src="images/home_07.jpg" alt="" name="home_07" id="home_07"/></a></td>− <td width="57"><img width="57" height="39" border="0" src="images/home_08-over.jpg" alt="" name="home_08" id="home_08"/></td>− <td width="51">− <a href="faq.html" onmouseover="changeImages('home_09', 'images/home_09-over.jpg'); return true;" onmouseout="changeImages('home_09', 'images/home_09.jpg'); return true;" onmousedown="changeImages('home_09', 'images/home_09-over.jpg'); return true;" onmouseup="changeImages('home_09', 'images/home_09-over.jpg'); return true;"><img width="51" height="39" border="0" src="images/home_09.jpg" alt="" name="home_09" id="home_09"/></a></td>− <td width="57">− <a href="links.html" onmouseover="changeImages('home_10', 'images/home_10-over.jpg'); return true;" onmouseout="changeImages('home_10', 'images/home_10.jpg'); return true;" onmousedown="changeImages('home_10', 'images/home_10-over.jpg'); return true;" onmouseup="changeImages('home_10', 'images/home_10-over.jpg'); return true;"><img width="57" height="39" border="0" src="images/home_10.jpg" alt="" name="home_10" id="home_10"/></a></td>− <td width="81">− <a href="contact.html" onmouseover="changeImages('home_11', 'images/home_11-over.jpg'); return true;" onmouseout="changeImages('home_11', 'images/home_11.jpg'); return true;" onmousedown="changeImages('home_11', 'images/home_11-over.jpg'); return true;" onmouseup="changeImages('home_11', 'images/home_11-over.jpg'); return true;"><img width="81" height="39" border="0" src="images/home_11.jpg" alt="" name="home_11" id="home_11"/></a></td>− <td width="99"><img width="99" height="39" src="images/home_12.jpg" alt=""/></td></tr>− <tr>− <td height="25"><img width="249" height="25" src="images/home_a_13.jpg" alt=""/></td>− <td colspan="8"><img width="551" height="25" src="images/home_14.jpg" alt=""/></td>− <td valign="top" bgcolor="#000000" rowspan="3"><img width="99" height="261" src="images/home_15.jpg" alt=""/></td></tr>− <tr>− <td valign="top" height="202" bgcolor="#ffffff" colspan="9">− <p class="title"><xsl:value-of select="style/header"/></p>− <p class="body_text"><xsl:value-of select="style/body"/></p>− <xsl:for-each select="style/list_item">− <table width="100%" cellspacing="0" cellpadding="0" border="0" bgcolor="#ffffff"><!--DWLayoutTable-->− <tr>− <td width="70" valign="top" rowspan="2"><!--DWLayoutEmptyCell--> </td>− <td width="142" valign="middle" height="22" bgcolor="#999999" class="CHART"><div align="center">PICTURE</div></td>− <td width="85" valign="middle" bgcolor="#666666" class="CHART"><div align="center">YEAR</div></td>− <td width="95" valign="middle" bgcolor="#666666" class="CHART"><div align="center">MAKE</div></td>− <td width="111" valign="middle" bgcolor="#666666" class="CHART"><div align="center">MODEL</div></td>− <td width="104" valign="middle" bgcolor="#666666" class="CHART"><div align="center">MILEAGE</div></td>− <td width="104" valign="middle" bgcolor="#666666" class="CHART"><div align="center">PRICE</div></td>− <td width="76" valign="top" rowspan="2"><!--DWLayoutEmptyCell--> </td></tr>− <tr>− <td valign="top" height="64" class="vehinfo"><img src="{imgsrc}"/></td>− <td valign="middle" bgcolor="#cccccc" class="vehinfo">− <div align="center"><xsl:value-of select="year"/></div></td>− <td valign="middle" bgcolor="#cccccc" class="vehinfo">− <div align="center"><xsl:value-of select="make"/></div></td>− <td valign="middle" bgcolor="#cccccc" class="vehinfo">− <div align="center"><xsl:value-of select="model"/></div></td>− <td valign="middle" bgcolor="#cccccc" class="vehinfo">− <div align="center"><xsl:value-of select="miles"/></div></td>− <td valign="middle" bgcolor="#cccccc" class="vehinfo">− <div align="center"><xsl:value-of select="price"/></div></td></tr>− <tr><td height="8"/><td/><td/><td/><td/><td/><td/><td/></tr></table></xsl:for-each></td></tr>− <tr>− <td valign="top" height="34" background="images/home_19.jpg" colspan="9">− <div align="center">− <span class="footer">− <a href="index.html"><br/><span class="footer">HOME</span></a>− <span class="style1"> : <a href="about.xml" class="footer">ABOUT US</a> : <a href="build.xml" class="footer">BUILDERS</a> : <a href="sale.xml" class="footer">FOR SALE</a> : </span></span><span class="hit">SOLD</span>− <span class="footer">− <span class="style1"> : <a href="faq.xml" class="footer">FAQ</a> : <a href="links.html" class="footer">LINKS</a> : <a href="contact.html" class="footer">CONTACT</a></span></span></div></td></tr></table><!-- End ImageReady Slices --></body></html></xsl:template></xsl:stylesheet>

Link to comment
Share on other sites

Seems perfectly fine to me when I view the source in any Windows browser, including Firefox and Safari 3 beta.It may be that line breaks are treated differently on MAC then they are on Windows and Lunix. Your server is probably Linux, so it serves pages with Linux line breaks. Windows coverts them to it's form, and browsers made for Windows usually transform those breaks too. I guess MAC doesn't.Don't worry about it. As long as what you see on screen and your editor, it's all right.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...