View Single Post
  #1  
Old 11-13-2008, 09:46 AM
 
tbm tbm is offline
 

Advanced Member
  
Join Date: Nov 2008
Posts: 39
 

Default linking templates to the style sheet

hey folks, looking for a bit of help. i've added an image to welcome.tpl but now i want to add styles to the table the image is sitting in. here's the code i added to the template file:

<table width="100%" border="0" cellspacing="0" cellpadding="0" class="frontpage">
<tr>
<td><img src="{$ImagesDir}/front_page1.jpg"></td>
<td>{$lng.txt_welcome}</td>
</tr>
</table>

and i added the following to the skin1.css:

table.frontpage td {
VERTICAL-ALIGN: top;
TEXT-ALIGN:right;
}

but the style isn't being reflected in the template. can anybody see where i'm going wrong?
__________________
Linux
X-Cart 4.1.11
Reply With Quote