A new home

I’ve made the move to WordPress!

You should be automatically redirected in 5 seconds. Please visit World Wide Code on Wordpress

Hope to see you there!
Showing posts with label HTML5. Show all posts
Showing posts with label HTML5. Show all posts

Friday, November 18, 2011

HTML5 on IE8


Many of you must have read that older browsers like IE7 and IE8 do not support HTML5.
Well, there is a workaround for this purpose. Add the following code to your HTML5 website to get it working on theses ”outdated” browsers.(Sorry WinXP users you have to use IE8 :( )
<!--[if lt IE 9]>
<script type="text/javascript" src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<style type="text/css">header,nav,section,article,aside,footer,hgroup { display: block;}</style>
<![endif]-->
Related Links

Laying out HTML with CSS Grids


Grid Layout contains features targeted at web application authors. The Grid can be used to achieve many different layouts. It excels at dividing up space for major regions of an application, or defining the relationship in terms of size, position, and layer between parts of a control built from HTML primitives.
Like tables, the Grid enables an author to align elements into columns and rows, but unlike tables, the Grid doesn’t have content structure, and thus enables a wide variety of layouts not possible with tables. For example, the children of the Grid can position themselves with Grid Lines such that they overlap and layer similar to positioned elements

HTML5 Video Support in IE9 Mobile

HTML5 video is one of the most visible and easily adoptable features of the HTML5 standard. With the Mango release, Microsoft is adding support for the HTML5 <video> tag to the browser in a way that is standards-compliant, hardware-accelerated, and optimized for a mobile viewing experience. YouTube is already taking advantage of this support as they rolled out a new mobile site tailored for the Mango browser.

  • Same Implementation on Mobile and Desktop
  • Optimized Playback Experience 
  • Flash / HTML5 Video Coexistence