SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Addict
    Join Date
    Sep 2008
    Location
    Rudgwick, UK
    Posts
    377
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    IE quirk? Working in FF and Chrome

    Hi,

    For some reason, this page doesn't wanna work in IE:

    Cool CSS Expanding Menu Example Page

    Can anyone suggest what may be wrong? It perfect in FF and Chrome - so maybe an IE quirk?

    TIA!

    Andy

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,281
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    You don't have a doctype so all versions of IE behave more like IE5 than anything built this century. IE5 (and 6) don't understand hover on anything but anchors.

    Add a full doctype and IE7 and upwards should work ok without js etc.

  3. #3
    SitePoint Addict
    Join Date
    Sep 2008
    Location
    Rudgwick, UK
    Posts
    377
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Argh, now I feel stupid Thanks - that fixed it

    Still wish IE 6 had an "update" to support this kinda stuff (I doubt many people still use IE, but its still a smaller percentage of users on my own sites, so we have to *try* and cater, where possible )

    Thanks again

    Andy

  4. #4
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,281
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    Remove the first conditional comment also as it is hitting ie8 and above which don;t need it.

    Remove this:
    Code:
    <!--[if IE]>     <style type="text/css" media="screen">      #menu ul li {float: left; width: 100%;}     </style> <![endif]-->
    The behaviour file you have attached will provide IE6 support but still relies on JS being switched on though.

  5. #5
    SitePoint Addict
    Join Date
    Sep 2008
    Location
    Rudgwick, UK
    Posts
    377
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, will do

  6. #6
    SitePoint Addict EarlyOut's Avatar
    Join Date
    Mar 2011
    Location
    Sector R
    Posts
    280
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ultranerds View Post
    Still wish IE 6 had an "update" to support this kinda stuff ...
    It does. It's called IE9.

  7. #7
    SitePoint Addict
    Join Date
    Sep 2008
    Location
    Rudgwick, UK
    Posts
    377
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    LMAO - I just wish my visitors understood that all this "backward compatability" stuff does my head in!


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
  •