Jump to content
StudioWeb Forums

HTML5 tags background won't show in IE7 or IE8


Recommended Posts

The new HTML5 tags like section, aside, footer aren't supported by older IE versions unless you use a javascript shiv or shim file. Look at this page

http://www.wickham43.net/html5.php

and include

   <!--[if lt IE 9]>
   <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
   <![endif]-->

in your head section and make sure that ActiveX is enabled in older IE versions.

Link to post
Share on other sites

Thanks so much, I have another question, is there any way to make sure ActiveX is auto enabled instead of them having to click allow blocked content?

 

No, you can't assume that all users will have IE activeX enabled, but most do. For important parts of a website it's probably safer to use an id or class and avoid the new html5 sections.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...