Universal CSS Navigation Menu Support Product Page
Answered
Menu is a big black blob in IE 7,8,9
Asked 04 Oct 2012 00:56:29
1
has this question
04 Oct 2012 00:56:29 Chuck Borrelli posted:
I constantly have problems with the menu in IE 9.This menu was fine until the recent update, and now it is broken in all versions of IE.
www.perchpub.com
on every page.
It works on every browser EXCEPT IE.
I updated the site using DWCS6 on Mountain Lion
Replies
Replied 04 Oct 2012 06:13:47
04 Oct 2012 06:13:47 Teodor Kuduschiev replied:
Hello Chuck,
The menu is "Broken" because your page code is wrong, which makes the IE to start in "Quirks" mode, not available to detect the document type:
Click here to see the screenshot
The reason this happens are the first few lines of your code, according the W3C Validator:
And this is the exact code wrong:
The menu is "Broken" because your page code is wrong, which makes the IE to start in "Quirks" mode, not available to detect the document type:
Click here to see the screenshot
The reason this happens are the first few lines of your code, according the W3C Validator:
Line 1, Column 1: no document type declaration; will parse without validation <script src="scripts/detectmobilebrowser.js" type="text/javascript"></script>
Line 3, Column 3: "DOCTYPE" declaration not allowed in instance <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.o… ✉ Error Line 4, Column 43: document type does not allow element "HTML" here …l xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates…
And this is the exact code wrong:
<script src="scripts/detectmobilebrowser.js" type="text/javascript"></script> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/pptemp.dwt.php" codeOutsideHTMLIsLocked="false" --> <head>
Replied 05 Oct 2012 02:26:27
05 Oct 2012 02:26:27 Chuck Borrelli replied:
thank you that worked