I can find why css menu tutorial won't work in Internet Explorer

Q: When I create menus with your application, they work just fine in all browsers. However, when I try integrating the menus into a website, they don’t work in Internet Explorer. Is there some Doctype code that has to be inserted to force IE to read CSS3 menus correctly. I’ve noticed that when I view a menu in IE. if I go to the F12 tools and and put it into IE9 mode, the menus display just fine. Unfortunately, IE9 seems to always open in “Quirks” mode - whatever that is, and don’t show the menus correctly by default.

The web application I’m using is Serif WebPlus X2. The standard doctype code that is inserted into WebPlus pages is:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN”>

This cannot be changed within the application, but can be changed after publishing by editing the HTML pages directly.

This is a really annoying problem - particularly i view of the fact that the HTML page generated by your application has no problems.

Any advice would be greatly appreciated.

A: Your doctype declaration is not complete.

Please, add the doctype declaration for universal compatibility:

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

Related