Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Aligning "rectangle_top.tpl" to "customer/hom

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-01-2004, 04:58 PM
 
defibcentral defibcentral is offline
 

Newbie
  
Join Date: Mar 2004
Posts: 7
 

Default Aligning "rectangle_top.tpl" to "customer/hom

I'm in the process of designing the header for my site and I can't get the home.tpl to butt up against the rectangle_top.tpl. I would like the top search bar to be directly under my design table. I don't see any
or tags that should drop it from this position. Am I missing something? Thanks anyone.
Reply With Quote
  #2  
Old 04-02-2004, 08:53 AM
 
blue-dreamer blue-dreamer is offline
 

eXpert
  
Join Date: Dec 2002
Location: Northampton UK
Posts: 213
 

Default

This may be the table that holds the serach box. Try aligning that table left or right...
Reply With Quote
  #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
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:57 AM.

   

 
X-Cart forums © 2001-2020