X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Aligning "rectangle_top.tpl" to "customer/hom (https://forum.x-cart.com/showthread.php?t=6963)

defibcentral 04-01-2004 04:58 PM

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.

blue-dreamer 04-02-2004 08:53 AM

This may be the table that holds the serach box. Try aligning that table left or right...

paul42 08-10-2004 01:05 AM

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.
:roll:

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

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


All times are GMT -8. The time now is 02:35 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.