Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

spacers


turtleboy

Recommended Posts

:blink: HI guys,

 

Just after some HTML gurus.

 

I have a spacer that I just cant get rid of(if that makes any sense).

 

<?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'logo.jpg', 'Dionysos Cellars') . '</a>'; ?>    </td>
   <td width="212" valign="top" background=images/bgtop1.gif><img src="images/logo_r1_c2.jpg" width="212" height="150"></td>
   <td width="100%" valign="top" background=images/bgtop1.gif > 
   <div align="left"><img src="images/logo_r1_c3.jpg" width="191" height="150"><img src="images/logo_r1_c4.jpg" width="169" height="150"></div></td>
 </tr>
 <tr> 
   <td height="0"></td>
   <td></td>
   <td></td>
 </tr><tr><td height="1"><img src="file:///C|/Documents and Settings/Kon/Application Data/Macromedia/Dreamweaver MX 2004/Configuration/Temp/FlashElements/ImageViewer/spacer.gif" alt="" width="228" height="1"></td><td><img src="file:///C|/Documents and Settings/Kon/Application Data/Macromedia/Dreamweaver MX 2004/Configuration/Temp/FlashElements/ImageViewer/spacer.gif" alt="" width="212" height="1"></td><td></td></tr>
 
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr class="headerNavigation">
   <td class="headerNavigation">  <?php echo $breadcrumb->trail(' ? '); ?></td>
   <td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a>  |  <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a>   </td>
 </tr>
</table>

 

Is there anything that you guys can see, that I am missing.

 

You can also check out the site to see what I am referring to. by clickingMy Webpage

 

You will find that there is a gap that I cant get rid of between the breadcrumb and the image above that.

Link to comment
Share on other sites

Try removing this part:

 

<tr>

  <td height="0"></td>

  <td></td>

  <td></td>

</tr><tr><td height="1"><img src="file:///C|/Documents and Settings/Kon/Application Data/Macromedia/Dreamweaver MX 2004/Configuration/Temp/FlashElements/ImageViewer/spacer.gif" alt="" width="228" height="1"></td><td><img src="file:///C|/Documents and Settings/Kon/Application Data/Macromedia/Dreamweaver MX 2004/Configuration/Temp/FlashElements/ImageViewer/spacer.gif" alt="" width="212" height="1"></td><td></td></tr>

Link to comment
Share on other sites

<div align="left"><img src="images/logo_r1_c3.jpg" width="191" height="150"><img src="images/logo_r1_c4.jpg" width="169" height="150"></div></td>
</tr>
<tr> 
  <td height="0"></td>
  <td></td>
  <td></td>
</tr><tr><td height="1"><img src="file:///C|/Documents and Settings/Kon/Application Data/Macromedia/Dreamweaver MX

 

For some reason I couldn't view/source on your page??? But what sticks out to me is the double <td> that you have there. So if you remove this part it should remove that space

 

<tr> 
  <td height="0"></td>
  <td></td>
  <td></td>
</tr>

 

Try doing it as a plain notepad text file instead of with dreamweaver ;)

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

 

I used to be insane, but now I'm just nuts ;)

Link to comment
Share on other sites

It's changed though. It's yellow now, was white before..

 

<?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'logo.jpg', 'Dionysos Cellars') . '</a>'; ?>    </td>
  <td width="212" valign="top" background=images/bgtop1.gif><img src="images/logo_r1_c2.jpg" width="212" height="150"></td>
  <td width="100%" valign="top" background=images/bgtop1.gif > 
  <div align="left"><img src="images/logo_r1_c3.jpg" width="191" height="150"><img src="images/logo_r1_c4.jpg" width="169" height="150"></div></td>
</tr>
<tr> 
  <td height="0"></td>
  <td></td>
  <td></td>
</tr><tr><td height="1"><img src="file:///C|/Documents and Settings/Kon/Application Data/Macromedia/Dreamweaver MX 2004/Configuration/Temp/FlashElements/ImageViewer/spacer.gif" alt="" width="228" height="1"></td><td><img src="file:///C|/Documents and Settings/Kon/Application Data/Macromedia/Dreamweaver MX 2004/Configuration/Temp/FlashElements/ImageViewer/spacer.gif" alt="" width="212" height="1"></td><td></td></tr>

</table>

 

This is part of your original code, and everything above where the breadcrumbs start. The browser is looking for an image off your computer, see where it says file:///C/Documents etc? Even if you can see it, we won't be able to because we don't have access to your computer.

 

Also, try removing the <td height="0"></td> part..

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

 

I used to be insane, but now I'm just nuts ;)

Link to comment
Share on other sites

Try removing all of this:

 

  <tr> 
   <td height="0"></td>
 </tr><tr><td height="1"><img src="file:///C|/Documents and Settings/Kon/Application Data/Macromedia/Dreamweaver MX 2004/Configuration/Temp/FlashElements/ImageViewer/spacer.gif" alt="" width="228" height="1"></td><td><img src="file:///C|/Documents and Settings/Kon/Application Data/Macromedia/Dreamweaver MX 2004/Configuration/Temp/FlashElements/ImageViewer/spacer.gif" alt="" width="212" height="1"></td><td></td></tr>

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

 

I used to be insane, but now I'm just nuts ;)

Link to comment
Share on other sites

I've been watching!! So you want to keep the yellow line and get rid of that white space??

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

 

I used to be insane, but now I'm just nuts ;)

Link to comment
Share on other sites

Just been looking at your title code. It looks like this:

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <!--DWLayoutTable-->
 <tr class="header"> 
   <td width="228" height="150" valign="middle" background=images/bgtop1.gif > 
     <a href="http://dionysoscellars.com.au/bottleshop/default.php"><img src="images/logo.jpg" border="0" alt="Dionysos Cellars" title=" Dionysos Cellars " width="228" height="150"></a>    </td>
   <td width="212" valign="top" background=images/bgtop1.gif><img src="images/logo_r1_c2.jpg" width="212" height="150"></td>
   <td width="100%" valign="top" background=images/bgtop1.gif > 
   <div align="left"><img src="images/logo_r1_c3.jpg" width="191" height="150"><img src="images/logo_r1_c4.jpg" width="169" height="150"></div></td>
 </tr>
</table>

 

Notice how some of the images don't have the " (the background images). It might not show because of that, so try it like this instead...

 

background="images/bgtop1.gif"

 

Also, remove any spaces. ie:

 

<td width="228" height="150" valign="middle" background=images/bgtop1.gif >HERE

<a href="http://dionysoscellars.com.au/bottleshop/default.php"><img src="images/logo.jpg" border="0" alt="Dionysos Cellars" title=" Dionysos Cellars " width="228" height="150"></a>HERE </td>

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

 

I used to be insane, but now I'm just nuts ;)

Link to comment
Share on other sites

I just refreshed the page and saw and was thinking, oh, it this it???

 

Glad to have helped a fellow Aussie! ;)

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

 

I used to be insane, but now I'm just nuts ;)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...