View Single Post
  #3  
Old 08-10-2004, 01:05 AM
 
paul42 paul42 is offline
 

Member
  
Join Date: Apr 2004
Posts: 17
 

Default Extra lines of white space?

Make sure you have closed <TD>with</TD> with no white space.
In some cases these are not the same as:
Code:
<TD colspan=5 BACKGROUND="{$ImagesDir}/top_bar_shadow.gif" height=15>[img]{$ImagesDir}/spacer.gif[/img]</TD>

Code:
<TD colspan=5 BACKGROUND="{$ImagesDir}/top_bar_shadow.gif" height=15>[img]{$ImagesDir}/spacer.gif[/img] </TD>

and this:

Code:
<TD colspan=5 BACKGROUND="{$ImagesDir}/top_bar_shadow.gif" height=15>[img]{$ImagesDir}/spacer.gif[/img] </TD>

some browsers may introduce what looks like a boarder when you have border=0.

MS even say:
Quote:
To keep out unwanted white space, be sure that the enclosing <td> and </td> tags are flush against the content of the cell, with no extra spaces or returns.


I am sure you are aware that the closing </TD> is often in a different .tpl

Paul.
X-Cart version 3.5.8
X-Cart PHP 4.3.1
MySQL server 4.0.11a-gamma
Linux
Perl 5.008
Reply With Quote