<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WebDesign &#38; Such</title>
	<atom:link href="http://webdesignandsuch.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://webdesignandsuch.com</link>
	<description>a Beantown Design Production</description>
	<lastBuildDate>Wed, 25 Aug 2010 00:28:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Add Zebra Striping to a Table with jQuery</title>
		<link>http://webdesignandsuch.com/2010/08/add-zebra-striping-to-a-table-with-jquery/</link>
		<comments>http://webdesignandsuch.com/2010/08/add-zebra-striping-to-a-table-with-jquery/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 23:57:52 +0000</pubDate>
		<dc:creator>ilz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=960</guid>
		<description><![CDATA[In a previous post I showed how to use CSS3 to add a background color to every other row in a table, a technique called &#8220;zebra striping&#8221;. While this is a great technique, it doesn&#8217;t work in browsers that don&#8217;t support certain CSS3 features, such as Internet Explorer. By using a little jQuery we can [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom:10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwebdesignandsuch.com%2F2010%2F08%2Fadd-zebra-striping-to-a-table-with-jquery%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwebdesignandsuch.com%2F2010%2F08%2Fadd-zebra-striping-to-a-table-with-jquery%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="alignnone" style="border: 3px solid #ddd; margin: 0 0 15px 0;" title="zebra striping jQuery" src="http://webdesignandsuch.com/posts/zebra-striping/zebra2.gif" alt="" width="422" height="211" /></p>
<p>In a <strong><a href="http://webdesignandsuch.com/2010/08/add-zebra-striping-to-a-table-with-css3/">previous post</a></strong> I showed how to use CSS3 to add a background color to every other row in a table, a technique called &#8220;zebra striping&#8221;. While this is a great technique, it doesn&#8217;t work in browsers that don&#8217;t support certain CSS3 features, such as Internet Explorer. By using a little jQuery we can make sure that every other row will have the background color, regardless of what browser the website user is on. Check out the demo and then grab the code for your project.</p>
<p><a class="demo-link" href="http://webdesignandsuch.com/posts/zebra-striping/index2.html">View Demo</a><br />
<span id="more-960"></span><br />
Copy and paste the following code into the head of your HTML file. Then add a table with multiple rows and you should see your table have different colors in every other row, just like the demo. </p>
<p>The code below is doing 3 things. First it is calling jQuery to be attached to the file. Second, we are assigning a background-color to the CSS class &#8220;odd&#8221;. The last step is using jQuery to automatically add the class &#8220;odd&#8221; to every other row. Pretty simple trick that works across browsers.</p>
<div class="codeBox" style="overflow:hidden">
<pre id="line1">&lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"&gt;&lt;/script&gt;

&lt;style type="text/css"&gt;
&lt;!--
.odd {background: #caf2fe;}
--&gt;
&lt;/style&gt;

&lt;script type="text/javascript"&gt;
 $(document).ready(function(){
 $("tr:odd").addClass("odd");
 });
&lt;/script&gt;</pre>
</div>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://webdesignandsuch.com/2010/08/add-zebra-striping-to-a-table-with-css3/" rel="bookmark" class="crp_title">Add Zebra Striping to a Table with CSS3</a></li><li><a href="http://webdesignandsuch.com/2010/06/how-to-refresh-reload-a-webpage-with-jquery/" rel="bookmark" class="crp_title">How to refresh / reload a webpage with jQuery</a></li><li><a href="http://webdesignandsuch.com/2009/12/embed-a-twitter-feed-on-your-website-with-jquery/" rel="bookmark" class="crp_title">Embed a Twitter Feed on your website with jQuery</a></li><li><a href="http://webdesignandsuch.com/2009/12/jquery-product-slider/" rel="bookmark" class="crp_title">jQuery Product Slider</a></li><li><a href="http://webdesignandsuch.com/2009/07/how-to-add-the-current-date-to-your-webpage-with-javascipt/" rel="bookmark" class="crp_title">How to Add the Current Date to your webpage with Javascipt</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/2010/08/add-zebra-striping-to-a-table-with-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add Zebra Striping to a Table with CSS3</title>
		<link>http://webdesignandsuch.com/2010/08/add-zebra-striping-to-a-table-with-css3/</link>
		<comments>http://webdesignandsuch.com/2010/08/add-zebra-striping-to-a-table-with-css3/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 23:39:04 +0000</pubDate>
		<dc:creator>ilz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=952</guid>
		<description><![CDATA[When you have a table on a website with a lot of rows it looks nice to add a background color to every other row. Just a subtle color change in every other row can help the human eye keep it&#8217;s place as it looks both across the row and down the page across the [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom:10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwebdesignandsuch.com%2F2010%2F08%2Fadd-zebra-striping-to-a-table-with-css3%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwebdesignandsuch.com%2F2010%2F08%2Fadd-zebra-striping-to-a-table-with-css3%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="alignnone" style="border: 3px solid #ddd; margin: 0 0 15px 0;" title="zebra striping css3" src="http://webdesignandsuch.com/posts/zebra-striping/zebra1.gif" alt="" width="422" height="211" /></p>
<p>When you have a table on a website with a lot of rows it looks nice to add a background color to every other row. Just a subtle color change in every other row can help the human eye keep it&#8217;s place as it looks both across the row and down the page across the rows vertically. This technique is called &#8220;zebra striping&#8221;.</p>
<p>Sure you can add a CSS class to every other row manually, but what happens if you need to re-arrange or delete some rows? Having to go back and manually make sure every other row has a class so the zebra striping is on every other row is no longer a suitable solution. Luckily with the power of CSS3 this is no longer necessary. Check out the demo, and then grab the CSS code for your project.</p>
<p><a class="demo-link" href="http://webdesignandsuch.com/posts/zebra-striping/index.html">View Demo</a><br />
<span id="more-952"></span><br />
All you need to do to add a background color to every other row in your table is add the following to your CSS file. This won&#8217;t work in Internet Explorer (big surprise), so if you really need to support every browser including IE, then check out how to use <a href="http://webdesignandsuch.com/2010/08/add-zebra-striping-to-a-table-with-jquery/"><strong>jQuery to apply zebra striping to a table</strong></a>.</p>
<div class="codeBox">
<pre id="line1">tbody tr:nth-child(odd) {
   background-color:#a9cdeb
}
</pre>
</div>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://webdesignandsuch.com/2010/08/add-zebra-striping-to-a-table-with-jquery/" rel="bookmark" class="crp_title">Add Zebra Striping to a Table with jQuery</a></li><li><a href="http://webdesignandsuch.com/2009/10/rounded-corners-with-css3-border-radius/" rel="bookmark" class="crp_title">Rounded corners with CSS3 ~ border-radius</a></li><li><a href="http://webdesignandsuch.com/2009/11/using-box-shadow-with-css3/" rel="bookmark" class="crp_title">Using Box-Shadow with CSS3</a></li><li><a href="http://webdesignandsuch.com/2009/11/using-text-shadow-with-css3/" rel="bookmark" class="crp_title">Using Text-Shadow with CSS3</a></li><li><a href="http://webdesignandsuch.com/2010/02/target-the-first-paragraph-on-a-page-or-section-with-css/" rel="bookmark" class="crp_title">Target the first paragraph on a page or section with CSS</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/2010/08/add-zebra-striping-to-a-table-with-css3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add an auto-updating Copyright to your website with PHP</title>
		<link>http://webdesignandsuch.com/2010/08/add-an-auto-updating-copyright-to-your-website-with-php/</link>
		<comments>http://webdesignandsuch.com/2010/08/add-an-auto-updating-copyright-to-your-website-with-php/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 22:20:40 +0000</pubDate>
		<dc:creator>ilz</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=944</guid>
		<description><![CDATA[In a previous post I explained why it is important to keep an updated copyright in the footer of your website. You want your website to be up to date, but you don&#8217;t want to have to manually change the copyright date every year. In that example I gave you the code to use Javascript [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom:10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwebdesignandsuch.com%2F2010%2F08%2Fadd-an-auto-updating-copyright-to-your-website-with-php%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwebdesignandsuch.com%2F2010%2F08%2Fadd-an-auto-updating-copyright-to-your-website-with-php%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="alignnone" style="border: 3px solid #ddd; margin: 0 0 15px 0;" title="php-copyright" src="http://webdesignandsuch.com/posts/php-copyright/thumb.jpg" alt="" width="422" height="211" /></p>
<p>In a <strong><a href="http://webdesignandsuch.com/2010/02/add-an-auto-updating-copyright-on-your-website-with-javascript/">previous post</a></strong> I explained why it is important to keep an updated copyright in the footer of your website. You want your website to be up to date, but you don&#8217;t want to have to manually change the copyright date every year. In that example I gave you the code to use Javascript to output the year. Well in some cases it may make more sense to use PHP to output the copyright year instead, so that&#8217;s what I&#8217;ll do in this post. Check out the demo, and then grab the code for your website or WordPress blog.</p>
<p><a class="demo-link" href="http://www.webdesignandsuch.com/posts/php-copyright/index.php">View Demo</a></p>
<p><span id="more-944"></span></p>
<p>All you need to do is paste the following code right into the XHTML where you want the copyright to show up, PHP does the rest!</p>
<div class="codeBox">&amp;copy; &lt;?php echo date(&#39;Y&#39;); ?&gt;</div>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://webdesignandsuch.com/2010/02/add-an-auto-updating-copyright-on-your-website-with-javascript/" rel="bookmark" class="crp_title">Add an auto-updating Copyright to your website with Javascript</a></li><li><a href="http://webdesignandsuch.com/2009/07/how-to-add-the-current-date-to-your-webpage-with-javascipt/" rel="bookmark" class="crp_title">How to Add the Current Date to your webpage with Javascipt</a></li><li><a href="http://webdesignandsuch.com/2010/08/add-zebra-striping-to-a-table-with-jquery/" rel="bookmark" class="crp_title">Add Zebra Striping to a Table with jQuery</a></li><li><a href="http://webdesignandsuch.com/2009/12/embed-a-twitter-feed-on-your-website-with-jquery/" rel="bookmark" class="crp_title">Embed a Twitter Feed on your website with jQuery</a></li><li><a href="http://webdesignandsuch.com/2009/11/how-to-embed-a-twitter-feed-on-your-website/" rel="bookmark" class="crp_title">How to embed a Twitter Feed on your website</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/2010/08/add-an-auto-updating-copyright-to-your-website-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free Graffiti Style Desktop Backgrounds</title>
		<link>http://webdesignandsuch.com/2010/08/free-graffiti-style-desktop-backgrounds/</link>
		<comments>http://webdesignandsuch.com/2010/08/free-graffiti-style-desktop-backgrounds/#comments</comments>
		<pubDate>Sat, 07 Aug 2010 15:16:17 +0000</pubDate>
		<dc:creator>ilz</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Freebies]]></category>
		<category><![CDATA[graffiti]]></category>
		<category><![CDATA[Photoshop]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=925</guid>
		<description><![CDATA[You know you need a sick graffiti style desktop background image for your computer. Don&#8217;t worry, I got ya covered. Download any of these desktop backgrounds, created by yours truly. I&#8217;ve created them all for 3 common resolutions. If you want another specific size hit me up and I&#8217;ll hook you up. Click resolution size [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom:10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwebdesignandsuch.com%2F2010%2F08%2Ffree-graffiti-style-desktop-backgrounds%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwebdesignandsuch.com%2F2010%2F08%2Ffree-graffiti-style-desktop-backgrounds%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><img title="Graffiti desktop background" src="http://webdesignandsuch.com/posts/backs/cT.jpg" alt="" width="422" height="264" style="border:3px solid #ddd; margin:0 0 15px 0"/></p>
<p><img  title="Graffiti desktop background" src="http://webdesignandsuch.com/posts/backs/gT.jpg" alt="" width="422" height="264" style="border:3px solid #ddd; margin:0 0 15px 0"/></p>
<p >
<strong>You know you need a sick graffiti style desktop background image for your computer. </strong>Don&#8217;t worry, I got ya covered. Download any of these desktop backgrounds, created by yours truly. I&#8217;ve created them all for 3 common resolutions. If you want another specific size hit me up and I&#8217;ll hook you up.</p>
<p><span id="more-925"></span></p>
<p style="margin-bottom:25px"><strong>Click resolution size to preview, right click and &#8220;save link as&#8221; to download image to your desktop.</strong></p>
<p><img alt="" src="http://webdesignandsuch.com/posts/backs/1900x1200gT.jpg" title="graffiti background" class="alignnone" width="530" height="331" /></p>
<p style="border-bottom:1px dotted #ccc; padding-bottom:5px; margin-bottom:10px">
<strong>Resolution:</strong><br />
<a href="http://webdesignandsuch.com/posts/backs/1900x1200g.jpg" target="_blank" rel="lightbox[925]">1900 x 1200</a> | <a href="http://webdesignandsuch.com/posts/backs/1440x900g.jpg" rel="lightbox[925]">1440 x 900</a> | <a href="http://webdesignandsuch.com/posts/backs/1024g.jpg" rel="lightbox[925]">1024 x 768</a></p>
<p><img alt="" src="http://webdesignandsuch.com/posts/backs/1900x1200g2T.jpg" title="graffiti background" class="alignnone" width="530" height="331" /></p>
<p style="border-bottom:1px dotted #ccc; padding-bottom:5px; margin-bottom:10px">
<strong>Resolution:</strong><br />
<a href="http://webdesignandsuch.com/posts/backs/1900x1200g2.jpg" rel="lightbox[925]">1900 x 1200</a> | <a href="http://webdesignandsuch.com/posts/backs/1440x900g2.jpg" rel="lightbox[925]">1440 x 900</a> | <a href="http://webdesignandsuch.com/posts/backs/1024g2.jpg" rel="lightbox[925]">1024 x 768</a></p>
<p><img alt="" src="http://webdesignandsuch.com/posts/backs/1900x1200g3T.jpg" title="graffiti background" class="alignnone" width="530" height="331" /></p>
<p style="border-bottom:1px dotted #ccc; padding-bottom:5px; margin-bottom:10px">
<strong>Resolution:</strong><br />
<a href="http://webdesignandsuch.com/posts/backs/1900x1200g3.jpg" rel="lightbox[925]">1900 x 1200</a> | <a href="http://webdesignandsuch.com/posts/backs/1440x900g3.jpg" rel="lightbox[925]">1440 x 900</a> | <a href="http://webdesignandsuch.com/posts/backs/1024g3.jpg" rel="lightbox[925]">1024 x 768</a></p>
<p><img alt="" src="http://webdesignandsuch.com/posts/backs/1900x1200cT.jpg" title="graffiti background" class="alignnone" width="530" height="331" /></p>
<p style="border-bottom:1px dotted #ccc; padding-bottom:5px; margin-bottom:10px">
<strong>Resolution:</strong><br />
<a href="http://webdesignandsuch.com/posts/backs/1900x1200c.jpg" rel="lightbox[925]">1900 x 1200</a> | <a href="http://webdesignandsuch.com/posts/backs/1440x900c.jpg" rel="lightbox[925]">1440 x 900</a> | <a href="http://webdesignandsuch.com/posts/backs/1024c.jpg" rel="lightbox[925]">1024 x 768</a></p>
<p><img alt="" src="http://webdesignandsuch.com/posts/backs/1900x1200c2T.jpg" title="graffiti background" class="alignnone" width="530" height="331" /></p>
<p style="border-bottom:1px dotted #ccc; padding-bottom:5px; margin-bottom:10px">
<strong>Resolution:</strong><br />
<a href="http://webdesignandsuch.com/posts/backs/1900x1200c2.jpg" rel="lightbox[925]">1900 x 1200</a> | <a href="http://webdesignandsuch.com/posts/backs/1440x900c2.jpg" rel="lightbox[925]">1440 x 900</a> | <a href="http://webdesignandsuch.com/posts/backs/1024c2.jpg" rel="lightbox[925]">1024 x 768</a></p>
<p><img alt="" src="http://webdesignandsuch.com/posts/backs/1900x1200c3T.jpg" title="graffiti background" class="alignnone" width="530" height="331" /></p>
<p style="border-bottom:1px dotted #ccc; padding-bottom:5px; margin-bottom:10px">
<strong>Resolution:</strong><br />
<a href="http://webdesignandsuch.com/posts/backs/1900x1200c3.jpg" rel="lightbox[925]">1900 x 1200</a> | <a href="http://webdesignandsuch.com/posts/backs/1440x900c3.jpg" rel="lightbox[925]">1440 x 900</a> | <a href="http://webdesignandsuch.com/posts/backs/1024c3.jpg" rel="lightbox[925]">1024 x 768</a></p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://webdesignandsuch.com/2009/12/a-look-at-the-css-cursor-property/" rel="bookmark" class="crp_title">A look at the CSS Cursor Property</a></li><li><a href="http://webdesignandsuch.com/2009/05/how-to-create-the-apple-product-image-reflection-effect/" rel="bookmark" class="crp_title">How to create the Apple Product Image Reflection Effect in Photoshop</a></li><li><a href="http://webdesignandsuch.com/2009/08/how-to-make-a-dotted-line-in-photoshop/" rel="bookmark" class="crp_title">How to make a Dotted Line in Photoshop</a></li><li><a href="http://webdesignandsuch.com/2009/12/simple-form-styling-with-css/" rel="bookmark" class="crp_title">Simple form styling with CSS</a></li><li><a href="http://webdesignandsuch.com/2010/06/make-the-words-in-a-form-input-disappear-or-be-selected-on-click-focus/" rel="bookmark" class="crp_title">Make the words in a Form Input disappear or be selected on click / focus.</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/2010/08/free-graffiti-style-desktop-backgrounds/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Use @ font-face to fix fonts from the Google Font API that don&#8217;t display properly in Google Chrome or Internet Explorer</title>
		<link>http://webdesignandsuch.com/2010/07/fix-fonts-that-dont-work-with-google-font-api-in-internet-explorer-or-chrome-with-font-face/</link>
		<comments>http://webdesignandsuch.com/2010/07/fix-fonts-that-dont-work-with-google-font-api-in-internet-explorer-or-chrome-with-font-face/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 23:36:52 +0000</pubDate>
		<dc:creator>ilz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[font-face]]></category>
		<category><![CDATA[Google Font API]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=899</guid>
		<description><![CDATA[Well that was a long title! Here&#8217;s the deal. I finished up a website for a client yesterday and was doing a last minute check in Internet Explorer to make sure there were no problems. Well that would be too easy, wouldn&#8217;t it?! Unless you&#8217;ve been under a rock the last few months you know [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom:10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwebdesignandsuch.com%2F2010%2F07%2Ffix-fonts-that-dont-work-with-google-font-api-in-internet-explorer-or-chrome-with-font-face%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwebdesignandsuch.com%2F2010%2F07%2Ffix-fonts-that-dont-work-with-google-font-api-in-internet-explorer-or-chrome-with-font-face%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><img alt="" src="http://webdesignandsuch.com/posts/google-font-api/google.jpg" title="Google" class="alignnone" width="422" height="211" style="border:3px solid #ddd; margin:0 0 15px 0"/></p>
<p><strong>Well that was a long title! </strong>Here&#8217;s the deal. I finished up a website for a client yesterday and was doing a last minute check in Internet Explorer to make sure there were no problems. <em>Well that would be too easy, wouldn&#8217;t it?!</em> Unless you&#8217;ve been under a rock the last few months you know about the <strong><a href="http://code.google.com/apis/webfonts/">Google Font API</a></strong>. They host fonts and give you the code to embed them onto your website. A great solution, and free, unlike <a href="http://typekit.com/">Type Kit</a>.</p>
<p>Well since it&#8217;s a Google product I figured it was obviously cross browser safe. So I was surprised (<em>and not pleasantly</em>) when I opened my clients site in Internet Explorer and saw that instead of the font <strong>Josefin Sans Std Light</strong> showing up, (<em>I am using it for headings and navigation items on the website</em>), the browser was showing Arial. <strong>WTF? </strong>Popped open Safari, no problem. Looked in Chrome, and again, Arial was showing! So I went to the source, the <a href="http://code.google.com/webfonts/family?family=Josefin+Sans+Std+Light">page right on the Google Font API website</a> where you can preview the font. And after looking at that page in the browsers, I realized something important: <strong>The fonts in the Google Font API are NOT cross-browser compliant! </strong>Keep reading to see what I&#8217;m talking about (<em>screenshots</em>), and the solution I came up with to solve this problem.<span id="more-899"></span></p>
<p>If you open the preview page on the Google Font API site for the font <a href="http://code.google.com/webfonts/family?family=Josefin+Sans+Std+Light">Josefin Sans Std Light</a> in different browsers, you&#8217;ll see the following. Firefox displays the font correctly, while Internet Explorer (I tried 7 &#038; 8), and Google Chrome don&#8217;t display it correctly. <strong>YES, you heard correctly, the font in the GOOGLE Font API doesn&#8217;t work in the GOOGLE browser.</strong> Sweet.</p>
<p><img alt="" src="http://webdesignandsuch.com/posts/google-font-api/firefox.jpg" title="google font api" class="alignnone" width="530" height="316" style="margin-bottom:5px; border: 1px solid #ccc"/></p>
<p><img alt="" src="http://webdesignandsuch.com/posts/google-font-api/ie.jpg" title="Google font api" class="alignnone" width="530" height="316" style="margin-bottom:5px; border: 1px solid #ccc"/></p>
<p><img alt="" src="http://webdesignandsuch.com/posts/google-font-api/chrome.jpg" title="google chrome" class="alignnone" width="530" height="316" style="margin-bottom:5px; border: 1px solid #ccc"/></p>
<p>And in case you&#8217;re wondering if it was just this one font that is having a problem, it isn&#8217;t; I checked and found that other fonts aren&#8217;t displaying properly either.</p>
<p><strong>Enough bitching, what&#8217;s the solution?</strong> I am ready to launch my client&#8217;s website and she already approved this font, so I&#8217;m not about to waste time or compromise the design of the site by picking a different font.</p>
<h3><a href="http://www.fontsquirrel.com">Font Squirrel</a> to the rescue!!</h3>
<p>I&#8217;ve seen this site before and honestly never had a reason until now to use it. But what a life saver it was today. </p>
<p><strong>First </strong>I went to the <a href="http://www.fontsquirrel.com/fonts/Josefin">page on the site</a> for the Josefin Sans Std Light font. Hit the button to download the font to your desktop.</p>
<p><strong>Next, </strong>go to the Font Squirrel <a href="http://www.fontsquirrel.com/fontface/generator">@font-face Kit Generator</a>. Hit &#8220;Add Fonts&#8221; and choose the font you just downloaded. Once it&#8217;s uploaded hit &#8220;Download Your Kit&#8221;. This will give you a zip file with everything you need to embed the font on your website. I popped open the demo HTML page they give you, opened it in the browsers, and voila:</p>
<p><img alt="" src="http://webdesignandsuch.com/posts/google-font-api/firefox2.jpg" title="Firefox" class="alignnone" width="530" height="228" style="margin-bottom:5px; border: 1px solid #ccc"/></p>
<p><img alt="" src="http://webdesignandsuch.com/posts/google-font-api/ie2.jpg" title="ie" class="alignnone" width="530" height="228" style="margin-bottom:5px; border: 1px solid #ccc"/></p>
<p><img alt="" src="http://webdesignandsuch.com/posts/google-font-api/chrome2.jpg" title="Google Chrome" class="alignnone" width="530" height="228" style="margin-bottom:5px; border: 1px solid #ccc"/></p>
<p>So now I&#8217;ll pop that code into my client&#8217;s site and problem solved! Now that being said, it doesn&#8217;t make much sense to go to the <a href="http://code.google.com/apis/webfonts/">Google Font API</a> to pick a font just to embed it with a different technique. I probably wouldn&#8217;t have chosen this font except that I liked the simplicity of the Google embedding system. I&#8217;m sure they&#8217;ll work it out in the future; but if you&#8217;re like me and need a quick solution to this problem <strong>NOW</strong>, <a href="http://www.fontsquirrel.com">Font Squirrel</a> and embedding fonts with <strong>@ font-face</strong> might be the answer for you to.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://webdesignandsuch.com/2009/09/how-to-fix-the-line-height-spacing-issue-of-superscript-or-subscript-with-css/" rel="bookmark" class="crp_title">How to fix the line height spacing issue of Superscript or Subscript with CSS</a></li><li><a href="http://webdesignandsuch.com/2009/07/beantowndesign-com-re-design-launch/" rel="bookmark" class="crp_title">BeantownDesign.com re-design Launch!</a></li><li><a href="http://webdesignandsuch.com/2009/12/simple-form-styling-with-css/" rel="bookmark" class="crp_title">Simple form styling with CSS</a></li><li><a href="http://webdesignandsuch.com/2009/01/keymaster-password-management-system/" rel="bookmark" class="crp_title">KeyMaster &#8211; Password Management System</a></li><li><a href="http://webdesignandsuch.com/2010/06/fancymoves-jquery-product-slider/" rel="bookmark" class="crp_title">FancyMoves <br />A new jQuery Product Slider</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/2010/07/fix-fonts-that-dont-work-with-google-font-api-in-internet-explorer-or-chrome-with-font-face/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Create a .htaccess file to redirect to a 404.html page</title>
		<link>http://webdesignandsuch.com/2010/06/create-a-htaccess-file-to-redirect-to-a-404-html-page/</link>
		<comments>http://webdesignandsuch.com/2010/06/create-a-htaccess-file-to-redirect-to-a-404-html-page/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 13:45:29 +0000</pubDate>
		<dc:creator>ilz</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[htaccess]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=882</guid>
		<description><![CDATA[A 404 error is what happens when you try to access a page on a website that doesn&#8217;t exist. We&#8217;ve all gotten them; due to typos, a moved file, whatever the case. As designers / developers we need to make sure we help the users of our websites should this happen to them. The last [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom:10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwebdesignandsuch.com%2F2010%2F06%2Fcreate-a-htaccess-file-to-redirect-to-a-404-html-page%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwebdesignandsuch.com%2F2010%2F06%2Fcreate-a-htaccess-file-to-redirect-to-a-404-html-page%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><img alt="" src="http://webdesignandsuch.com/posts/404/404.jpg" title="htaccess page" class="alignnone" width="422" height="227" style="border:3px solid #b96d04; margin:0 0 15px 0"/></p>
<p>A 404 error is what happens when you try to access a page on a website that doesn&#8217;t exist. We&#8217;ve all gotten them; due to typos, a moved file, whatever the case. As designers / developers we need to make sure we help the users of our websites should this happen to them. The last thing we want is for them to get an ugly 404 error, get discouraged, and exit your website.</p>
<p>Instead, you want to create a custom 404 webpage, and redirect the user to this page should the error happen to them. This is done by uploading a .htaccess page to the root of your website.<br />
<span id="more-882"></span><br />
Simply create a text document named htaccess in any text editor, and copy past the following code.</p>
<div class="codeBox">&lt;IfModule mod_rewrite.c&gt;<br />
RewriteEngine On<br />
ErrorDocument 404 /404.html<br />
&lt;/IfModule&gt;</div>
<p>What that code is doing is redirecting the user to 404.html. Obviously you can name the page anything, just make sure to change the code. Upload the file, put a dot in font of the name ( so it&#8217;s <strong>.htaccess</strong> ), and you&#8217;re all set. Go to your site and type in a page that you know doesn&#8217;t exist. You should be re-directed to your new 404.html page.</p>
<p>Speaking of your new 404.html page, make sure when you create it you help the user along. Check out the 404 page I made for my website, BeantownDesign.com </p>
<p><a class="demo-link" href="http://beantowndesign.com/404.html">Beantown Design 404.html page</a></p>
<p>You can see it&#8217;s rather simple, but I point the user to the three things I consider to be the most important on my site: my home page, my portfolio, and of course my contact page. You can do whatever you want, just make sure you are making your user&#8217;s life easier.</p>
<p><strong>Here is a htaccess file you can download and use.</strong></p>
<p><a class="demo-link" href="http://webdesignandsuch.com/posts/404/htaccess.zip">Download File</a></p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://webdesignandsuch.com/2009/11/using-smooth-scroll-with-page-anchors-and-javascript/" rel="bookmark" class="crp_title">Using Smooth Scroll with Page Anchors and Javascript</a></li><li><a href="http://webdesignandsuch.com/2010/06/how-to-test-if-your-browser-supports-is-running-php/" rel="bookmark" class="crp_title">How to test if your server supports / is running PHP.</a></li><li><a href="http://webdesignandsuch.com/2009/11/how-to-embed-a-twitter-feed-on-your-website/" rel="bookmark" class="crp_title">How to embed a Twitter Feed on your website</a></li><li><a href="http://webdesignandsuch.com/2009/07/how-to-add-the-current-date-to-your-webpage-with-javascipt/" rel="bookmark" class="crp_title">How to Add the Current Date to your webpage with Javascipt</a></li><li><a href="http://webdesignandsuch.com/2009/09/how-to-load-a-random-image-on-pageload-javascript/" rel="bookmark" class="crp_title">How to load a random image on pageload ~ Javascript</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/2010/06/create-a-htaccess-file-to-redirect-to-a-404-html-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a Realistic Stainless Steel Background in Photoshop</title>
		<link>http://webdesignandsuch.com/2010/06/create-a-realistic-stainless-steel-background-in-photoshop/</link>
		<comments>http://webdesignandsuch.com/2010/06/create-a-realistic-stainless-steel-background-in-photoshop/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 13:45:44 +0000</pubDate>
		<dc:creator>ilz</dc:creator>
				<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Photoshop Tutorial]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=830</guid>
		<description><![CDATA[Designing a realistic stainless steel background in Photoshop for use in print or web design is a rather painless process. In this tutorial I&#8217;ll show you how to make your own stainless steel effect in a few simple steps. In Photoshop, create a new layer and name it Stainless. Select this layer and fill with [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom:10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwebdesignandsuch.com%2F2010%2F06%2Fcreate-a-realistic-stainless-steel-background-in-photoshop%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwebdesignandsuch.com%2F2010%2F06%2Fcreate-a-realistic-stainless-steel-background-in-photoshop%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="alignnone" style="border: 3px solid #333; margin: 0 0 15px 0;" title="free stainless steel background" src="http://webdesignandsuch.com/posts/stainless/stainless.jpg" alt="" width="422" height="211" /></p>
<p><strong>Designing a realistic stainless steel background in Photoshop</strong> for use in print or web design is a rather painless process. In this tutorial I&#8217;ll show you how to make your own stainless steel effect in a few simple steps.</p>
<p>In Photoshop, create a new layer and name it <strong>Stainless</strong>. Select this layer and fill with a gray color. I used RGB #bebdbd<br />
<span id="more-830"></span><br />
<img alt="stainless steel background" src="http://webdesignandsuch.com/posts/stainless/s1.jpg" title="stainless steel background" class="alignnone" width="500" height="292" style="border:2px solid #666"/></p>
<p>With the <strong>Stainless</strong> layer still selected, select <strong>Filter > Noise > Add Noise</strong></p>
<p><img alt="stainless steel photoshop" src="http://webdesignandsuch.com/posts/stainless/s2.jpg" title="stainless steel photoshop" class="alignnone" width="500" height="372" style="border:2px solid #666"/></p>
<p>Use the following settings:<br />
<strong>Amount:15%<br />
Distribtion: Gaussian<br />
Monochromatic</strong></p>
<p><img alt="stainless steel tutorial" src="http://webdesignandsuch.com/posts/stainless/s22.jpg" title="stainless steel tutorial" class="alignnone" width="500" height="345" style="border:2px solid #666"/></p>
<p>With the <strong>Stainless</strong> layer still selected, select <strong>Filter > Blur > Motion Blur</strong></p>
<p><img alt="brushed aluminum photoshop" src="http://webdesignandsuch.com/posts/stainless/s3.jpg" title="brushed aluminum photoshop" class="alignnone" width="500" height="374" style="border:2px solid #666"/></p>
<p>Use the following settings:<br />
<strong>Angle: 0<br />
Distance: 30 pixels</strong></p>
<p><img alt="metal in photoshop" src="http://webdesignandsuch.com/posts/stainless/s4.jpg" title="metal in photoshop" class="alignnone" width="500" height="344" style="border:2px solid #666"/></p>
<p>At this point you should have a pretty realistic looking stainless steel layer for your design. I wanted to go one step further. I created a new layer called <strong>Gradient</strong>. In this layer I made a gradient using white. </p>
<p><img alt="free stainless steel background" src="http://webdesignandsuch.com/posts/stainless/s5.jpg" title="free stainless steel background" class="alignnone" width="500" height="241" style="border:2px solid #666"/></p>
<p>I changed the layer blend mode to <strong>Soft Light</strong>, and I called it a day! </p>
<p><img alt="steel background" src="http://webdesignandsuch.com/posts/stainless/s6.jpg" title="steel background" class="alignnone" width="500" height="304" style="border:2px solid #666"/></p>
<p>Below are a few examples of what can be created using this technique by simply choosing a different color at the beginning to fill the layer with.</p>
<p><img alt="stainless steel background" src="http://webdesignandsuch.com/posts/stainless/1.jpg" title="stainless steel background" class="alignnone" width="500" height="304" /></p>
<p><img alt="stainless steel background" src="http://webdesignandsuch.com/posts/stainless/2.jpg" title="stainless steel background" class="alignnone" width="500" height="304" /></p>
<p><img alt="stainless steel background" src="http://webdesignandsuch.com/posts/stainless/3.jpg" title="stainless steel background" class="alignnone" width="500" height="304" /></p>
<p><img alt="stainless steel background" src="http://webdesignandsuch.com/posts/stainless/4.jpg" title="stainless steel background" class="alignnone" width="500" height="304" /></p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://webdesignandsuch.com/2009/05/how-to-create-the-apple-product-image-reflection-effect/" rel="bookmark" class="crp_title">How to create the Apple Product Image Reflection Effect in Photoshop</a></li><li><a href="http://webdesignandsuch.com/2009/10/how-to-create-an-animated-favicon-for-your-website-or-wordpress-blog/" rel="bookmark" class="crp_title">How to create an Animated Favicon for your website or WordPress blog</a></li><li><a href="http://webdesignandsuch.com/2009/10/create-a-shiny-web-2-0-button/" rel="bookmark" class="crp_title">Create a Shiny &#8220;Web 2.0&#8243; Button</a></li><li><a href="http://webdesignandsuch.com/2009/03/creating-a-panorama-in-photoshop-for-the-web/" rel="bookmark" class="crp_title">Creating a Panorama in Photoshop for the web</a></li><li><a href="http://webdesignandsuch.com/2010/06/make-the-words-in-a-form-input-disappear-or-be-selected-on-click-focus/" rel="bookmark" class="crp_title">Make the words in a Form Input disappear or be selected on click / focus.</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/2010/06/create-a-realistic-stainless-steel-background-in-photoshop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FancyMoves A new jQuery Product Slider</title>
		<link>http://webdesignandsuch.com/2010/06/fancymoves-jquery-product-slider/</link>
		<comments>http://webdesignandsuch.com/2010/06/fancymoves-jquery-product-slider/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 13:45:34 +0000</pubDate>
		<dc:creator>ilz</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[Slider]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=821</guid>
		<description><![CDATA[Need a nice looking product slider for you website? Introducing FancyMoves, a new jQuery Product slider for your website or blog. This slider is built off the Moving Boxes slider, with FancyBox for expanding images. Slider features: Images shrink as they leave the slider Keyboard Navigation (use your keyboard arrows to move to the last [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom:10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwebdesignandsuch.com%2F2010%2F06%2Ffancymoves-jquery-product-slider%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwebdesignandsuch.com%2F2010%2F06%2Ffancymoves-jquery-product-slider%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://webdesignandsuch.com/posts/jquery-product-slider/jQuery-productSlider/index.html" target="_blank" style="background:none"><img alt="" src="http://webdesignandsuch.com/posts/jquery-product-slider/slider.jpg" title="jQuery product slider" class="alignnone" width="422" height="211" style="border:3px solid #000; margin:0 0 15px 0; "/></a></p>
<p><strong><span style="font-size:17px; color:#333">Need a nice looking product slider for you website?</span></strong> </p>
<p>Introducing <strong>FancyMoves</strong>, a new jQuery Product slider for your website or blog. This slider is built off the <a href="http://css-tricks.com/moving-boxes/">Moving Boxes slider</a>, with <a href="http://fancybox.net/">FancyBox</a> for expanding images.</p>
<div class="codeBox">
<strong><span style="font-size:17px; color:#333">Slider features:</span></strong></p>
<ul>
<li style="margin-bottom:8px"><strong>Images shrink as they leave the slider </strong></li>
<li style="margin-bottom:8px"><strong>Keyboard Navigation </strong><br />(use your keyboard arrows to move to the last / next product)</li>
<li style="margin-bottom:8px"><strong>Click on images to navigate</strong></li>
<li style="margin-bottom:8px"><strong>CSS opacity for rollover effect on buttons</strong></li>
<li ><strong>FancyBox built in for expanding images</strong><br />(left / right buttons on rollover for other image views)</li>
</ul>
</div>
<p><a style="margin:15px 0" class="demo-link" href="http://webdesignandsuch.com/posts/jquery-product-slider/jQuery-productSlider/index.html" target="_blank">View Demo</a></p>
<p><span id="more-821"></span></p>
<p style="margin:15px 0"><strong>FancyMoves</strong> is a great slider to show off services, products, or whatever you can dream up. The main image is enlarged to attract your focus. There are three ways to navigate to the next / last item: using your keyboard arrows, using the left and right arrows on the sides of the slider, or simply clicking on the next or last item in the slider.</p>
<p><img alt="" src="http://webdesignandsuch.com/posts/jquery-product-slider/examp.jpg" title="jQuery slider" class="alignnone" width="510" height="277" /></p>
<p>FancyBox is built in so you can have images enlarge with an overlay effect on the screen. Hovering over the enlarged photo shows arrows, allowing you to navigate to other images within the group. Any of the FancyBox features can be added to the code of course, for different effects including: speed, overlay styles, expanding transitions, etc.</p>
<p>This slider is brought to you for free thanks to good old open source on the web. If you use it, shoot me a message and I&#8217;ll link your site here for others to see. </p>
<p>Don&#8217;t forget to check out <strong><a href="http://shop.ugmonk.com" target="_blank" />Ugmonk</a></strong>, where you can actually buy the products from the demo slider.
<p>Want to set the slider to autoplay? Check out my <strong><a href="http://webdesignandsuch.com/2010/06/set-the-jquery-moving-boxes-slider-to-autoplay/">demo here</a></strong> for info.</p>
<p><a class="demo-link" href="http://webdesignandsuch.com/posts/jquery-product-slider/jQuery-productSlider/FancyMoves.zip" >Download FancyMoves</a></p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://webdesignandsuch.com/2009/12/jquery-product-slider/" rel="bookmark" class="crp_title">jQuery Product Slider</a></li><li><a href="http://webdesignandsuch.com/2010/06/set-the-jquery-moving-boxes-slider-to-autoplay/" rel="bookmark" class="crp_title">Set the jQuery Moving Boxes Slider to Autoplay</a></li><li><a href="http://webdesignandsuch.com/2009/12/embed-a-twitter-feed-on-your-website-with-jquery/" rel="bookmark" class="crp_title">Embed a Twitter Feed on your website with jQuery</a></li><li><a href="http://webdesignandsuch.com/2010/06/how-to-refresh-reload-a-webpage-with-jquery/" rel="bookmark" class="crp_title">How to refresh / reload a webpage with jQuery</a></li><li><a href="http://webdesignandsuch.com/2009/05/how-to-create-the-apple-product-image-reflection-effect/" rel="bookmark" class="crp_title">How to create the Apple Product Image Reflection Effect in Photoshop</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/2010/06/fancymoves-jquery-product-slider/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to test if your server supports / is running PHP.</title>
		<link>http://webdesignandsuch.com/2010/06/how-to-test-if-your-browser-supports-is-running-php/</link>
		<comments>http://webdesignandsuch.com/2010/06/how-to-test-if-your-browser-supports-is-running-php/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 12:45:02 +0000</pubDate>
		<dc:creator>ilz</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=805</guid>
		<description><![CDATA[If you&#8217;re going to use PHP on a website the server needs to be running PHP right? Well duuh! If you work on a variety of websites for a lot of clients, you&#8217;re going to deal with different hosts and servers. Before you hook up a form to PHP or whatever else you are planning [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom:10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwebdesignandsuch.com%2F2010%2F06%2Fhow-to-test-if-your-browser-supports-is-running-php%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwebdesignandsuch.com%2F2010%2F06%2Fhow-to-test-if-your-browser-supports-is-running-php%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="alignnone" style="border: 3px solid #d398ac; margin: 0 0 15px 0;" title="How to test a server for PHP" src="http://webdesignandsuch.com/posts/test-php/php-test.jpg" alt="" width="422" height="227" /></p>
<p>
If you&#8217;re going to use PHP on a website the server needs to be running PHP right? Well duuh! If you work on a variety of websites for a lot of clients, you&#8217;re going to deal with different hosts and servers. Before you hook up a form to PHP or whatever else you are planning on doing, you better make sure the server can run PHP if it isn&#8217;t.</p>
<p>
The quickest way to test servers for PHP is to create a testing PHP file that you can upload to a clients website to see if PHP is running. The good thing about this is you can reuse it for every site. You simply upload this to the server, and try to open it in your web browser. If it works, you&#8217;ll see an html page with the info about the PHP running on the server. If it isn&#8217;t running PHP, well you won&#8217;t see anything!</p>
<p>
Keep reading for the code to make your own. I also provide mine as a download to save you time.</p>
<p><span id="more-805"></span></p>
<p>
If you want to create your own, just create a document called <strong>info.php</strong>. Within this file paste the following text:
</p>
<div class="codeBox">&lt;?php<br />
phpinfo();<br />
?&gt;</div>
<p>Once you upload that, try to open it in your browser. If it works, it&#8217;ll show the info about the PHP running on the server. If it doesn&#8217;t work&#8230;well you better call the host.
<p>Speaking of hosts, <a href="http://www.BlueHost.Com/track/beantowndesign/hosting-ad">here&#8217;s the host I recommend to all my clients</a>, and use for all of my personal websites, including <a href="http://www.webdesignandsuch.com">WebDesignAndSuch.com</a> and <a href="http://www.beantowndesign.com">BeantownDesign.com</a></p>
<p>Anyway, back to the PHP topic, here is a info.php file like I mentioned above. Figured I&#8217;d save you some time. Happy coding!</p>
<p><a class="demo-link" href="http://webdesignandsuch.com/posts/test-php/info.php.zip">Download info.php</a></p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://webdesignandsuch.com/2010/06/create-a-htaccess-file-to-redirect-to-a-404-html-page/" rel="bookmark" class="crp_title">Create a .htaccess file to redirect to a 404.html page</a></li><li><a href="http://webdesignandsuch.com/2009/02/colorzilla-20-firefox-add-on/" rel="bookmark" class="crp_title">ColorZilla 2.0 Firefox Add-On</a></li><li><a href="http://webdesignandsuch.com/2009/12/how-to-create-a-custom-iphone-icon-for-your-website/" rel="bookmark" class="crp_title">How to create a custom iPhone icon for your website</a></li><li><a href="http://webdesignandsuch.com/2009/01/how-to-make-a-gravatar-avatar/" rel="bookmark" class="crp_title">How to make a Gravatar (avatar)</a></li><li><a href="http://webdesignandsuch.com/2009/10/how-to-create-an-animated-favicon-for-your-website-or-wordpress-blog/" rel="bookmark" class="crp_title">How to create an Animated Favicon for your website or WordPress blog</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/2010/06/how-to-test-if-your-browser-supports-is-running-php/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to take a screenshot on your iPhone</title>
		<link>http://webdesignandsuch.com/2010/06/how-to-take-a-screenshot-on-your-iphone/</link>
		<comments>http://webdesignandsuch.com/2010/06/how-to-take-a-screenshot-on-your-iphone/#comments</comments>
		<pubDate>Sun, 13 Jun 2010 15:00:30 +0000</pubDate>
		<dc:creator>ilz</dc:creator>
				<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=815</guid>
		<description><![CDATA[Ever wonder how to take a screenshot on your iPhone? This feature is actually built into the iPhone, keep reading to see how! Want to make a custom iPhone icon for your website? See how here. Related Posts:How to create a custom iPhone icon for your websiteColorZilla 2.0 Firefox Add-OnBooq Folee 2 Messenger Bag ReviewHow [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-bottom:10px">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwebdesignandsuch.com%2F2010%2F06%2Fhow-to-take-a-screenshot-on-your-iphone%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwebdesignandsuch.com%2F2010%2F06%2Fhow-to-take-a-screenshot-on-your-iphone%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><img alt="" src="http://webdesignandsuch.com/posts/iphone-screenshot/iphone-screenshot.jpg" title="iPhone screenshot" class="alignnone" width="422" height="211" style="border:3px solid #000; margin:0 0 15px 0"/></p>
<p>Ever wonder how to take a screenshot on your iPhone? This feature is actually built into the iPhone, keep reading to see how!</p>
<p><span id="more-815"></span></p>
<p><img alt="" src="http://webdesignandsuch.com/posts/iphone-screenshot/1.jpg" title="iphone screenshot" class="alignnone" width="500" height="345" /></p>
<p><img alt="" src="http://webdesignandsuch.com/posts/iphone-screenshot/2.jpg" title="screenshot on iphone" class="alignnone" width="500" height="345" /></p>
<p><img alt="" src="http://webdesignandsuch.com/posts/iphone-screenshot/3.jpg" title="screenshot on iphone" class="alignnone" width="500" height="345" /></p>
<p>Want to make a custom iPhone icon for your website? <strong><a href="http://webdesignandsuch.com/2009/12/how-to-create-a-custom-iphone-icon-for-your-website/">See how here.</a></strong></p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://webdesignandsuch.com/2009/12/how-to-create-a-custom-iphone-icon-for-your-website/" rel="bookmark" class="crp_title">How to create a custom iPhone icon for your website</a></li><li><a href="http://webdesignandsuch.com/2009/02/colorzilla-20-firefox-add-on/" rel="bookmark" class="crp_title">ColorZilla 2.0 Firefox Add-On</a></li><li><a href="http://webdesignandsuch.com/2009/11/booq-folee-2-messenger-bag-review/" rel="bookmark" class="crp_title">Booq Folee 2 Messenger Bag Review</a></li><li><a href="http://webdesignandsuch.com/2009/01/how-to-create-add-a-favicon-to-your-website-or-wordpress-blog/" rel="bookmark" class="crp_title">How to create &#038; add a Favicon to your website or WordPress Blog</a></li><li><a href="http://webdesignandsuch.com/2010/06/create-a-htaccess-file-to-redirect-to-a-404-html-page/" rel="bookmark" class="crp_title">Create a .htaccess file to redirect to a 404.html page</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/2010/06/how-to-take-a-screenshot-on-your-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
