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

Header problem

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-09-2005, 01:59 PM
 
johnwhdavies johnwhdavies is offline
 

Member
  
Join Date: Dec 2004
Posts: 20
 

Default Header problem

I am trying to add a 1px image to cascade as a background in the head table found at the top of the head.tpl but for some unknown reason it does not want to show, here is the code I am using

<TABLE border="0" cellpadding="0" cellspacing="0" width="100%" background="images/bgim.gif">
<TR>

Any Ideas

Many Thanks
__________________
John Davies

X-Cart version 4.0.9
X-AOM: 4.0.9
X_RMA: 4.0.9
PHP 4.3.10
MySQL server 4.0.18
Operation system Linux

http://www.predeploy.com
Reply With Quote
  #2  
Old 01-09-2005, 02:17 PM
 
balinor balinor is offline
 

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

Default

You need to use CSS to get that to display correctly. You can either add a style to the stylesheet, or you can add it right in the table:

Code:
<TABLE border="0" cellpadding="0" cellspacing="0" width="100%" style="background-image: url(images/bgim.gif); background-repeat: repeat;">
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 01-09-2005, 02:22 PM
 
johnwhdavies johnwhdavies is offline
 

Member
  
Join Date: Dec 2004
Posts: 20
 

Default Thanks

Just tried the above and it is still not doing it - weird, I put that code straight into the table.....
__________________
John Davies

X-Cart version 4.0.9
X-AOM: 4.0.9
X_RMA: 4.0.9
PHP 4.3.10
MySQL server 4.0.18
Operation system Linux

http://www.predeploy.com
Reply With Quote
  #4  
Old 01-09-2005, 02:23 PM
 
balinor balinor is offline
 

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

Default

Not working how? Image not showing up or just not tiling? PM me and I can take a look if you want.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 01-09-2005, 02:28 PM
 
johnwhdavies johnwhdavies is offline
 

Member
  
Join Date: Dec 2004
Posts: 20
 

Default Thanks

Just PM'D thanks
__________________
John Davies

X-Cart version 4.0.9
X-AOM: 4.0.9
X_RMA: 4.0.9
PHP 4.3.10
MySQL server 4.0.18
Operation system Linux

http://www.predeploy.com
Reply With Quote
  #6  
Old 01-09-2005, 02:58 PM
 
balinor balinor is offline
 

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

Default

My bad, code should be:

Code:
<TABLE border="0" cellpadding="0" cellspacing="0" width="100%" style="background-image: url({$ImagesDir}/bgim.gif); background-repeat: repeat;">
__________________
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 09:41 AM.

   

 
X-Cart forums © 2001-2020