Email conversation
From | Larry Cryderman |
To | Me |
Subject | Great site and info! ...THANKS ! |
Date | 22 December 2006 12:17 |
Hi,
I just wanted to thank you for the great site and info on CSS
menus. I researched this a great deal and your method is by far the best
and most straight forward I found.
I wanted to let you in on a little fact I stumbled upon. We
support 3 browsers, IE 6, Firefox, and IE 7. Your menu on our site
worked on IE 6 and Firefox right away, but on IE 7 it was terribly broke
(the li's that should have been were not hidden). But your site's menu's
worked fine in IE 7. Hmmm, lots of head scratching. Then I found the one
difference between your page and ours, here's the difference:
Yours:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
Ours
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01">
When I used your DOCTYPE statement all was fine in all browsers.
If you want to check out our implementation on our beta site go
to [URL] it's the menu on the
left. I think it looks best in IE 7.
Thanks again and Happy Holidays!
Larry Cryderman
From | Me |
To | Larry Cryderman |
Subject | Re: Great site and info! ...THANKS ! |
Date | 22 December 2006 12:29 |
Larry,
> We support 3 browsers, IE 6, Firefox, and IE 7.
Hrms, no Opera, and no mac browsers either (Safari is the default there -
Firefox is not popular on Mac, and IE Mac is dead) :(
But you will be happy to know that it all seems to work fine in Opera, so
those of us who use Opera can use your site :)
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
> "http://www.w3.org/TR/html4/strict.dtd">
Yes, you have to use a DOCTYPE that triggers IE's "standards" rendering
mode, in whichever IE version you want to support. Note however, that you
are not using strict HTML, you are using transitional, so you should use the
equivalent transitional doctype.
Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/
From | Larry Cryderman |
To | Me |
Subject | Re: Great site and info! ...THANKS ! |
Date | 22 December 2006 14:06 |
Thanks for your reply.
You made a good point on our site's pages being DOCTYPE TRANSITIONAL.
I changed all pages to the following:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
That fixed IE 7's rendering of the menu...but really messed up the
rendering of page content so I had to change them back.
Any ideas on how to overcome this? We need to support IE 7, but can't
make changes to so many pages.
Larry Cryderman
From | Me |
To | Larry Cryderman |
Subject | Re: Great site and info! ...THANKS ! |
Date | 22 December 2006 14:49 |
> Any ideas on how to overcome this? We need to support IE 7, but can't
> make changes to so many pages.
Well, at a guess, this means that your pages fall apart on the
almost-standards-mode used when you have a complete transitional doctype.
Pity. Oh well, just use the strict doctype then. It's wrong, and it really
is best to make the pages use the correct one, but your pages (which are
nowhere near validating anyway ;) ) need the completely strict response,
even though they use many parts of transitional markup.
Doing it properly will be a _lot_ of work. It's worth doing in the long run
to get predictable results, but if you need this to work quickly, I doubt
you can do everything that is needed, so you will have to take the easy way
out.
You are not alone here - countless pages do the same thing.
From | Larry Cryderman |
To | Me |
Subject | Re: Great site and info! ...THANKS ! |
Date | 22 December 2006 14:55 |
Thanks.
I joined this team a year ago and have been correcting things I come
across (sigh).
Larry Cryderman