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)
-   -   Problems with VertMenuLeft (https://forum.x-cart.com/showthread.php?t=45904)

gotpump 02-28-2009 10:50 AM

Problems with VertMenuLeft
 
So I've added some images to the left vert menu with the file buttonbox.tpl

What's happening is only in IE it's stretching the left colum out way larger then the images below. I have the same thing on the VertmenuRight without this effect.

Anyone know how to correct this problem?

What I have in my buttonbox.tpl is this

Code:


{* $Id: buttonbox.tpl,v 1.20 2005/11/17 06:55:36 max Exp $ *}
<div align="center"><a href="{$http_location}/promo-codes-amp-hot-deals.html"><img src="{$ImagesDir}/giftgirl.gif"/>
<div align="center"><a href="{$http_location}/promo-codes-amp-hot-deals.html"><img src="{$ImagesDir}/advergif.gif"/>


Any help would be great.

balinor 02-28-2009 10:53 AM

Re: Problems with VertMenuLeft
 
That's because you are missing the closing <div>. Also, never use http_location, as that will cause problems in https mode. Correct code is:

<div align="center"><a href="promo-codes-amp-hot-deals.html"><img src="{$ImagesDir}/giftgirl.gif" alt="" /></div>
<div align="center"><a href="promo-codes-amp-hot-deals.html"><img src="{$ImagesDir}/advergif.gif" alt="" /></div>

gotpump 02-28-2009 10:56 AM

Re: Problems with VertMenuLeft
 
Thank you once again!


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

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