osCmax v2.5 User Manual
Results 1 to 9 of 9

Corner banners dont line up in IE9

This is a discussion on Corner banners dont line up in IE9 within the osCMax v2 Features Discussion forums, part of the osCmax v2.0 Forums category; I just upgraded to the 2.5 RC1 and it works great. I do notice that the corner banners are way ...

      
  1. #1
    Member suntech's Avatar
    Join Date
    Jul 2010
    Posts
    48
    Rep Power
    0


    Default Corner banners dont line up in IE9

    I just upgraded to the 2.5 RC1 and it works great. I do notice that the corner banners are way off to the left when I view with IE9 but look fine in Firefox.
    Most likely some sort of CSS issue not sure.
    Anyne know of a fix?

    Thanks,
    Tim

  2. #2
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: Corner banners dont line up in IE9

    The Corner Banners already have seperate alignment CSS fixes in the code for IE6, 7 and 8! So no doubt we will need to come up with yet another fix for the latest pile of rubbish from Microsoft.

    0000822: Mircosoft Internet Explorer Layout Issues - osCmax Bug Tracking System

    Thanks for reporting,

    Regards,
    pgmarshall
    _______________________________

  3. #3
    osCMax Development Team met00's Avatar
    Join Date
    Oct 2005
    Location
    wherever I happen to be at the moment
    Posts
    854
    Blog Entries
    2
    Rep Power
    26


    Default Re: Corner banners dont line up in IE9

    There are standards based web browsers, and then there is Micro$oft. I swear I'm going to add a piece of jquery that determines if someone is using Micro$oft and put in a popup that says "You are using a non-standard based browser, may we suggest you upgrade to a free browser which follows standards" and has a link to chrome and firefox, and place it on all my, and my clients websites.
    so endith the lesson
    <think>sometimes I just sit's and thinks</think>
    "Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB

  4. #4
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: Corner banners dont line up in IE9

    <!-- PGM fix for Corner Banners in Internet Explorer -->
    <!--[if IE]>
    <style>
    img.corner_banner { display:inline-block; margin-left:-105px; margin-top:-7px; position:absolute; }
    </style>
    <![endif]-->
    If you look in includes/modules/product_listing_col.php ... you will find the above which obviously needs adjusting for IE9. Can someone who has IE9 on their PC test this out ...

    The first line needs to be
    <!--[if lte IE 8]>

    to adjust IE8 and below ... if IE9 needs adjusting then we need add another IE specific CSS using ...

    <!--[if IE 9]>

    Regards,
    pgmarshall
    _______________________________

  5. #5
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: Corner banners dont line up in IE9

    Borrowed a Windows 7 machine running IE9 - looks like the conditional CSS is NOT needed for IE9.

    Regards,
    pgmarshall
    _______________________________

  6. #6
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: Corner banners dont line up in IE9

    r1342 - oscmax2 - osCmax - osCommerce Maximized - Google Project Hosting

    Please can someone test this to see if it works properly?

    Thanks,
    pgmarshall
    _______________________________

  7. #7
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    1 out of 1 members found this post helpful.

    Default Re: Corner banners dont line up in IE9

    Looks like IE6 (and IE7 - I think) is finally on the way out ... hooray!

    Internet Explorer 6 Countdown

    Even MS have decided it is time for IE6 to die.

    Regards,
    pgmarshall
    _______________________________

  8. #8
    Member dalogar's Avatar
    Join Date
    Dec 2010
    Posts
    64
    Rep Power
    13


    Default Re: Corner banners dont line up in IE9

    Quote Originally Posted by pgmarshall View Post
    Looks like IE6 (and IE7 - I think) is finally on the way out ... hooray!

    Internet Explorer 6 Countdown

    Even MS have decided it is time for IE6 to die.

    Regards,
    I can't believe this, I think this is one of the happiest days of my life...Thank you pgmarshal for these excelent news!

  9. #9
    Lurker
    Join Date
    Jul 2011
    Location
    Fort Worth, Texas
    Posts
    2
    Rep Power
    0


    Default Re: Corner banners dont line up in IE9

    Im using OscMax 2.5 RC1 and just came across a similar alignment problem with Firefox 8.0: Corner banners are not lining up but are positioned right in the center of a product image. Not a pretty view since part of the images are covered by the banners. Problem does not exist in list view, positioning is correct there.
    Since this tread is not very new, I don't know what happened to the MS Internet Explorer problems in the meantime, but found a (weird) solution that works for me:

    In "product_listing_col.php" I have changed the code as follows:

    <!-- PGM fix for Corner Banners in Internet Explorer -->
    <!--[if !IE 9]>
    <style>
    img.corner_banner { display:inline-block; margin-left:-105px; margin-top:-7px; position:absolute; }
    </style>
    <![endif]-->

    <!--[if IE9]>
    <style>
    img.corner_banner { display:inline-block; margin-left:-105px; margin-top:-7px; position:absolute; }
    </style>
    <![endif]-->
    <!-- PGM SORT ORDER, NUMBER DISPLAY, GRID SWITCH -->

    My really weird findings were:
    1. the first IF condition applies to IE versions < 9 and there must be a blank in between IE and version number 9 (that's the way it should be according to MS).
    2. the second IF condition applies to IE version 9 and must not contain a blank between IE and version number (that's not the way it should be, but it was the only way I got it to work).

    If anyone would like to try it, I suggest to copy and paste the code as it is.
    Have tested the code with IE 6,7,8, Firefox 2,3.5,3.6 and 4, Opera all recent versions - it looks fine, except for Firefox 8. You can see what I am talking about on my website fairy4u.com A Jewelry Store and A Fairy Shop :

    Does anybody know what's going on with the Firefox 8 banner alignment problems or is there perhaps a solution somewhere?

    Thanks, Dieter

Similar Threads

  1. "Top" Link Located top left corner of catalog.
    By bgharder in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 01-30-2005, 04:35 AM
  2. Removing the rounded corner from the "New For..."
    By cvc505 in forum osCommerce 2.2 Modification Help
    Replies: 4
    Last Post: 04-28-2004, 07:59 AM
  3. reset the date display at the lower right corner
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 5
    Last Post: 11-19-2003, 09:21 PM
  4. How to offset the time & date on bottom left corner ?
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 09-16-2003, 10:21 PM
  5. bottom right corner text ?
    By anset in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 08-26-2003, 09:48 AM

Bookmarks

Posting Permissions

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