CSS Drop-down menus

Discussion in 'CSS' started by entity, Feb 27, 2010.

  1. #1
    I have been scouring the net for CSS menus as an alternative to SoThink DHTML Menu and have just discovered csshover3.htc.
    What is the latest opinion on the use of this file?

    What I have done is:
    1. I have downloaded the file csshover3.htc found at http://www.xs4all.nl/~peterned/csshover.html and put it into my js folder.
    2. In my CSS I have body {behavior:url("js/csshover3.htc");}
    3. I have used the code CSS2 Drop-down Menus at http://www.websiteoptimization.com/speed/tweak/cssmenus/
    Is this all there is to it?
     
    entity, Feb 27, 2010 IP
  2. typingmums

    typingmums Well-Known Member

    Messages:
    1,446
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    140
    #2
    typingmums, Feb 27, 2010 IP
  3. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #3
    I love PeterNed's HoverAnywhere (aka CSShover3.htc) - You write the menu as you would for standards compliant browsers, then in the CSS JUST target IE6 for functionality. It's a simple elegant solution to the problem, and my weapon of choice.

    Especially since it means none of that IE conditional comment bullcookies people seem to have a raging chodo for ... for no fathomable reason. Few haslayout triggers, inline fix for margin doubling on floats, toss in that behavior file and a simple expression or two making up for missing properties like min-width and max-width, and your done supporting IE6, and often all the way back to IE 5.5 without making change one to the markup... But again, Markup should say what things are, Appearance? That's CSS' job!

    Which with CSS and .htc's being cached, should save you bandwidth in the long term and reduce CPU processing time if slicing it up into a CMS; Since they are also static files.
     
    deathshadow, Feb 27, 2010 IP