Wednesday, October 31, 2012

website won't show menu in internet explorer | DaniWeb

If you are starting to develop this site, why not go with an HTML5 Doctype? This doesnt mean that you have to include new elements introducted in HTML5.

The HTML5 page structure is as follows...

<!DOCTYPE html> <html lang="en">   <head>     <meta charset="utf-8" />     <title>Example document</title>     <link href="stylesheet.css" rel="stylesheet"/>     <script src="script.js"></script>   </head>   <body>     <p>Example paragraph</p>   </body> </html> 
JorgeM

Postaholic

2,152 posts since Dec 2011

Reputation Points: 111

Solved Threads: 261

?

Ok, so I took a look at the source code of your website. My first suggestion to you is to clean up your page structure.

For example, you didnt close the <head> element. You didnt include the <body> element and didnt close the <html> element either.

This is going to cause different browsers to render the page differently. Browsers will try to render the elements as best they can, but it is best to follow standards.

In your case, if you are trying to apply a strict doctype, these things that I mentioned are very important.

again, I would suggest to you look at the sample structure that I provided earlier. I didnt see any specific HTML5 elements on your page so the structure I provided will work perferctly and be supported accross the different browsers.

JorgeM

Postaholic

2,152 posts since Dec 2011

Reputation Points: 111

Solved Threads: 261

?

@GliderPilot,

The reference to the HTML5Shiv on that page is not being used. The DOCYTPE is not set for HTML5, and there are no HTML5 elements on the page. If you read the previous posts, the OP is not interested in the HTML5 structure, but I was suggesting that since the page can be easily fixed and be HTML5 compliant and ready.

JorgeM

Postaholic

2,152 posts since Dec 2011

Reputation Points: 111

Solved Threads: 261

?

I didnt see the <nav> element. thanks for pointing that out.

JorgeM

Postaholic

2,152 posts since Dec 2011

Reputation Points: 111

Solved Threads: 261

?

This thread can be set to solved.

JorgeM

Postaholic

2,152 posts since Dec 2011

Reputation Points: 111

Solved Threads: 261

?

Source: http://www.daniweb.com/web-development/web-design-html-and-css/threads/438598/website-wont-show-menu-in-internet-explorer

ufc diaz vs condit josephine baker super bowl start time target jason wu gi joe jason wu for target collection jason wu

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.