Ed Jacob

Navigation

Skip navigation.

Search

Site navigation

Email conversation

FromEd Jacob
ToMe
SubjectCSS Menu doesn't work in IE7
Date13 November 2006 14:42
Hi,

  First of all, I'd just like to say that I really appreciate all the hard
work you've put into your page. It's an incredible resource.

  If you don't mind, though, I'm having a lot of trouble using one of your
scripts, the Pure CSS Menu. It works just fine in Firefox, IE6 and Opera,
but does absolutely nothing in IE7. I have it up at:
[URL]. (Sorry, there are a lot of Japanese characters in it which will
probably look like garbage on your screen [Ed. not at all - I have japanese
fonts installed], but it's the menu on the left side of the page and I
think it should be obvious what the problem is).

  My theory: I'm wondering if I've saved the IEmen.htc file the wrong way. I
just created it as a text file. I did some searching but can't find much
information (that I could understand!) about .htc files.

  Thanks for being willing to provide support on your scripts. I've been
working on this for days and am getting really frustrated with both IE7's
and my stupidity.

Ed Jacob
FromMe
ToEd Jacob
SubjectRe: CSS Menu doesn't work in IE7
Date13 November 2006 16:04
Ed,

> the Pure CSS Menu. It works just fine in Firefox, IE6 and Opera, but does
> absolutely nothing in IE7.

You need to use a DOCTYPE that triggers "standards" rendering in IE 7.

If you are using strict HTML, use this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

If you are using transitional HTML (which you are), use this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">


Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/
FromEd Jacob
ToMe
SubjectRe: CSS Menu doesn't work in IE7
Date14 November 2006 15:11
Hi,

> If you are using transitional HTML (which you are), use this:
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/html4/loose.dtd">

Ohhhhhh. So simple. Thanks so much for both the script and your
help.

Ed
This site was created by Mark "Tarquin" Wilton-Jones.
Don't click this link unless you want to be banned from our site.