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

alignment problem with Header and body

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-07-2006, 09:22 PM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default 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.
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #2  
Old 02-08-2006, 03:28 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Tough to tell without seeing the problem.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 02-08-2006, 06:56 AM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default

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]
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #4  
Old 02-08-2006, 06:59 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Do you have widths specified for the tables? If you are using padding: or margin: you will need to shrink the widths a bit...
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 02-08-2006, 08:45 AM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default

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>
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #6  
Old 02-08-2006, 08:47 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Just add the background to rectangle_top.tpl, that is the wrapper that wraps your whole site.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:37 PM.

   

 
X-Cart forums © 2001-2020