`
haohappy2
  • 浏览: 327476 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

create tag for the browser don't support HTML5

 
阅读更多

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]-->

分享到:
评论

相关推荐

    DB.Browser (sqlite for mac)

    5. **SQL编辑器**: 内置的SQL编辑器支持编写复杂的SQL语句,包括SELECT、INSERT、UPDATE、DELETE,以及CREATE TABLE、ALTER TABLE等DDL(数据定义语言)命令。 6. **数据库设计**: 可视化设计数据库模式,包括创建...

    could not create the java virtual machine 解决办法

    ### "could not create the java virtual machine" 解决办法 在开发过程中,我们经常会遇到 “could not create the java virtual machine” 这样的错误提示。这个问题通常出现在启动基于Java的应用程序时,比如...

    DB Browser for SQLite 数据库查看工具.zip

    DB Browser for SQLite (DB4S) is a high quality, visual, open source tool designed for people who want to create, search, and edit SQLite database files. DB4S gives a familiar spreadsheet-like ...

    You Don't Know JS- Async & Performance(O'Reilly,2015)

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

    Professional JavaScript for Web Developers英文版

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

    Developing Hybrid Applications for the iPhone: Using HTML, CSS, and JavaScript to Build Dynamic Apps for the iPhone

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

    Embedded Browser 3.0.0.unitypackage

    Unty内嵌浏览器(Embedded ...Set the URL for your browser to localGame://index.html Hit play. Congratulations! You now have a browser in your game! See this section if you want to use the browser in VR.

    Java and Algorithmic Thinking for the Complete Beginner – Compact Edition

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

    html2canvas

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

    ComponentOne Studio for ASP.NET Wijmo 2013 v1 5/5

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

    ComponentOne Studio for ASP.NET Wijmo 2012 v3 4/5

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

    Java邮件开发Fundamentals of the JavaMail API

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

    3D Game Programming for Kids: Create Interactive Worlds with JavaScript

    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模块进行DFT计算CASTEP 模組提供了一個完整且容易使用的介面來操作 CASTEP/CETEP 計算物理與化學程式,這一個介面允許 你使用 Cerius2 Visualizer 所提供的交談式圖形介面與模擬環境來有效的發揮 CASTEP 的量子...

    ComponentOne Studio for ASP.NET Wijmo 2013 v1 3/5

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

    ComponentOne Studio for ASP.NET Wijmo 2013 v1 2/5

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

    ComponentOne Studio for ASP.NET Wijmo 2013 v1 4/5

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

Global site tag (gtag.js) - Google Analytics