<?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/language/css/tags/images</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 15 Feb 2012 15:14:27 GMT</pubDate>
<item>
<title>(CSS) Catch unsized images using CSS - ajbatac</title>
<link>http://snipplr.com/view/57162/catch-unsized-images-using-css/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 27 Jul 2011 00:46:14 GMT</pubDate>
<guid>http://snipplr.com/view/57162/catch-unsized-images-using-css/</guid>
</item>
<item>
<title>(CSS) CSS Rounded Corner - Savio</title>
<link>http://snipplr.com/view/52027/css-rounded-corner/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 13 Apr 2011 19:41:49 GMT</pubDate>
<guid>http://snipplr.com/view/52027/css-rounded-corner/</guid>
</item>
<item>
<title>(CSS) Cross Browser Vertically and Horizontally Centered Images in CSS without Tables - alp</title>
<link>http://snipplr.com/view/48946/cross-browser-vertically-and-horizontally-centered-images-in-css-without-tables/</link>
<description><![CDATA[ <p>this centers an image of unknown size vertically and horizontally within a box</p> ]]></description>
<pubDate>Mon, 14 Feb 2011 03:04:48 GMT</pubDate>
<guid>http://snipplr.com/view/48946/cross-browser-vertically-and-horizontally-centered-images-in-css-without-tables/</guid>
</item>
<item>
<title>(CSS) Sliding Door Buttons - Yahosh</title>
<link>http://snipplr.com/view/45429/sliding-door-buttons/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 08 Dec 2010 06:12:10 GMT</pubDate>
<guid>http://snipplr.com/view/45429/sliding-door-buttons/</guid>
</item>
<item>
<title>(CSS) CSS: Submit Button Background Images - karlhorky</title>
<link>http://snipplr.com/view/37068/css-submit-button-background-images/</link>
<description><![CDATA[ <p>There are three different types of elements that submit forms:

*  &amp;lt;input type="image"&amp;gt;
*  &amp;lt;input type="submit"&amp;gt;
*  &amp;lt;button type="submit"&amp;gt;

Logically, it would seem that you would want to use input type="image" if you wanted to display an image instead of a default button. However, using input type="image" causes the page to submit two extra variables for your x and y mouse click coordinates on the image as below. Unless you are specifically using this for advertising or some purpose that takes advantage of the coordinates, this is just unnecessary data that also causes the URL to become more complex.

Example URLs:

*  type="submit"
  *  http://www.site.com/form.php?query=searchterm
*  type="image"
  *  http://www.site.com/form.php?query=searchterm&amp;x=0&amp;y=0

Additionally, if you do not require additional information pertaining to the submit to be passed to the server (eg. you do not need to have two submits with different purposes), you can use a button element instead of an input. This also allows for simple hiding of the display text as outlined with the .hide-text class in this snippet (for if you wanted to put the text in the image instead).

This solution has been tested to work in:

*  Microsoft Internet Explorer 6, 7, 8
*  Mozilla Firefox 3.6
*  Google Chrome 5
*  Apple Safari 5
*  Opera 10</p> ]]></description>
<pubDate>Sat, 10 Jul 2010 08:45:15 GMT</pubDate>
<guid>http://snipplr.com/view/37068/css-submit-button-background-images/</guid>
</item>
<item>
<title>(CSS) Cross Browser Round Corners - crispunk</title>
<link>http://snipplr.com/view/36355/cross-browser-round-corners/</link>
<description><![CDATA[ <p>Cross browser css round corners with no images, using google's code .htc
http://code.google.com/p/curved-corner/</p> ]]></description>
<pubDate>Sat, 26 Jun 2010 09:11:51 GMT</pubDate>
<guid>http://snipplr.com/view/36355/cross-browser-round-corners/</guid>
</item>
<item>
<title>(CSS) Easy Cross-Browser Compatible Way to use PNG's with Alpha using only CSS - adamcoulombe</title>
<link>http://snipplr.com/view/22422/easy-crossbrowser-compatible-way-to-use-pngs-with-alpha-using-only-css/</link>
<description><![CDATA[ <p>This is a 3 liner to use PNG images that contain alpha in IE6... fairly simple. First line is any styles we want to apply, including height and width. Second line we use alphaimageloader to load the PNG for ie6. The third line is for every other browser. This could also be done without the need for CSS hacks if you are going to have an IE6 specific stylesheet.</p> ]]></description>
<pubDate>Tue, 03 Nov 2009 15:46:30 GMT</pubDate>
<guid>http://snipplr.com/view/22422/easy-crossbrowser-compatible-way-to-use-pngs-with-alpha-using-only-css/</guid>
</item>
<item>
<title>(CSS) Image Alignment - nerdfiles</title>
<link>http://snipplr.com/view/19852/image-alignment/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 17 Sep 2009 05:02:42 GMT</pubDate>
<guid>http://snipplr.com/view/19852/image-alignment/</guid>
</item>
<item>
<title>(CSS) Multiple background images in css - scopefragger</title>
<link>http://snipplr.com/view/19142/multiple-background-images-in-css/</link>
<description><![CDATA[ <p>Ever needed to use to background images in a table or div?  It is possible b just using css.  Although this is yet to be a standard safari will allow you to apply 2!  Css backgrounds, however IE,  FIRFOX and retro opera users will only see 1 !</p> ]]></description>
<pubDate>Tue, 01 Sep 2009 18:12:50 GMT</pubDate>
<guid>http://snipplr.com/view/19142/multiple-background-images-in-css/</guid>
</item>
<item>
<title>(CSS) Preload images using CSS - SunilTee</title>
<link>http://snipplr.com/view/18173/preload-images-using-css/</link>
<description><![CDATA[ <p>This is a really useful techniques for preloading images on your website. Just place this code after the body tag in the CSS file. Everytime you refer to this image in your CSS file the image will be loaded from cache.</p> ]]></description>
<pubDate>Tue, 11 Aug 2009 08:12:38 GMT</pubDate>
<guid>http://snipplr.com/view/18173/preload-images-using-css/</guid>
</item>
<item>
<title>(CSS) Title and Alt attributes on Images for ie8 - webdevelopertut</title>
<link>http://snipplr.com/view/16959/title-and-alt-attributes-on-images-for-ie8/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 13 Jul 2009 12:44:01 GMT</pubDate>
<guid>http://snipplr.com/view/16959/title-and-alt-attributes-on-images-for-ie8/</guid>
</item>
<item>
<title>(CSS) Cool CSS way to make left- or right-aligned (but not "styled" or "classed") images look pretty with no HTML change. - kossmoss</title>
<link>http://snipplr.com/view/14216/cool-css-way-to-make-left-or-rightaligned-but-not-styled-or-classed-images-look-pretty-with-no-html-change/</link>
<description><![CDATA[ <p>When we can't or won't change the code of image tag with align attribute, but no 'style="margin: 0 10px 10px 0;' or 'hspace=10px' (IMHO, hspace makes bad looking layout in most cases) code within  (just pure  code), we can use simple CSS rules for such an images to make them good looking.</p> ]]></description>
<pubDate>Mon, 20 Apr 2009 19:19:11 GMT</pubDate>
<guid>http://snipplr.com/view/14216/cool-css-way-to-make-left-or-rightaligned-but-not-styled-or-classed-images-look-pretty-with-no-html-change/</guid>
</item>
<item>
<title>(CSS) CSS Image Framing - An Easy Way To Style Images Using CSS - neal_grosskopf</title>
<link>http://snipplr.com/view/11874/css-image-framing--an-easy-way-to-style-images-using-css/</link>
<description><![CDATA[ <p>A tutorial showing you how to give your images some style using only CSS rather than using Photoshop to give images a border/frame.</p> ]]></description>
<pubDate>Thu, 05 Feb 2009 08:03:19 GMT</pubDate>
<guid>http://snipplr.com/view/11874/css-image-framing--an-easy-way-to-style-images-using-css/</guid>
</item>
<item>
<title>(CSS) Crossbrowser (Fake) Double-Border - sidisinsane</title>
<link>http://snipplr.com/view/10130/crossbrowser-fake-doubleborder/</link>
<description><![CDATA[ <p>A simple way to create a double-border effect (i.e. for images) in all browsers.</p> ]]></description>
<pubDate>Fri, 28 Nov 2008 09:47:28 GMT</pubDate>
<guid>http://snipplr.com/view/10130/crossbrowser-fake-doubleborder/</guid>
</item>
<item>
<title>(CSS) Remove dotted border on images (e.g., in Firefox) - charmcitycoder</title>
<link>http://snipplr.com/view/10040/remove-dotted-border-on-images-eg-in-firefox/</link>
<description><![CDATA[ <p>Remove that pesky dotted border around img elements, especially images inside  / link tags.</p> ]]></description>
<pubDate>Tue, 25 Nov 2008 14:02:02 GMT</pubDate>
<guid>http://snipplr.com/view/10040/remove-dotted-border-on-images-eg-in-firefox/</guid>
</item>
<item>
<title>(CSS) Vertical Centering of Images - teddyzetterlund</title>
<link>http://snipplr.com/view/5193/vertical-centering-of-images/</link>
<description><![CDATA[ <p>I can't remember if this code is updated for IE7, if it is then it should be working in at least IE6-7, Safari 2-3, Opera 8 and Firefox 2-3.

Obviously the image_iefix is just for IE6.</p> ]]></description>
<pubDate>Mon, 25 Feb 2008 10:38:17 GMT</pubDate>
<guid>http://snipplr.com/view/5193/vertical-centering-of-images/</guid>
</item>
<item>
<title>(CSS) CSS Image Preloader - aznprncritic</title>
<link>http://snipplr.com/view/2122/css-image-preloader/</link>
<description><![CDATA[ <p>A low-tech but useful technique that uses only CSS.  After placing the css in your stylesheet, insert this just below the body tag of your page: "".  Whenever the images are referenced throughout your pages they will now be loaded from cache.</p> ]]></description>
<pubDate>Sun, 04 Feb 2007 19:47:05 GMT</pubDate>
<guid>http://snipplr.com/view/2122/css-image-preloader/</guid>
</item>
<item>
<title>(CSS) Using CSS background images for bullets - assbach</title>
<link>http://snipplr.com/view/1851/using-css-background-images-for-bullets/</link>
<description><![CDATA[ <p>copy form maxdesign!</p> ]]></description>
<pubDate>Wed, 27 Dec 2006 11:13:43 GMT</pubDate>
<guid>http://snipplr.com/view/1851/using-css-background-images-for-bullets/</guid>
</item>
</channel>
</rss>
