I have some strange issues with the whatever:hover .htc script from here, I use it without problems on this site but there’s the target a button-element, a drop-down…just form elements to make it simple. I was stunned by the simplicity of this script (yeah, I read that it’s not valid and so on, but what to do with this crap of IE…) and wanted it to use in the project here (it’s a developement page and far from perfect!).
The script works from time to time, that’s the frustrating thing on this one =)…to be more precise: It works, when you go on the page with IE, and then hit F5 and suddenly the li:hover works (FF and Chrome don’t have any problems with it…like most of the time). I thought first, it has to be a problem with the php include_once for the head section (and in there are the css files) so I pulled the behavior: url(csshover3.htc); out of the css file and made it inline css on the body-tag of just the pages I needed it (Profil, Kontakt) but that didn’t help.
It simply looks like that:
I also had it in the normal style.css as also in the style_4_crappy_ie.css and also as separate <style></style>…and now I don’t know further^^, searched in the net but found nothing helpful, just another solution called "Suckerfish" from here, I didn’t try it until now, because somehow I like the whatever:hover-way, it’s not valid but elegant =)…
maybe somebody of you guys ever had the whole :hover-Problem with IE and knows a good solution to it? The main goal is to make a li-tag "hoverable" in IE, any ideas are welcome =)!
thx in advance for your help!
and the css for it (it’s just the part in the style_4_crappy_ie.css, normally I would like to do it with :hover and so do I with real browsers…):
BUUUT =), I’m getting crazy about a very little detail I thought I have in 2 seconds but NOOO, I’m on it for over 2 hours and I don’t get it…