<?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>Cre8ive Commando &#187; Tutorials</title>
	<atom:link href="http://www.cre8ivecommando.com/category/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cre8ivecommando.com</link>
	<description>Explosive Creativity</description>
	<lastBuildDate>Mon, 06 Sep 2010 01:28:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Must have WordPress plugins for bloggers</title>
		<link>http://www.cre8ivecommando.com/must-have-wordpress-plugins-for-bloggers-4808/</link>
		<comments>http://www.cre8ivecommando.com/must-have-wordpress-plugins-for-bloggers-4808/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 13:55:08 +0000</pubDate>
		<dc:creator>Cre8ive Commando</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[best wordpress plugins]]></category>
		<category><![CDATA[must have wordpress plugins]]></category>
		<category><![CDATA[top wordpress plugins]]></category>
		<category><![CDATA[useful wordpress plugins]]></category>
		<category><![CDATA[wordpress plugins for bloggers]]></category>

		<guid isPermaLink="false">http://www.cre8ivecommando.com/?p=4808</guid>
		<description><![CDATA[WordPress is a great blogging platform and CMS, so it&#8217;s no surprise that more and more people are using it everyday. One of the main reasons WordPress is so popular is due to its huge following and support from developers. They&#8217;re the ones creating all of the great WordPress plugins that we take for granted. [...]]]></description>
			<content:encoded><![CDATA[<p>WordPress is a great blogging platform and CMS, so it&#8217;s no surprise that more and more people are using it everyday. One of the main reasons WordPress is so popular is due to its huge following and support from developers. They&#8217;re the ones creating all of the great WordPress plugins that we take for granted. Of course, not all plugins were created equal, so in this post I&#8217;m going to go through some of the must have WordPress plugins that I have found over the years. Please also let me know of any great WordPress plugins you have found useful.<span id="more-4808"></span></p>
<p>Here are some great WordPress plugins for bloggers:</p>
<h2>All in One SEO Pack</h2>
<p>Optimizes your WordPress blog for Search Engines (Search Engine Optimization). If you don&#8217;t know much about SEO then this plugin will help you set up some basic SEO for your site to help it get indexed more effectively.</p>
<p><a rel="nofollow" href="http://wordpress.org/extend/plugins/all-in-one-seo-pack/" target="_blank">Get this plugin »</a></p>
<h2>Google XML Sitemaps</h2>
<p>Having a proper sitemap will also improve your website&#8217;s SEO. This plugin will generate a special XML sitemap which will help search  engines like Google, Bing, Yahoo and Ask.com to better index your blog.  With such a sitemap, it&#8217;s much easier for the crawlers to see the  complete structure of your site and retrieve it more efficiently.</p>
<p><a rel="nofollow" href="http://wordpress.org/extend/plugins/google-sitemap-generator/" target="_blank">Get this plugin »</a></p>
<h2>Contact Form 7</h2>
<p>Most of us would like to have a contact form on our contact page and this plugin is by far the most popular WordPress Contact Form plugin. It can manage multiple contact forms, plus you can customize  the form and the mail contents flexibly with simple markup. The form  supports Ajax-powered submitting, CAPTCHA, Akismet spam filtering and so  on.</p>
<p><a rel="nofollow" href="http://wordpress.org/extend/plugins/contact-form-7/" target="_blank">Get this plugin »</a></p>
<h2>TDO Mini Forms</h2>
<p>Many people haven&#8217;t heard of this plugin before but it&#8217;s quite a good one. Have you noticed the community news feeds featured on certain websites? You can allow your visitors to post community news to your site using TDO Mini Forms. This plugin allows you to add highly customisable forms that work with  your WordPress Theme to your website that allows non-registered users  and/or subscribers (also configurable) to submit and edit posts and  pages.</p>
<p><a rel="nofollow" href="http://wordpress.org/extend/plugins/tdo-mini-forms/" target="_blank">Get this plugin »</a></p>
<h2>AddToAny: Share Button</h2>
<p>A great little plugin to help your visitors promote your posts through social media sharing. This WordPress plugin helps people <strong>share</strong>, <strong>bookmark</strong>, and <strong>email</strong> your posts and pages using <strong>any service</strong>, such as Facebook, Twitter, Google Buzz, Digg, Delicious, and well over 100 more social bookmarking and sharing sites.</p>
<p><a rel="nofollow" href="http://wordpress.org/extend/plugins/add-to-any/" target="_blank">Get this plugin »</a></p>
<h2>TweetMeme Button</h2>
<p>Twitter is one of the best ways to promote your blog posts so you need to make sure that you have a &#8220;retweet&#8221; button on your page. The TweetMeme Retweet button is a very popular Retweet button used by some of the biggest websites in the world including  Techcrunch.com, PerezHilton.com, Break.com, CNET.com, Wired, Time  Magazine and hundreds of other massive brands, in total it is installed  on over 100,000 websites around the globe.</p>
<p><a rel="nofollow" href="http://wordpress.org/extend/plugins/tweetmeme/" target="_blank">Get this plugin »</a></p>
<h2>SyntaxHighlighter Evolved</h2>
<p>SyntaxHighlighter Evolved allows you to easily post syntax-highlighted  code to your site without loosing it&#8217;s formatting or making any manual  changes. This is probably the best syntax highlighting plugin I have found as it looks nice, supports many programming languages and also allows users to copy code to their clipboard with a single click.</p>
<p><a rel="nofollow" href="http://wordpress.org/extend/plugins/syntaxhighlighter/" target="_blank">Get this plugin »</a></p>
<h2>WP-PageNavi</h2>
<p>This plugin allows you to add more advanced pagination to your WordPress blog. Basically instead of having the &#8220;previous posts&#8221; button at the bottom of your homepage, you can list a bunch of your pages with next and previous links.</p>
<p><a rel="nofollow" href="http://wordpress.org/extend/plugins/wp-pagenavi/" target="_blank">Get this plugin »</a></p>
<h2>WP Super Cache</h2>
<p>If your website is experiencing a heavy load of visitors then this plugin will definitely come in handy. WP Super Cache basically generates static html files from your dynamic WordPress  blog.  After a html file is generated your web server will serve that  file instead of processing the comparatively heavier and more expensive  WordPress PHP scripts. It can sometimes cause certain other plugins to perform strangely when &#8220;Super Cache&#8221; is turned on so you might want to test it out first.</p>
<p><a rel="nofollow" href="http://wordpress.org/extend/plugins/wp-super-cache/" target="_blank">Get this plugin »</a></p>
<h3>Don&#8217;t add too many plugins</h3>
<p>Before you go adding every plugin under the sun to your WordPress website, just remember that each plugin requires files to be requested every time someone visits your website. So the more plugins  you have, the more your website may get bogged down. Heavier websites  generally won&#8217;t display very quickly when they are experiencing higher  levels of visitors (You can analyse the speed at which your site loads  using <a href="../improve-the-performance-of-your-website-with-yslow-2098/">YSlow</a>). So try to make sure you only use the plugins that you really need.</p>
<p>Which plugins have you found useful?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cre8ivecommando.com/must-have-wordpress-plugins-for-bloggers-4808/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>A simple way to add a Facebook like button to your website</title>
		<link>http://www.cre8ivecommando.com/a-simple-way-to-add-a-facebook-like-button-to-your-website-4665/</link>
		<comments>http://www.cre8ivecommando.com/a-simple-way-to-add-a-facebook-like-button-to-your-website-4665/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 13:11:25 +0000</pubDate>
		<dc:creator>Cre8ive Commando</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[add facebook button to site]]></category>
		<category><![CDATA[face book like button]]></category>
		<category><![CDATA[facebook button]]></category>
		<category><![CDATA[facebook like button]]></category>

		<guid isPermaLink="false">http://www.cre8ivecommando.com/?p=4665</guid>
		<description><![CDATA[With over 500 million active users, Facebook is a giant in the Internet sphere. It&#8217;s not surprising to see more and more websites and blogs placing Facebook like buttons on their sites to get more visitors and exposure. Placing a Facebook like button on your web page allows people to like your page and share [...]]]></description>
			<content:encoded><![CDATA[<p>With over 500 million active users, Facebook is a giant in the Internet sphere. It&#8217;s not surprising to see more and more websites and blogs placing Facebook like buttons on their sites to get more visitors and exposure. Placing a Facebook like button on your web page allows people to like your page and share it with their Facebook friends. It&#8217;s pretty simple to add one to your site and I&#8217;ll show you how to do it in a few simple steps.</p>
<p><span id="more-4665"></span><img class="alignnone size-full wp-image-4672" title="facebook-like-button-code" src="http://www.cre8ivecommando.com/wp-content/uploads/2010/08/facebook-like-button-code.jpg" alt="facebook like button code" width="515" height="98" /></p>
<p>This is what your button will look like. Firstly you need to figure out where you would like to place your button on your web page. You then copy and paste the following code snippet into your HTML and be sure to replace the sample URL with your own web page URL.</p>
<pre class="brush: xml;">
&lt;iframe src=&quot;http://www.facebook.com/plugins/like.php?href=http://sample.com
&amp;amp;layout=standard&amp;amp;show-faces=true&amp;amp;width=450&amp;amp;action=like&amp;amp;font=arial&amp;amp;colorscheme=light&quot;
scrolling=&quot;no&quot; frameborder=&quot;0&quot; allowTransparency=&quot;true&quot; id=&quot;facebook-like&quot;&gt;
&lt;/iframe&gt;
</pre>
<p>If you have a WordPress blog then you could replace the sample URL with  the following code  which will get the current URL of your page.</p>
<pre class="brush: xml;">

&lt;?php echo rawurlencode(get_permalink()); ?&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.cre8ivecommando.com/a-simple-way-to-add-a-facebook-like-button-to-your-website-4665/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Center a website horizontally and vertically using CSS</title>
		<link>http://www.cre8ivecommando.com/center-a-website-horizontally-and-vertically-using-css-4540/</link>
		<comments>http://www.cre8ivecommando.com/center-a-website-horizontally-and-vertically-using-css-4540/#comments</comments>
		<pubDate>Fri, 13 Aug 2010 06:56:22 +0000</pubDate>
		<dc:creator>Cre8ive Commando</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[absolute center a div]]></category>
		<category><![CDATA[center a div]]></category>
		<category><![CDATA[center your website exactly]]></category>

		<guid isPermaLink="false">http://www.cre8ivecommando.com/?p=4540</guid>
		<description><![CDATA[Let&#8217;s say that you have a website or a div that you need to place in the center of of the page both horizontally and vertically. You may be creating a pop-up window or a centered website, as long as your site has a set height and width it&#8217;s easy to center it. As an example [...]]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s say that you have a website or a div that you need to place in the center of of the page both horizontally and vertically. You may be creating a pop-up window or a centered website, as long as your site has a set height and width it&#8217;s easy to center it.</p>
<p><span id="more-4540"></span></p>
<p>As an example let&#8217;s assume that your website is 800px wide and 400px high. Here is the HTML along with the CSS to center this website exactly in the middle of the page horizontally and vertically.</p>
<h3>The HTML:</h3>
<pre class="brush: xml;">

&lt;div class=&quot;center&quot;&gt;
Your website goes here.
&lt;/div&gt;
</pre>
<h3>The CSS:</h3>
<pre class="brush: css;">

.center {
width: 800px;
height: 400px;
position: absolute;
left: 50%;
top: 50%;
margin-left: -400px;
margin-top: -200px;
}
</pre>
<p>Basically you just need to make sure that the left margin is half of your website width and that the top margin is half of the website height. If you only want to center your website horizontally then simply remove the &#8220;top:50%&#8221; and &#8220;margin-top:-200px&#8221; from the CSS.</p>
<p>(Awesome meditation image by <a rel="nofollow" href="http://www.flickr.com/photos/emsi_stuff/" target="_blank">Emils Blums</a>).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cre8ivecommando.com/center-a-website-horizontally-and-vertically-using-css-4540/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>A simple way to display your latest tweet on your website</title>
		<link>http://www.cre8ivecommando.com/a-simple-way-to-display-your-latest-tweet-on-your-website-4331/</link>
		<comments>http://www.cre8ivecommando.com/a-simple-way-to-display-your-latest-tweet-on-your-website-4331/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 09:11:41 +0000</pubDate>
		<dc:creator>Cre8ive Commando</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[add a twitter feed to your website]]></category>
		<category><![CDATA[display latest tweet]]></category>
		<category><![CDATA[show latest tweet]]></category>
		<category><![CDATA[Simple way to display tweets]]></category>

		<guid isPermaLink="false">http://www.cre8ivecommando.com/?p=4331</guid>
		<description><![CDATA[These days everyone is on Twitter. There are tweets flying left, right and center through cyberspace. So how do you get your latest tweet to display on your website? Well there are plenty of ways to do it, but the easiest way that I have come across is this one.  No plugins or installation required [...]]]></description>
			<content:encoded><![CDATA[<p>These days everyone is on Twitter. There are tweets flying left, right and center through cyberspace. So how do you get your latest tweet to display on your website? Well there are plenty of ways to do it, but the easiest way that I have come across is this one.  No plugins or installation required and it works on any website. All you need to do is copy and paste three lines of code and you&#8217;re done.<span id="more-4331"></span></p>
<p>First of all you need to decide where you want your latest tweet to go on your website, then copy and paste the following HTML there.</p>
<pre class="brush: xml;">

&lt;div id="twitter_update_list"&gt;&lt;/div&gt;
</pre>
<p>Then simply copy and paste this JavaScript at the bottom of your website before the &lt;/body&gt; tag.</p>
<pre class="brush: xml;">
&lt;script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="http://twitter.com/statuses/user_timeline/blah.json?callback=twitterCallback2&amp;amp;count=1"&gt;&lt;/script&gt;
</pre>
<p>Don&#8217;t forget to replace &#8220;blah&#8221; in the code with your own Twitter account name. You can also change the &#8220;count&#8221; to  display more of your tweets. Now all you need to do is style up your tweet with a bit of simple CSS and you&#8217;re done!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cre8ivecommando.com/a-simple-way-to-display-your-latest-tweet-on-your-website-4331/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Validate your form using MooTools</title>
		<link>http://www.cre8ivecommando.com/validate-your-form-using-mootools-3609/</link>
		<comments>http://www.cre8ivecommando.com/validate-your-form-using-mootools-3609/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 08:23:31 +0000</pubDate>
		<dc:creator>Cre8ive Commando</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[form validation]]></category>
		<category><![CDATA[mootools form]]></category>
		<category><![CDATA[mootools form validation]]></category>
		<category><![CDATA[validate contact form using mootools]]></category>

		<guid isPermaLink="false">http://www.cre8ivecommando.com/?p=3609</guid>
		<description><![CDATA[MooTools is a great JavaScript framework that allows you to write powerful JavaScript code with very little time and effort. Today I&#8217;ll show you just how simple it is to validate your forms using the MooTools &#8220;Form.Validator&#8221; class. Basically all you need to do is add a few classes to your form fields, include the [...]]]></description>
			<content:encoded><![CDATA[<p>MooTools is a great JavaScript framework that allows you to write powerful JavaScript code with very little time and effort. Today I&#8217;ll show you just how simple it is to validate your forms using the MooTools &#8220;<a rel="nofollow" href="http://mootools.net/docs/more/Forms/Form.Validator" target="_blank">Form.Validator</a>&#8221; class. Basically all you need to do is add a few classes to your form fields, include the MooTools &#8220;More&#8221; file in your website header and then initialize your Form.Validator. <span id="more-3609"></span></p>
<h2>About the Form.Validator class:</h2>
<p>The Mootools <a rel="nofollow" href="http://mootools.net/docs/more/Forms/Form.Validator" target="_blank">Form.Validator class</a> evaluates an entire form against all the validators that are set up, firing events when inputs fail validation. There are many built in validators including: isEmpty, required, minLength, validate-numeric, validate-alpha, validate-email and validate-url to help you validate your form. You can also create your own validators if you need to. These validators can very easily be added as classes to your form inputs in your HTML and before you know it your form will have validation.</p>
<h2>Setting up MooTools Form Validation</h2>
<p>As an example let&#8217;s say that you have a contact form that you want to validate. Your contact form has three fields; name, email address and message. You want to make sure that the user enters something into each field before the form can be submitted and you also want to make sure that the email address they enter is valid. Here&#8217;s how to setup your contact form in a few simple steps.</p>
<h3>Contact Form HTML:</h3>
<p>Below is a simple contact form with three inputs (name, email and message) and a submit button. Since I want all these inputs to be &#8220;required&#8221; inputs, I just add the &#8220;required&#8221; class to the inputs. The email address also needs to be checked that it is a valid email address, to do this I similarly add a &#8220;validate-email&#8221; class to this input. There are lots of <a rel="nofollow" href="http://mootools.net/docs/more/Forms/Form.Validator#Validators" target="_blank">other validators</a> you can use too.</p>
<pre class="brush: xml;">

&lt;form method=&quot;post&quot; action=&quot;sendform.php&quot; id=&quot;contact-form&quot;&gt;

	&lt;label for=&quot;name&quot; &gt;Name:&lt;/label&gt;
	&lt;input type=&quot;text&quot; name=&quot;name&quot; id=&quot;name&quot; class=&quot;required&quot; /&gt;

	&lt;label for=&quot;email&quot;&gt;Email Address:&lt;/label&gt;
	&lt;input type=&quot;text&quot; name=&quot;email&quot; id=&quot;email&quot; class=&quot;required validate-email&quot; /&gt;

	&lt;label for=&quot;email&quot;&gt;Message:&lt;/label&gt;
	&lt;textarea name=&quot;message&quot; id=&quot;message&quot; class=&quot;required&quot;&gt;&lt;/textarea&gt;

	&lt;input type=&quot;submit&quot; name=&quot;submit&quot; value=&quot;Submit&quot; /&gt;

&lt;/form&gt;
</pre>
<h3>Include the Form.Validator class:</h3>
<p>The Form.Validator class is actually not part of the standard MooTools Core. As well as the core you will need to download MooTools &#8220;More&#8221;. You don&#8217;t need to download all of it, you can save some space by using the <a href="http://mootools.net/more" target="_blank">More Builder</a> and simply checking the check box for the Form.Validator option. Once you have downloaded your &#8220;More&#8221; file you need to include it in your website head as follows:</p>
<pre class="brush: xml;">
&lt;script type=&quot;text/javascript&quot; src=&quot;js/mootools-1.2.4.4-more.js&quot;&gt;&lt;/script&gt;
</pre>
<h3>Usage:</h3>
<p>The last thing to do is initialise your Form.Validator so that your form will get validated. This is done by adding the following JavaScript to your website where &#8220;contact-form&#8221; is the ID of your contact form. If you already have a domready function then simply add the Form.Validator initialisation to your existing domready function.</p>
<pre class="brush: jscript;">
window.addEvent('domready',function() {
    var myFormValidator = new Form.Validator($('contact-form'));
});
</pre>
</pre>
<p>That's it! Now just test out your form and you should see some error messages pop up.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cre8ivecommando.com/validate-your-form-using-mootools-3609/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Reset your style sheet with a CSS Reset</title>
		<link>http://www.cre8ivecommando.com/reset-your-style-sheet-with-a-css-reset-3020/</link>
		<comments>http://www.cre8ivecommando.com/reset-your-style-sheet-with-a-css-reset-3020/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 12:42:12 +0000</pubDate>
		<dc:creator>Cre8ive Commando</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[cross browser consistency]]></category>
		<category><![CDATA[css reset]]></category>
		<category><![CDATA[Eric Meyer]]></category>
		<category><![CDATA[Meyer CSS Reset]]></category>
		<category><![CDATA[meyer reset]]></category>
		<category><![CDATA[reset stylesheet]]></category>
		<category><![CDATA[reset your styles]]></category>

		<guid isPermaLink="false">http://www.cre8ivecommando.com/?p=3020</guid>
		<description><![CDATA[The idea behind a CSS reset is to set certain element styles to a baseline to avoid cross browser inconsistencies. By default, different browsers do not display your website exactly the same. Things like headings, line-heights and margins look different in different browsers when default styles are applied. If we reset these default styles to [...]]]></description>
			<content:encoded><![CDATA[<p>The idea behind a CSS reset is to set certain element styles to a baseline to avoid cross browser inconsistencies. By default, different browsers do not display your website exactly the same. Things like headings, line-heights and margins look different in different browsers when default styles are applied. If we reset these default styles to a set value we tighten up our CSS causing it to look the same across different browsers.<span id="more-3020"></span></p>
<p>Here is an example of the first implementation of a CSS Reset way back in the day. This reset basically stripped margins and padding from all elements on the page which became a problem as certain elements like form elements needed their margins and padding. So it&#8217;s probably a good idea to stay away from this global reset but it did pave the way for some great CSS Resets.</p>
<pre class="brush: css;">
/* Global Reset */
* { margin:0; padding:0; }
</pre>
<h2>The Meyer CSS Reset</h2>
<p>These days, one of the most popular CSS Resets is the <a href="http://meyerweb.com/eric/tools/css/reset/" target="_blank">Meyer Reset</a> created by Eric Meyer. The Meyer Reset acts as a starting point for the CSS styles of a website and can be tweaked depending on your website requirements. As you can see in the Meyer Reset CSS below, many elements are stripped of their default padding and margins. List items are even stripped of their styles to force you to give them an appropriate style.</p>
<p>If you are looking for a CSS Reset to tighten up your CSS you can use the Meyer Reset below. Simply copy and paste the CSS into the top of your style sheet and you&#8217;re ready to go! There are also many <a href="http://perishablepress.com/press/2007/10/23/a-killer-collection-of-global-css-reset-styles/" target="_blank">other CSS Resets</a> out there which you can review and compare.</p>
<pre class="brush: css;">
/* http://meyerweb.com/eric/tools/css/reset/ */
/* v1.0 | 20080212 */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing=&quot;0&quot;' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
</pre>
<h3>Here is the compressed version of the Meyer Reset:</h3>
<p>Here is the Meyer Reset in one line for those of you who like to keep your reset tucked away nicely at the top of your CSS file.</p>
<pre class="brush: css;">
/* http://meyerweb.com/eric/tools/css/reset/ *//* v1.0 | 20080212 */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0; padding:0; border:0; outline:0; font-size:100%; vertical-align:baseline; background:transparent;} body {line-height: 1;}ol, ul{list-style:none;} blockquote, q{quotes:none;} blockquote:before, blockquote:after, q:before, q:after{content:'';content:none;} :focus{outline:0;} ins{text-decoration:none;} del{text-decoration:line-through;} table{border-collapse:collapse; border-spacing:0;}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.cre8ivecommando.com/reset-your-style-sheet-with-a-css-reset-3020/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to remove the dotted border from links</title>
		<link>http://www.cre8ivecommando.com/how-to-remove-the-dotted-border-from-links-2671/</link>
		<comments>http://www.cre8ivecommando.com/how-to-remove-the-dotted-border-from-links-2671/#comments</comments>
		<pubDate>Mon, 10 May 2010 14:16:27 +0000</pubDate>
		<dc:creator>Cre8ive Commando</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[remove dotted border from active links]]></category>
		<category><![CDATA[remove dotted border from links]]></category>

		<guid isPermaLink="false">http://www.cre8ivecommando.com/?p=2671</guid>
		<description><![CDATA[I&#8217;m sure that many of you have noticed the dotted border that surrounds links when you click on them. It&#8217;s actually an accessibility feature and in most cases it&#8217;s fine, but in some cases that dotted border surrounding active links can be quite annoying and ugly. There is a very simple and easy way to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m sure that many of you have noticed the dotted border that surrounds links when you click on them. It&#8217;s actually an accessibility feature and in most cases it&#8217;s fine, but in some cases that dotted border surrounding active links can be quite annoying and ugly. There is a very simple and easy way to hide the dotted border from active links. All it takes is a few lines of CSS and you&#8217;re done.<span id="more-2671"></span></p>
<p>Simply add the following CSS to your style sheet and the dotted borders surrounding your links will be gone.</p>
<pre class="brush: css;">
a:active {
    outline: none;
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.cre8ivecommando.com/how-to-remove-the-dotted-border-from-links-2671/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>The best way to embed a font in your website &#8211; @font-face</title>
		<link>http://www.cre8ivecommando.com/the-best-way-to-embed-a-font-in-your-website-2025/</link>
		<comments>http://www.cre8ivecommando.com/the-best-way-to-embed-a-font-in-your-website-2025/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 13:18:41 +0000</pubDate>
		<dc:creator>Cre8ive Commando</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[@font-face]]></category>
		<category><![CDATA[best way to embed a font]]></category>
		<category><![CDATA[cufon alternative]]></category>
		<category><![CDATA[elegant font embedding]]></category>
		<category><![CDATA[embed font in website]]></category>
		<category><![CDATA[font embedding]]></category>
		<category><![CDATA[sifr alternative]]></category>
		<category><![CDATA[use your own font]]></category>
		<category><![CDATA[use your own font on your website]]></category>

		<guid isPermaLink="false">http://www.cre8ivecommando.com/?p=2025</guid>
		<description><![CDATA[We are all bored of using the same small set of web safe fonts in our websites. Do Arial, Verdana, and Times New Roman sound painfully familiar? Luckily there are quite a few different ways to embed fonts in a website including Cufon, sIFR, FLIR, PIR, Font Jazz and Dynamic Text Replacement. Most of these [...]]]></description>
			<content:encoded><![CDATA[<p>We are all bored of using the same small set of web safe fonts in our websites. Do Arial, Verdana, and Times New Roman sound painfully familiar? Luckily there are quite a few different ways to <a href="http://www.cre8ivecommando.com/two-great-ways-to-embed-a-font-in-your-website-1/">embed fonts in a website</a> including <a rel="nofollow" href="http://wiki.github.com/sorccu/cufon/about" target="_blank">Cufon</a>, <a rel="nofollow" href="http://dev.novemberborn.net/sifr3/nightlies/" target="_blank">sIFR</a>, <a rel="nofollow" href="http://facelift.mawhorter.net/" target="_blank">FLIR</a>, <a href="http://www.xanthir.com/pir/" target="_blank">PIR</a>, <a rel="nofollow" href="http://fontjazz.com/" target="_blank">Font Jazz</a> and <a rel="nofollow" href="http://www.artypapers.com/csshelppile/pcdtr/#download" target="_blank">Dynamic Text Replacement</a>. Most of these methods involve using JavaScript and Flash to display the custom font and some of these font embedding methods can be quite tricky to set up. There is one very simple way to embed a font in your site which doesn&#8217;t require any JavaScript or Flash. It&#8217;s called <strong>@font-face</strong> and it&#8217;s great!</p>
<p><span id="more-2025"></span></p>
<h2>What is @font-face?</h2>
<p>@font-face is basically a CSS rule that allows you to embed a font in your website so that viewers of your site will see that font even if it&#8217;s not installed on their computer. There is no JavaScript, Flash or images needed as this method basically uses a single font file that you upload onto your server.</p>
<p><a rel="nofollow" href="http://www.alistapart.com/articles/cssatten" target="_blank"><img class="alignnone size-full wp-image-2034" title="font-face-examples" src="http://www.cre8ivecommando.com/wp-content/uploads/2010/03/font-face-examples.jpg" alt="" width="515" height="150" /></a></p>
<h2>Why use @font-face?</h2>
<p>@font-face is a simple and elegant way to embed a font in your website and is in most cases superior to all other font embedding methods. It requires only the font you wish to use along with some CSS. Best of all @font-face is fully compatible with all major browsers. It&#8217;s search engine friendly and setting it up is quick and easy. No coding required. Sounds too good to be true doesn&#8217;t it?</p>
<h2>How to use @font-face</h2>
<p>You basically just need to buy/download the font you wish to use (you must have a license to use the font) and then add the following rule to your style sheet to reference your font. As an example let&#8217;s embed the Action Man font into our website.</p>
<pre class="brush: css;">
@font-face {
 font-family: ActionMan;
 src: url(/font/ActionMan.ttf) format(&quot;truetype&quot;);
}
</pre>
<p>Now that your font is embedded in your website you can use it as you would any other font. Lets use our embedded font on our h1 tags like so.</p>
<pre class="brush: css;">
h1 {font-family: ActionMan, Verdana, Helvetica, sans-serif;}
</pre>
<p>In order for your font to be cross browser compatible you will need a few different font file types for different browsers. <a rel="nofollow" href="http://www.fontsquirrel.com/fontface" target="_blank">Font Squirrel</a> is a great resource that has made it very easy to use @font-face on your website by providing @font-face kits. These kits basically contain the original TrueType or OpenType fonts for Firefox, Opera, Safari and Chrome along with the EOT fonts for Internet Explorer. There are lots of great fonts to choose from, many of which are free for commercial use.</p>
<h2>Issues with @font-face</h2>
<p>Surprisingly, there are not really any issues with using @font-face to embed fonts in your website. But there are two things to be aware of. Firstly, your font will need to be downloaded by your website viewers which will usually cost you around 30KB of bandwidth for a typical font (which isn&#8217;t much at all). Secondly, as your font loads your website viewers may sometimes see the default font flash first for a second on the web page. Most people can live with that.</p>
<h3>@font-face is quick to setup, simple to use, light weight, SEO friendly and browser compatible. The best method I have come across to embed a font in a website.</h3>
]]></content:encoded>
			<wfw:commentRss>http://www.cre8ivecommando.com/the-best-way-to-embed-a-font-in-your-website-2025/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>CSS background image stretch</title>
		<link>http://www.cre8ivecommando.com/css-background-image-stretch-1786/</link>
		<comments>http://www.cre8ivecommando.com/css-background-image-stretch-1786/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 12:22:09 +0000</pubDate>
		<dc:creator>Cre8ive Commando</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[background stretch]]></category>
		<category><![CDATA[css background stretch]]></category>
		<category><![CDATA[how to stretch a background image]]></category>

		<guid isPermaLink="false">http://www.cre8ivecommando.com/?p=1786</guid>
		<description><![CDATA[Sometimes when creating a website you will need the background image of the site to stretch to fill the whole browser window. Below is a simple CSS based method to achieve a 100% stretched background image that fills the browser window and also dynamically re-sizes when the browser window is re-sized. The background image won&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes when creating a website you will need the background image of the site to stretch to fill the whole browser window. Below is a simple CSS based method to achieve a 100% stretched background image that fills the browser window and also dynamically re-sizes when the browser window is re-sized. The background image won&#8217;t maintain its aspect ratio, but it will fill the browser window at all times. It works in IE6 along with the other main browsers.<span id="more-1786"></span></p>
<h3>Here&#8217;s the CSS:</h3>
<p>Here are the styles you will need to add to your style sheet. We basically just fix the background image to the top left of the browser and give it 100% width and height to fill the screen. Your content is positioned relatively above the image.</p>
<pre class="brush: xml;">

&lt;style type=&quot;text/css&quot;&gt;

html, body {height: 100%; margin: 0; padding: 0;}
#background {position:fixed; top:0; left:0; width:100%; height:100%;}
#content {position:relative; z-index:1;}

&lt;/style&gt;
</pre>
<h3>Here&#8217;s the HTML:</h3>
<p>Now we just need to add our background image to our HTML under the body tag like so. It should be above the content of your site.</p>
<pre class="brush: xml;">

&lt;body&gt;
&lt;img id=&quot;background&quot; src=&quot;background-image.jpg&quot;  /&gt;
&lt;div id=&quot;content&quot;&gt;Your website content goes here ...&lt;/div&gt;
&lt;/body&gt;
</pre>
<h3>And the IE6 fix:</h3>
<p>Of course IE6 is going to give us problems so we need to put in a style fix for IE6 into the header of our site like so. And that&#8217;s it, it&#8217;s all done. Now we have a background image that stretches to fill the browser and best of all, it even works in IE6!</p>
<pre class="brush: xml;">
&lt;!--[if IE 6]&gt;
 &lt;style type=&quot;text/css&quot;&gt;
 html { overflow-y: hidden; }
 body { overflow-y: auto; }
 #background { position:absolute; z-index:-1; }
 #content { position:static; }
 &lt;/style&gt;
 &lt;![endif]--&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.cre8ivecommando.com/css-background-image-stretch-1786/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Add Gravatar support to your blog comments</title>
		<link>http://www.cre8ivecommando.com/add-gravatar-support-to-your-blog-comments-1380/</link>
		<comments>http://www.cre8ivecommando.com/add-gravatar-support-to-your-blog-comments-1380/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 11:40:42 +0000</pubDate>
		<dc:creator>Cre8ive Commando</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[add gravatar]]></category>
		<category><![CDATA[add gravatar support]]></category>
		<category><![CDATA[add gravatar to blog comments]]></category>
		<category><![CDATA[gravatar]]></category>
		<category><![CDATA[gravatar support]]></category>
		<category><![CDATA[implement gravatar]]></category>

		<guid isPermaLink="false">http://www.cre8ivecommando.com/?p=1380</guid>
		<description><![CDATA[A Gravatar is a Globally Recognised Avatar and it is quite simple to add Gravatar support to your blog comments. I will show you how to do it in a few simple steps using PHP. I&#8217;ll also list some tutorials on how to add Gravatar support to your blog in other ways by using JavaScript, [...]]]></description>
			<content:encoded><![CDATA[<p>A Gravatar is a Globally Recognised Avatar and it is quite simple to add Gravatar support to your blog comments. I will show you how to do it in a few simple steps using PHP. I&#8217;ll also list some tutorials on how to add Gravatar support to your blog in other ways by using JavaScript, .Net and Java.<span id="more-1380"></span></p>
<h2>Adding Gravatar support with PHP</h2>
<p>Let&#8217;s assume that you have a blog and you want to add Gravatars to the comments. Basically you will need 3 things to get started. The email of the person making the comment (This can be collected from your comment form), a default Gravatar image on your server in case some people don&#8217;t have a Gravatar and finally you need to define the size of the Gravatar image you want. Here is the code you need below.</p>
<pre class="brush: php;">

//The email of the person making the comment
$email = &quot;cornelius@blah.com&quot;;

//A default Gravatar image to use for people without Gravatars
$default = &quot;http://www.somewhere.com/default.jpg&quot;;

//Define the size of the Gravatar image
$size = 80;
</pre>
<p>Now you&#8217;re ready to display your Gravatar. To generate your Gravatar URL simply use the code below.</p>
<pre class="brush: php;">

$grav_url = &quot;http://www.gravatar.com/avatar.php?
gravatar_id=&quot;.md5( strtolower($email) ).
&quot;&amp;default=&quot;.urlencode($default).
&quot;&amp;size=&quot;.$size;
</pre>
<h3><img class="alignnone size-full wp-image-1403" title="add-gravatar-to-comments" src="http://www.cre8ivecommando.com/wp-content/uploads/2009/11/add-gravatar-to-comments.jpg" alt="add-gravatar-to-comments" width="520" height="170" /></h3>
<h3>Basic comments template</h3>
<p>Now let&#8217;s style it up a bit to look like the comment image above. Here is a basic template to style your comments with the Gravatar included on the left.</p>
<pre class="brush: xml;">

&lt;style&gt;
/* Styles for comments */

.comment{border:#CCC solid 1px; padding:20px;}
.comment img{float:left: padding:0px 20px 20px 0px;}
.comment .h4{font-size:18px;}
.comment p{padding:5px 0px;}
.comment .date{font-size:10px; font-style:italic;}

&lt;/style&gt;

&lt;div class=&quot;comment&quot;&gt;
    &lt;img src=&quot;&lt;?php echo $grav_url ?&gt;&quot; /&gt;
    &lt;h4&gt;Joe Blow&lt;/h4&gt;
    &lt;p class=&quot;date&quot;&gt;Date of comment goes here&lt;/p&gt;
    &lt;p&gt;The comment goes here&lt;/p&gt;
&lt;/div&gt;
</pre>
<h3>More ways to add Gravatar support to your blog comments</h3>
<ul>
<li><a rel="nofollow" href="http://codex.wordpress.org/Using_Gravatars" target="_blank">WordPress Gravatar Plugin</a></li>
<li><a rel="nofollow" href="http://drupal.org/project/gravatar" target="_blank">Drupal Module</a></li>
<li><a rel="nofollow" href="http://extensions.joomla.org/extensions/4059/details" target="_blank">Joomla Gravatar Support</a></li>
<li><a rel="nofollow" href="http://userscripts.org/scripts/review/29070" target="_blank">JavaScript Gravatar Implementation</a></li>
<li><a rel="nofollow" href="http://lifeofajackass.com/gravatarget/" target="_blank">.Net Gravatar Implementation</a></li>
<li><a rel="nofollow" href="http://en.gravatar.com/site/implement/java" target="_blank">Java Gravatar Implementation</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.cre8ivecommando.com/add-gravatar-support-to-your-blog-comments-1380/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
