#1
  1. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Location
    Cheltenham, UK
    Posts
    241
    Rep Power
    19

    Conditionals broked in IE6 and older


    Hi There,

    I added a css dropdown menu to a dev site I am working on and although it works just fine in IE7 and FF it is broked in IE 6 & <

    Here is the page

    It seems that the IE conditional statements are kicking in for browsers older than and including IE6, but it just busts the menu - I've tried all sorts but to no avail.

    It is the 'browse' menus.

    Any pointers would be greatly appreciated
    beardo ;0)
    -------------------------------
  2. #2
  3. The Signal:: It's everywhere!
    Devshed Novice (500 - 999 posts)

    Join Date
    Aug 2007
    Location
    Sydney
    Posts
    549
    Rep Power
    497
    You are doing the right thing by using conditional statements, but you are going about it the wrong way.

    What I would do, is set a IF LTE IE6, use this style sheet.

    HTML Code:
    <!--[if lte IE 6]>
    <link rel="stylesheet" href="/css/LuckyZoomIE6.css" type="text/css" media="screen" />
    <![endif]-->


    Then in the LuckyZoomIE6.css file, add the css declarations for the areas you want targeted by IE6 and below.

    Quirksmode Con Statements
    Last edited by zer0efx; March 5th, 2008 at 07:04 PM. Reason: code tags and Quirksmode link
    Check out my Blog site if you want a good laugh, Google travelingwebguy or..
    The Official TravelingWebGuy
    Business site => New Blog Site

IMN logo majestic logo threadwatch logo seochat tools logo