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

johnwhdavies 01-09-2005 01:59 PM

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

balinor 01-09-2005 02:17 PM

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;">

johnwhdavies 01-09-2005 02:22 PM

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

balinor 01-09-2005 02:23 PM

Not working how? Image not showing up or just not tiling? PM me and I can take a look if you want.

johnwhdavies 01-09-2005 02:28 PM

Thanks
 
Just PM'D thanks

balinor 01-09-2005 02:58 PM

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;">


All times are GMT -8. The time now is 07:38 AM.

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