<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/compatibility</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 19 May 2013 03:10:28 GMT</pubDate>
<item>
<title>(CSS) CSS - Comprehensive List of Browser-Specific CSS Hacks - satie83</title>
<link>http://snipplr.com/view/66673/css--comprehensive-list-of-browserspecific-css-hacks/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 12 Aug 2012 10:09:37 GMT</pubDate>
<guid>http://snipplr.com/view/66673/css--comprehensive-list-of-browserspecific-css-hacks/</guid>
</item>
<item>
<title>(CSS) Css Browser Hack - Terion</title>
<link>http://snipplr.com/view/62673/css-browser-hack/</link>
<description><![CDATA[ <p>generic css browser hacks</p> ]]></description>
<pubDate>Fri, 20 Jan 2012 13:06:30 GMT</pubDate>
<guid>http://snipplr.com/view/62673/css-browser-hack/</guid>
</item>
<item>
<title>(C++) Array - marwac6</title>
<link>http://snipplr.com/view/49328/array/</link>
<description><![CDATA[ <p>Current versions of C++, as well as ANSI C, allow you to initialize ordinary arrays defined in a function. However, in some older implementations that use a C++ translator instead of a true compiler, the C++ translator creates C code for a C compiler that is not fully ANSI C compliant. In such a case, you can get an error message like the following example from a Sun C++ 2.0 system</p> ]]></description>
<pubDate>Mon, 21 Feb 2011 19:04:52 GMT</pubDate>
<guid>http://snipplr.com/view/49328/array/</guid>
</item>
<item>
<title>(HTML) HTML5 standard template - claudiowebdesign</title>
<link>http://snipplr.com/view/43555/html5-standard-template/</link>
<description><![CDATA[ <p>Just a bit of essential code lines to start everytime from. // I don't use it :P</p> ]]></description>
<pubDate>Thu, 04 Nov 2010 20:42:51 GMT</pubDate>
<guid>http://snipplr.com/view/43555/html5-standard-template/</guid>
</item>
<item>
<title>(PHP) Function \"lcfirst\" for PHP - Sverri</title>
<link>http://snipplr.com/view/38025/function-lcfirst-for-php/</link>
<description><![CDATA[ <p>Adds the function "lcfirst" if it does not exist (it was first added in PHP 5.3.0) while its counterpart, "ucfirst" was added in PHP 4.</p> ]]></description>
<pubDate>Thu, 29 Jul 2010 13:05:47 GMT</pubDate>
<guid>http://snipplr.com/view/38025/function-lcfirst-for-php/</guid>
</item>
<item>
<title>(HTML) Video For Everybody - rtcrm</title>
<link>http://snipplr.com/view/16952/video-for-everybody/</link>
<description><![CDATA[ <p>Video for Everybody is very simply a chunk of HTML code that embeds a video into a website using the HTML5 `` element which offers native playback in Firefox 3.5 and Safari 3 &amp; 4.

This is native OGG video playback in Firefox 3.5 (you get H.264 playback in Safari). No plugins to install. The video is played by the browser itself. It loads quickly and doesn’t threaten to crash your browser. 

In other browsers that do not support ``, it falls back to Adobe Flash:
You can host locally or embed any Flash file, such as a YouTube video.

If Flash is not installed, QuickTime is used which allows playback on the iPhone.

If QuickTime is not installed then Windows Media Player is used in Internet Explorer 8 for Windows 7. This means that it is actually almost impossible for the video to not play in IE8 on Windows 7. Even without Flash and QuickTime, you’d have to disable Windows Media Player or all ActiveX entirely!

Finally, if all else fails, a warning is issued that provides links to download the video, and links to software relevant to getting the video to play within the browser itself. Since this is just HTML, you can put anything here you want.</p> ]]></description>
<pubDate>Mon, 13 Jul 2009 10:28:02 GMT</pubDate>
<guid>http://snipplr.com/view/16952/video-for-everybody/</guid>
</item>
<item>
<title>(JavaScript) HTML5 enabling script - rtcrm</title>
<link>http://snipplr.com/view/14380/html5-enabling-script/</link>
<description><![CDATA[ <p>Since HTML5 is getting [more](http://www.brucelawson.co.uk/tests/html5-elements.html) [attention](http://adactio.com/journal/1540/) by way of marking up our new pages, and the only way to get IE to acknowledge the new elements, such as ``, is to use the [HTML5 shiv](http://ejohn.org/blog/html5-shiv/), here’s a mini script that enables all the new elements.

###Usage &amp; Download###

The html5.js and must be inserted in the head element _(this is because IE needs to know about the element before it comes to render them — so it can’t sit in the footer of the page, i.e. below the elements in question)_.

It’s conditional within the code, so Firefox _et al_ won’t run the code — but it doesn’t hurt to wrap it in an IE conditional call to reduce the http pulls for other browsers:

&amp;lt;!--[if IE]&amp;gt;
&amp;lt;script src="html5.js" type="text/javascript"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;![endif]--&amp;gt;
</p> ]]></description>
<pubDate>Fri, 24 Apr 2009 10:12:11 GMT</pubDate>
<guid>http://snipplr.com/view/14380/html5-enabling-script/</guid>
</item>
<item>
<title>(PHP) Add http header to force IE8 to render in IE7 mode (PHP-Version) - tobaco</title>
<link>http://snipplr.com/view/13271/add-http-header-to-force-ie8-to-render-in-ie7-mode-phpversion/</link>
<description><![CDATA[ <p>include this snippet in your sites to force InternetExplorer 8 to display your site like InternetExplorer 7

In summary, IE7 compatibility support looks as follows:

IE=7

Display in IE7 Standards mode; Already supported in the IE8 Beta 1 release

IE=EmulateIE7

Display standards DOCTYPEs in IE7 Standards mode; Display quirks DOCTYPEs in Quirks mode; Available through the IE June Security Update for IE8 Beta 1</p> ]]></description>
<pubDate>Thu, 19 Mar 2009 05:45:27 GMT</pubDate>
<guid>http://snipplr.com/view/13271/add-http-header-to-force-ie8-to-render-in-ie7-mode-phpversion/</guid>
</item>
<item>
<title>(Apache) Add http header to force IE8 to render in IE7 mode - gbot</title>
<link>http://snipplr.com/view/6781/add-http-header-to-force-ie8-to-render-in-ie7-mode/</link>
<description><![CDATA[ <p>In summary, IE7 compatibility support looks as follows:

IE=7

Display in IE7 Standards mode; Already supported in the IE8 Beta 1 release

IE=EmulateIE7

Display standards DOCTYPEs in IE7 Standards mode; Display quirks DOCTYPEs in Quirks mode; Available through the IE June Security Update for IE8 Beta 1

There are two ways to implement this tag:

    * On a per-site basis, add a custom HTTP header 

    X-UA-Compatible: IE=EmulateIE7

    * On a per-page basis, add a special HTML tag to each document, right after the  tag 

    

Implementing the HTTP header is beneficial if a site owner wants most of their site to render as it did in IE7 or if there are no plans to update site content. Inclusion of this header honors any Quirks mode pages that belong to the site.

Using the meta-tag on a per-page basis is beneficial when the publisher wants to opt-in specific pages to render as they did in IE7.

NOTE: The X-UA-Compatible tag and header override any existing DOCTYPE. Also, the mode specified by the page takes precedent over the HTTP header. For example, you could add the EmulateIE7 HTTP header to a site, and set specific pages to display in IE8 mode (by using the meta-tag with content=”IE8”).</p> ]]></description>
<pubDate>Thu, 19 Jun 2008 10:16:46 GMT</pubDate>
<guid>http://snipplr.com/view/6781/add-http-header-to-force-ie8-to-render-in-ie7-mode/</guid>
</item>
<item>
<title>(Other) eric meyer's reset css - soxiam</title>
<link>http://snipplr.com/view/2582/eric-meyers-reset-css/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 02 May 2007 11:18:17 GMT</pubDate>
<guid>http://snipplr.com/view/2582/eric-meyers-reset-css/</guid>
</item>
<item>
<title>(Other) Browser detect for IE versions - natalie</title>
<link>http://snipplr.com/view/1560/browser-detect-for-ie-versions/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Nov 2006 02:00:52 GMT</pubDate>
<guid>http://snipplr.com/view/1560/browser-detect-for-ie-versions/</guid>
</item>
</channel>
</rss>