Killersites Community: HTML5 tags background won't show in IE7 or IE8 - Killersites Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

HTML5 tags background won't show in IE7 or IE8

#1 User is offline   benjaminmorgan 

  • PipPipPipPip
  • Group: Member
  • Posts: 237
  • Joined: 18-September 11

Posted 26 February 2012 - 02:26 AM

This works perfectly in IE9 but if I have a section tag with a background it won't work in ie6, iE 7 or IE8, If i change the section tag to a div tag it works like it should, why can't i do it with the section tag?
I have even declared the section tag display: block;

Hopefully someone can help
Things should be made as simple as possible, but not any simpler. -Albert Einstein
0

#2 User is offline   Wickham 

  • PipPipPipPip
  • View gallery
  • Group: Advanced Member
  • Posts: 1,731
  • Joined: 20-December 08
  • LocationSalisbury UK

Posted 26 February 2012 - 04:15 AM

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.
0

#3 User is offline   benjaminmorgan 

  • PipPipPipPip
  • Group: Member
  • Posts: 237
  • Joined: 18-September 11

Posted 26 February 2012 - 11:00 AM

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?
Things should be made as simple as possible, but not any simpler. -Albert Einstein
0

#4 User is offline   Wickham 

  • PipPipPipPip
  • View gallery
  • Group: Advanced Member
  • Posts: 1,731
  • Joined: 20-December 08
  • LocationSalisbury UK

Posted 26 February 2012 - 12:10 PM

benjaminmorgan, on 26 February 2012 - 04:00 PM, said:

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.
0

#5 User is offline   benjaminmorgan 

  • PipPipPipPip
  • Group: Member
  • Posts: 237
  • Joined: 18-September 11

Posted 27 February 2012 - 09:28 PM

Thanks for all your help
Things should be made as simple as possible, but not any simpler. -Albert Einstein
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users