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

JoeS 01-23-2012 06:18 AM

Header customization
 
I am trying to add a little image on the top right corner of my website, I am using the below code in the head.tpl:

<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="385" align="left"><a href="{$catalogs.customer}/home.php"><img src="{$ImagesDir}/logo1.jpg" alt="Logo" /></a></td>
<td width="254" ><a href="{$catalogs.customer}/home.php"><img src="{$ImagesDir}/spacer.gif" alt="Space" /></a></td>
<td width="411" align="right" VALIGN="top" ><a href="{$catalogs.customer}/home.php"><img src="{$ImagesDir}/lowshipping.jpg" alt="Low Shipping" /></a></td>
</tr>
</table>

The image is appearing on the right side, but it is not on the top corner, it appears low (same level as the logo's lower part), I added the VALIGN="top" but that did not make any difference.

Any help please? Thanks

N00dles 01-24-2012 03:31 AM

Re: Header customization
 
might need to make a css style for it and make it top right with that as it will be in some sort of class have a look at this site might help you out.


http://andrewpeace.com/css-top-right-corner-div.html


All times are GMT -8. The time now is 05:09 PM.

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