<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 20:28:06 +0000</lastBuildDate>
    <item>
      <title>(CSS) Centering div without width - cesarkohl</title>
      <link>https://snipplr.com/view/65953/centering-div-without-width</link>
      <description>&lt;p&gt;The idea here is that you contain the content you want to center in two divs, an outer one and an inner one. You float both divs so that their widths automatically shrink to fit your content. Next, you relatively position the outer div with it's right edge in the center of the container. Lastly, you relatively position the inner div the opposite direction by half of its own width (actually the outer div's width, but they are the same). Ultimately that centers the content in whatever container it's in.&#13;
&#13;
Check out the pictures on the website and it'll be clear.&#13;
&#13;
You may need that empty div at the end if you depend on your "product" content to size the height for the "product_container".&lt;/p&gt;</description>
      <pubDate>Thu, 05 Jul 2012 03:06:59 UTC</pubDate>
      <guid>https://snipplr.com/view/65953/centering-div-without-width</guid>
    </item>
    <item>
      <title>(SQL) if mysql_query is not empty - cesarkohl</title>
      <link>https://snipplr.com/view/58803/if-mysqlquery-is-not-empty</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 19 Sep 2011 22:49:26 UTC</pubDate>
      <guid>https://snipplr.com/view/58803/if-mysqlquery-is-not-empty</guid>
    </item>
    <item>
      <title>(jQuery) If browser is IE 6 7 8 9, Firefox, Safari, Chrome or Opera - cesarkohl</title>
      <link>https://snipplr.com/view/58680/if-browser-is-ie-6-7-8-9-firefox-safari-chrome-or-opera</link>
      <description>&lt;p&gt;The HTML simply discovers if it's IE and its version or if it's not IE.&#13;
The jQuery discovers if it's IE, Firefox, Webkit Engine (Chrome and Safari) or Opera and its version as an integer.&lt;/p&gt;</description>
      <pubDate>Wed, 14 Sep 2011 23:49:24 UTC</pubDate>
      <guid>https://snipplr.com/view/58680/if-browser-is-ie-6-7-8-9-firefox-safari-chrome-or-opera</guid>
    </item>
    <item>
      <title>(CSS) Horizontal + Vertical Centered Layout - cesarkohl</title>
      <link>https://snipplr.com/view/58652/horizontal--vertical-centered-layout</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 14 Sep 2011 00:18:27 UTC</pubDate>
      <guid>https://snipplr.com/view/58652/horizontal--vertical-centered-layout</guid>
    </item>
    <item>
      <title>(JavaScript) if exists in JS and jQuery - cesarkohl</title>
      <link>https://snipplr.com/view/58632/if-exists-in-js-and-jquery</link>
      <description>&lt;p&gt;How to know if an element exists in JS (and jQuery).&lt;/p&gt;</description>
      <pubDate>Tue, 13 Sep 2011 06:11:13 UTC</pubDate>
      <guid>https://snipplr.com/view/58632/if-exists-in-js-and-jquery</guid>
    </item>
    <item>
      <title>(HTML) Basic HTML5 Page Structure - cesarkohl</title>
      <link>https://snipplr.com/view/48006/basic-html5-page-structure</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 27 Jan 2011 22:50:53 UTC</pubDate>
      <guid>https://snipplr.com/view/48006/basic-html5-page-structure</guid>
    </item>
  </channel>
</rss>
