View Single Post
  #1  
Old 12-18-2008, 01:59 AM
 
tbm tbm is offline
 

Advanced Member
  
Join Date: Nov 2008
Posts: 39
 

Default header/footer background images

Hey,

Adding a header and footer to my x-cart site. Initially I just added basic tables to the rectangle_bottom.tpl and rectangle_top.tpl files, dumped the images into the tables and it worked fine. But I now want to set them as background images so i can over-lay menus, text etc.

after messing about with various table attributes I got as close as i could with tables using this:

Code:
<td height="52" width="988" style="margin-left:auto; background-image:url(images/footer.jpg); background-repeat: no-repeat">Text Text Text</td>

but I can't get it quite right and i want to use CSS. So I tried this:

in the table
Code:
<td class="new_footer"></td>

in the CSS
Code:
TD.new_footer { background-image: url(images/footer.jpg) top left repeat-x; }

but the image isn't even appearing. can anybody see where I might be going wrong?
__________________
Linux
X-Cart 4.1.11
Reply With Quote