Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    May 2009
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Problem with CSS drop down menu in IE

    Hi,
    I've been working on this site for one of my professors at my university and I'm having some problems getting the drop down menu I used for the site to work in IE. I followed the tutorial here and the menu looks great and works great in Firefox but it doesn't in IE. So I then implemented the fix that the site suggests for IE but it still doesn't work and I have no idea why. I got the file that the tutorial says I need and I placed it in my site's root directory. So I don't think that that's the problem. I also checked out the tutorial site's example menu in IE and it works great so I know that their method works. The site that I'm working on can be found here. Any advice that anyone can offer would be greatly appreciated.

    Thanks,
    toastedsock

  • #2
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,957
    Thanks
    9
    Thanked 727 Times in 721 Posts
    It's your doctype.

    Change

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    to:

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    and give that a try.

  • Users who have thanked SB65 for this post:

    toastedsock (05-07-2009)

  • #3
    New to the CF scene
    Join Date
    May 2009
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Thanks man that did it. If you have the time could you explain to me why that works?

  • #4
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,865
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    Quote Originally Posted by toastedsock View Post
    Thanks man that did it. If you have the time could you explain to me why that works?
    Check http://www.alistapart.com/articles/doctype
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #5
    New to the CF scene
    Join Date
    May 2009
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts
    That's awesome. Thanks for all the help.


  •  

    Tags for this Thread

    Posting Permissions

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