<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - paul66</title>
<link>http://snipplr.com/users/paul66</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 19 Jun 2013 07:04:30 GMT</pubDate>
<item>
<title>(HTML) Google Maps API Reference</title>
<link>http://snipplr.com/view/47982/google-maps-api-reference/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 27 Jan 2011 19:37:22 GMT</pubDate>
<guid>http://snipplr.com/view/47982/google-maps-api-reference/</guid>
</item>
<item>
<title>(CSS) Device orientation</title>
<link>http://snipplr.com/view/47944/device-orientation/</link>
<description><![CDATA[ <p>These are just two css media queries you may want to use for your website development. With lots of smart-phones, and tablets being able to orientate their screens from landscape to portrait, you may want to include different styles for each. This is how you would go about achieving this.</p> ]]></description>
<pubDate>Thu, 27 Jan 2011 04:16:51 GMT</pubDate>
<guid>http://snipplr.com/view/47944/device-orientation/</guid>
</item>
<item>
<title>(CSS) Print styles</title>
<link>http://snipplr.com/view/47943/print-styles/</link>
<description><![CDATA[ <p>Any decent site should be print ready, as even though we live in a technology driven time, people still like to have  a hard copy of some information. This snippet firstly uses a css media declaration, allowing you to include this in your main stylesheet, and not having to place another link in the head of your document. This benefits load time, as even when the page inst being printed, a browser will always download that extra css file, generating an extra http request. The snippet then goes on to include some useful print styles such as printing our link urls, and so on.</p> ]]></description>
<pubDate>Thu, 27 Jan 2011 04:15:13 GMT</pubDate>
<guid>http://snipplr.com/view/47943/print-styles/</guid>
</item>
<item>
<title>(CSS) IE7 image resizing</title>
<link>http://snipplr.com/view/47942/ie7-image-resizing/</link>
<description><![CDATA[ <p>IE7 by default uses an image resizing algorithm that means that scaled down images can look far from awesome. To solve this, we simply enable a much better resizing algorithm that is available in IE7 that produces results similar to what you’d expect from most image editing software. To read more about this, and similar solutions for IE6, follow the link.</p> ]]></description>
<pubDate>Thu, 27 Jan 2011 04:11:48 GMT</pubDate>
<guid>http://snipplr.com/view/47942/ie7-image-resizing/</guid>
</item>
<item>
<title>(CSS) Screenreader access</title>
<link>http://snipplr.com/view/47941/screenreader-access/</link>
<description><![CDATA[ <p>This snippet basically gives us the best of both worlds, allowing the best usability when it comes to link outlines for both screenreaders tabbing through links, and mouse users.</p> ]]></description>
<pubDate>Thu, 27 Jan 2011 04:10:29 GMT</pubDate>
<guid>http://snipplr.com/view/47941/screenreader-access/</guid>
</item>
<item>
<title>(CSS) Clickable inputs</title>
<link>http://snipplr.com/view/47940/clickable-inputs/</link>
<description><![CDATA[ <p>For some reason, most browsers don’t apply a pointer cursor to some clickable input’s by default to let the user know that this item is clickable, so we solve this by doing it ourselves.</p> ]]></description>
<pubDate>Thu, 27 Jan 2011 04:08:30 GMT</pubDate>
<guid>http://snipplr.com/view/47940/clickable-inputs/</guid>
</item>
<item>
<title>(CSS) Aligning Labels</title>
<link>http://snipplr.com/view/47939/aligning-labels/</link>
<description><![CDATA[ <p>Alignment of labels with their relevant inputs can be a horrible task to achieve in older browsers. This snippets solves that for us by making it consistent across browsers!</p> ]]></description>
<pubDate>Thu, 27 Jan 2011 04:07:32 GMT</pubDate>
<guid>http://snipplr.com/view/47939/aligning-labels/</guid>
</item>
<item>
<title>(CSS) Formatting quoted code</title>
<link>http://snipplr.com/view/47938/formatting-quoted-code/</link>
<description><![CDATA[ <p>This snippet simply makes the text wrap when it reaches the walls of its container, in this case, the pre tag, whilst still preserving line breaks and white space cross browser.</p> ]]></description>
<pubDate>Thu, 27 Jan 2011 04:05:40 GMT</pubDate>
<guid>http://snipplr.com/view/47938/formatting-quoted-code/</guid>
</item>
<item>
<title>(CSS) Force scrollbar</title>
<link>http://snipplr.com/view/47937/force-scrollbar/</link>
<description><![CDATA[ <p>Sometimes, pages can be shorter than the browser view-port, and when you load a page on the same site that has longer content and uses a scrollbar, content can jump side to side. By forcing a scrollbar no matter the height of our content, we stop this small, but annoying issue.</p> ]]></description>
<pubDate>Thu, 27 Jan 2011 04:03:53 GMT</pubDate>
<guid>http://snipplr.com/view/47937/force-scrollbar/</guid>
</item>
<item>
<title>(CSS) Webkit font smoothing</title>
<link>http://snipplr.com/view/47936/webkit-font-smoothing/</link>
<description><![CDATA[ <p>This is anti-aliasing for webkit browsers, sadly only in Mac OSX. It basically makes your text render better, and make it more readable, without all the text thinning hacks that we have seen in the past.</p> ]]></description>
<pubDate>Thu, 27 Jan 2011 04:02:59 GMT</pubDate>
<guid>http://snipplr.com/view/47936/webkit-font-smoothing/</guid>
</item>
<item>
<title>(CSS) Font normalisation</title>
<link>http://snipplr.com/view/47935/font-normalisation/</link>
<description><![CDATA[ <p>To get rid of rendering inconsistencies that can occur between browsers and OS’s when rendering fonts in pixels, this snippet allows you to size your fonts in such a way that the size and line-height will remain consistent across these platforms for your website. You will basically be setting your font sizes via percentages that can be found at the YUI website.</p> ]]></description>
<pubDate>Thu, 27 Jan 2011 04:01:20 GMT</pubDate>
<guid>http://snipplr.com/view/47935/font-normalisation/</guid>
</item>
<item>
<title>(CSS) Html5 ready reset</title>
<link>http://snipplr.com/view/47934/html5-ready-reset/</link>
<description><![CDATA[ <p>Plenty of you will have used Eric Meyer’s css reset before now. It is included in many frameworks and so on, like 960.gs. This is a revamped version of that reset, that brings it into the present with full support for html5. It sets all the new structural tags as block level, and resets all their default styling as expected.</p> ]]></description>
<pubDate>Thu, 27 Jan 2011 03:59:48 GMT</pubDate>
<guid>http://snipplr.com/view/47934/html5-ready-reset/</guid>
</item>
<item>
<title>(JavaScript) Optimised Google Analytics</title>
<link>http://snipplr.com/view/47933/optimised-google-analytics/</link>
<description><![CDATA[ <p>Google Analytics is a very popular tool for tracking your website’s user behaviour, and visits. This is simply an optimised version of Google’s asynchronous tracking snippet. To learn what has been optimised, and why it is faster than Google’s own version, follow link.</p> ]]></description>
<pubDate>Thu, 27 Jan 2011 03:57:20 GMT</pubDate>
<guid>http://snipplr.com/view/47933/optimised-google-analytics/</guid>
</item>
<item>
<title>(HTML) jQuery loading fallback</title>
<link>http://snipplr.com/view/47932/jquery-loading-fallback/</link>
<description><![CDATA[ <p>A vast majority of sites these days make use of the jQuery JavaScript library. A vast majority also make use of Google’s hosted version of the library for faster loading speed’s, and better cross site caching. However, what if there is ever a problem and jQuery is not loaded from Google? Well here is your backup. What it basically does is check if jQuery is loaded from Google. If not, then we load it locally from our own version of jQuery.</p> ]]></description>
<pubDate>Thu, 27 Jan 2011 03:52:53 GMT</pubDate>
<guid>http://snipplr.com/view/47932/jquery-loading-fallback/</guid>
</item>
<item>
<title>(HTML) Conditional body tag</title>
<link>http://snipplr.com/view/47931/conditional-body-tag/</link>
<description><![CDATA[ <p>This snippet is a Paul Irish original, and allows you to target IE browsers specifically without having to add in an extra http request with another separate stylesheet. Basically, depending on the IE browser that the user is using, a class is added to the body tag. If the user is not using IE, then a classless body tag is used. This allows you to target specific browsers in your css without having to use css hacks, or further stylesheets.</p> ]]></description>
<pubDate>Thu, 27 Jan 2011 03:50:32 GMT</pubDate>
<guid>http://snipplr.com/view/47931/conditional-body-tag/</guid>
</item>
<item>
<title>(HTML) X-UA-Compatible</title>
<link>http://snipplr.com/view/47930/xuacompatible/</link>
<description><![CDATA[ <p>Internet Explorer has many rendering engines ready for use. What this line of code basically does is force IE to use the most up to date rendering engine that it has available, so that your pages will render as well as possible. It then goes on to talk about Chrome Frame. Chrome Frame is a plugin for IE6, 7, and 8 which brings all the rendering, and js power of Google Chrome to IE. If the user has it installed, we render our site using it.</p> ]]></description>
<pubDate>Thu, 27 Jan 2011 03:48:22 GMT</pubDate>
<guid>http://snipplr.com/view/47930/xuacompatible/</guid>
</item>
<item>
<title>(HTML) Faster page load hack</title>
<link>http://snipplr.com/view/47929/faster-page-load-hack/</link>
<description><![CDATA[ <p>This empty conditional comment hack is used to basically increase performance of your site. When conditional comments are used on your site, for example, for an ie6 conditional stylesheet, it will block further downloads until the css files are fully downloaded, hence increasing load time. To solve this issue, an empty conditional comment, like below, is used before any css is loaded in the document, and the problem will be solved!</p> ]]></description>
<pubDate>Thu, 27 Jan 2011 03:44:35 GMT</pubDate>
<guid>http://snipplr.com/view/47929/faster-page-load-hack/</guid>
</item>
<item>
<title>(HTML) Favicon and Apple icons</title>
<link>http://snipplr.com/view/47928/favicon-and-apple-icons/</link>
<description><![CDATA[ <p>The favicon is pretty much normality these day. the interesting bit here is the apple-touch-icon which is used if you save a bookmark to your home screen on an apple touch device such as an iPad or iPhone. Interestingly enough, android also supports its usage. As far as I can tell, the apple-touch-icon size is 60px by 60px. As the comment says, if your icons are in the root of your domain, these links aren’t required.</p> ]]></description>
<pubDate>Thu, 27 Jan 2011 03:42:29 GMT</pubDate>
<guid>http://snipplr.com/view/47928/favicon-and-apple-icons/</guid>
</item>
</channel>
</rss>