Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2011
    Posts
    12
    Plugin Contributions
    0

    Default My buttons are not working properly in Internet explorer 7 or lower version

    Hi,

    My button works fine in firefox, mac and internet explorer 8. But it doesn't work on internet explorer 7 or lower version. Could anyone point me to the right direction of what is not working in my code?

    http://er2.com.au/index.php?main_page=index

    Works fine in firefox:

    Click image for larger version. 

Name:	firefox.jpg 
Views:	141 
Size:	20.4 KB 
ID:	9758

    But not working in IE6/7:

    Click image for larger version. 

Name:	IE6.jpg 
Views:	162 
Size:	21.3 KB 
ID:	9759

    Please help! I want them look all the same on all version of browser.

  2. #2
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: My buttons are not working properly in Internet explorer 7 or lower version

    That's a browser compatibility issue, not a Zen Cart issue. Only about 3% to 4% of netizens are still using IE7 and IE6, so don't worry about it.

  3. #3
    Join Date
    Mar 2010
    Posts
    251
    Plugin Contributions
    0

    Default Re: My buttons are not working properly in Internet explorer 7 or lower version

    Quote Originally Posted by evaky View Post
    Hi,

    My button works fine in firefox, mac and internet explorer 8. But it doesn't work on internet explorer 7 or lower version. Could anyone point me to the right direction of what is not working in my code?

    http://er2.com.au/index.php?main_page=index

    Works fine in firefox:

    Click image for larger version. 

Name:	firefox.jpg 
Views:	141 
Size:	20.4 KB 
ID:	9758

    But not working in IE6/7:

    Click image for larger version. 

Name:	IE6.jpg 
Views:	162 
Size:	21.3 KB 
ID:	9759

    Please help! I want them look all the same on all version of browser.
    You can use the following in your css with ie7 - for example -

    *margin-left: -3em;

    or ie6

    _margin-left: -3em;

    The asterisk and underscore is a css hack that only applies to ie 7 or 6. Should you need to make a change in ie8 only you can use /9 - for example -

    margin-left: -3em/9;

    Hope this helps.

  4. #4
    Join Date
    Oct 2011
    Posts
    12
    Plugin Contributions
    0

    Default Re: My buttons are not working properly in Internet explorer 7 or lower version

    Thanks a lot!

    However, I still have one problem in the coding. In IE6/7, the free shipping image is moved to the top and overlap with the Price. Which code I can control the Free shipping image to align at the bottom?

    Click image for larger version. 

Name:	Help.jpg 
Views:	109 
Size:	20.2 KB 
ID:	9772

    Eva

  5. #5
    Join Date
    Mar 2010
    Posts
    251
    Plugin Contributions
    0

    Default Re: My buttons are not working properly in Internet explorer 7 or lower version

    Quote Originally Posted by evaky View Post
    Thanks a lot!

    However, I still have one problem in the coding. In IE6/7, the free shipping image is moved to the top and overlap with the Price. Which code I can control the Free shipping image to align at the bottom?

    Click image for larger version. 

Name:	Help.jpg 
Views:	109 
Size:	20.2 KB 
ID:	9772

    Eva
    Hi,

    You need to either float that image left or right and use clear:right, clear:left or clear:both, whichever works. The image should fall into position under the rest and then you could use either margin-left or right to position it where you want.

    If it doesn't fall into position you could try margin-top to push it down or if that doesn't work rearrange the html into order so that it is meant to be positioned under the rest.

    Remember to use the css hacks so that it doesn't change its appearance in firefox or compatible browsers.

  6. #6
    Join Date
    Oct 2011
    Posts
    12
    Plugin Contributions
    0

    Default Re: My buttons are not working properly in Internet explorer 7 or lower version

    Sorry, I am very dumb here, is it meant I need to add "Float: left and Clear: both in the following code:


    .itemCartAdd+img {
    position: absolute;
    top: 227px;
    left: 27.5%;
    _margin-left: -7em;
    *margin-left: -7em;
    float: left
    Clear: both
    }

    I try but the image not force to the bottom. Could you please leading me to the right direction?

    Thanks!

    Eva

 

 

Similar Threads

  1. v150 Popup Image not showing properly in Internet Explorer 9
    By robin339 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 Jul 2012, 02:29 AM
  2. Product Text Box Not Aligning Properly in Internet Explorer
    By JGiacchi in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 6 Nov 2008, 07:30 PM
  3. Replies: 1
    Last Post: 31 Oct 2008, 07:28 PM
  4. Featured scroller sidebox add-on not displaying properly in Internet explorer 7
    By chrismonroe in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Dec 2007, 08:43 PM
  5. Cross Sell display items not showing properly on Internet explorer 7
    By kingster147 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 20 Jan 2007, 12:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg