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)
-   -   alignment problem with Header and body (https://forum.x-cart.com/showthread.php?t=19806)

mmoskva 02-07-2006 09:22 PM

alignment problem with Header and body
 
The header of my site doesnt align horizontally with the body of page;
Currently the header looks like it is exteded longer horizontally across about 4px

What could be the possible problems; can i expand the body of the page to = the width of the header or is their a better option.

balinor 02-08-2006 03:28 AM

Tough to tell without seeing the problem.

mmoskva 02-08-2006 06:56 AM

Here is graphic

Note: the header is aligned left with the body but on the right side it is stretching outward?

[img]
http://www.basilmoskva.com/header_problem.gif
[/img]

balinor 02-08-2006 06:59 AM

Do you have widths specified for the tables? If you are using padding: or margin: you will need to shrink the widths a bit...

mmoskva 02-08-2006 08:45 AM

That worked.
How can I insert a bg surrounding the head and body of my site?

Code:


<TABLE cellSpacing=0 cellPadding=0 width=764  background="{$ImagesDir}/grimage.gif" border=0> 
        <TR>
          <TD width=20>[img]{$ImagesDir}/spacer.gif[/img]</TD> 
          <TD vAlign=top width=725 boarder=0>
                 
                 
                  </TD>
          <TD width=19>[img]{$ImagesDir}/spacer.gif[/img]</TD>
                </TR>
               
</TABLE>


balinor 02-08-2006 08:47 AM

Just add the background to rectangle_top.tpl, that is the wrapper that wraps your whole site.


All times are GMT -8. The time now is 11:14 PM.

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