Public repo for the latest HTML5 JavaScript shiv for IE to recognise and style the HTML5 elements.
Full original, uncompressed source available here: https://github.com/aFarkas/html5shiv
Source code adds new HTML5 elements (which is simple code), but also supports printing HTML5 elements and includes the default styles for HTML5 elements, like block on article and section.
Getting it to work in the browser was easy, @jon_neal and afarkas made IE actually print HTML5 elements - these guys are to take all the credit. Please take a moment to thank them!
To use this script, it must be included before the <body> element (i.e. in the <head>) but doesn't matter if it appears before or after the CSS - but for the sake of performance, it would make better sense to include the CSS first then this script.
<!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]-->
分享到:
相关推荐
Weaving together hands-on techniques and fundamental concepts, you’ll learn how to make usability the cornerstone of your design process. Each technique chapter explains a specific approach you can ...
could not create the java virtual machine 解决办法,已亲自实践,放心使用
Originally developed as a way to describe and share scientific papers, HTML is now used to mark up all sorts of documents and create visual interfaces for browser-based software. With HTML5, however,...
As part of the "You Don't Know JS" series, this concise yet in-depth guide focuses on new asynchronous features and performance techniques—including Promises, generators, and Web Workers—that let ...
Now, you don’t need to dive headfirst into Objective-C to write state-of-the-art applications for the iPhone. You can use web development tools and technologies you already know: JavaScript, HTML, ...
legacy support, and how the DOM redefined how events should workenhancing form interactions and working around browser limitationsusing the tag to create on-the-fly graphicsJavaScript API changes in ...
If you are wondering whether this book is going to teach you how to create amazing applets or incredible desktop or mobile applications, the answer is “no”—that is a job for other books....
The script is still in a very experimental state, so I don't recommend using it in a production environment nor start building applications with it yet, as there will be still major changes made. ...
You don't have to worry about questions slowing you down. Get fast and professional help while using our tools with Premium support. From our 24-hour support response guarantee to our knowledge-rich ...
You don't have to worry about questions slowing you down. Get fast and professional help while using our tools with Premium support. From our 24-hour support response guarantee to our knowledge-rich ...
As a user of the JavaMail API, you usually don't need to worry about these formats. However, these formats do exist and are used by your programs. NNTP and others Because of the split of the ...
using the <canvas > tag to create on-the-fly graphics JavaScript API changes in HTML5 how browsers handle JavaScript errors and error handling features of JavaScript used to read and manipulate XML ...
3D Game Programming for Kids: Create Interactive Worlds with JavaScript by Chris Strom English | 2013 | 308 Pages | True PDF, EPUB | 18 MB You know what's even better than playing games? Creating ...
CASTEP模块进行DFT计算CASTEP 模組提供了一個完整且容易使用的介面來操作 CASTEP/CETEP 計算物理與化學程式,這一個介面允許 你使用 Cerius2 Visualizer 所提供的交談式圖形介面與模擬環境來有效的發揮 CASTEP 的量子...
编译时报 Looking for pthread_create - not found 的解决办法 linux gcc 编译时报Looking for pthread_create - not found 其解决办法是...
You don't have to worry about questions slowing you down. Get fast and professional help while using our tools with Premium support. From our 24-hour support response guarantee to our knowledge-rich ...
You don't have to worry about questions slowing you down. Get fast and professional help while using our tools with Premium support. From our 24-hour support response guarantee to our knowledge-rich ...
You don't have to worry about questions slowing you down. Get fast and professional help while using our tools with Premium support. From our 24-hour support response guarantee to our knowledge-rich ...