Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Image disappearing in IE

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-04-2011, 11:10 AM
  fuerein's Avatar 
fuerein fuerein is offline
 

Newbie
  
Join Date: Jan 2011
Posts: 2
 

Default Image disappearing in IE

Hopefully someone can help me with this. I am using the webmaster mode of XCart to edit the images on my page. I have it so it looks just like I want in Firefox but when I load it in IE the one image is missing. What I want is something like:

XXXXXAAA
XXXXXBBB

Where the Xs indicate a single image, the As a single image and the Bs a third single image.

It displays like that in Firefox but the B image is completely missing in IE. The code I'm using is below, I've tried a couple varients but nothing gets the image in the lower right to display in IE.

Code:
<p> <img align="left" alt="Antiochian Village Bookstore and Giftshop" height="200" src="http://store.antiochianvillage.org/skin1/images/Custom/Lent Banner Left.gif" width="550" /><a href="http://www.facebook.com/pages/Antiochian-Village-Bookstore-Giftshop/214753048541529"><img align="left" alt="Like us on Facebook" height="100" src="http://store.antiochianvillage.org/skin1/images/Custom/Lent Banner Right Upper.gif" width="180" /></a></p> <p> <a href="http://store.antiochianvillage.org/Newsletters_and_Promotions.html"><img alt="Sign up for our newsletter" height="100" src="http://store.antiochianvillage.org/skin1/images/Custom/Lent Banner Right Lower.gif" width="180" /></a></p>

I've reverted back to the old setup until I can find a way to make it render correctly in IE. If anyone has an idea why it is rendering the images oddly I would appreciate the input.
__________________
XCart Gold 4.3.1
Reply With Quote
  #2  
Old 04-08-2011, 05:57 AM
 
ScrapOrchard ScrapOrchard is offline
 

eXpert
  
Join Date: Mar 2008
Posts: 243
 

Default Re: Image disappearing in IE

For starters, the align="left" in your image is probably not necessary, this usually only is used if there is text that you want to wrap around the image.

Second, I would rename your image files so there aren't any spaces.

Lastly, if you are familiar with CSS, create a class for a div and float it to the left in your CSS file, like:

div.lentBanner550 {
float: left;
width: 550px;
}

div.lentBanner180 {
float: left;
width: 180px;
}

then replace the existing code with:

<div class="lentBanner550"><img align="left" alt="Antiochian Village Bookstore and Giftshop" height="200" src="http://store.antiochianvillage.org/skin1/images/Custom/Lent Banner Left.gif" width="550" /></div>

<div class="lentBanner180"><a href="http://store.antiochianvillage.org/Newsletters_and_Promotions.html"><img alt="Sign up for our newsletter" height="100" src="http://store.antiochianvillage.org/skin1/images/Custom/Lent Banner Right Lower.gif" width="180" /></a></div>



If you aren't familiar with CSS, I would just replace the existing code with something like:

<div style="float: left;"><img align="left" alt="Antiochian Village Bookstore and Giftshop" height="200" src="http://store.antiochianvillage.org/skin1/images/Custom/Lent Banner Left.gif" width="550" /></div>
<div style="float: left;"><a href="http://store.antiochianvillage.org/Newsletters_and_Promotions.html"><img alt="Sign up for our newsletter" height="100" src="http://store.antiochianvillage.org/skin1/images/Custom/Lent Banner Right Lower.gif" width="180" /></a></div>



It may or may not produce the desired results, but hopefully this will get you started.
__________________
www.scraporchard.com
X-Cart Pro Version 4.5.5

Altered Cart: One Page Checkout, OnSale, Buy Together, Download Expander, Smart Search, Shop by Filters
Gahela: Gahela Support System
The xCart Store: xBanners, xAccess, xMenus
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:40 AM.

   

 
X-Cart forums © 2001-2020