<?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; Web Design</title>
	<atom:link href="http://www.cre8ivecommando.com/category/web-design/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cre8ivecommando.com</link>
	<description>Explosive Creativity</description>
	<lastBuildDate>Thu, 09 Sep 2010 09:51:42 +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>Are you a designer, a coder or a bit of both?</title>
		<link>http://www.cre8ivecommando.com/are-you-a-designer-a-coder-or-a-bit-of-both-5075/</link>
		<comments>http://www.cre8ivecommando.com/are-you-a-designer-a-coder-or-a-bit-of-both-5075/#comments</comments>
		<pubDate>Sun, 05 Sep 2010 14:07:36 +0000</pubDate>
		<dc:creator>Cre8ive Commando</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[designer or coder]]></category>
		<category><![CDATA[designer vs coder]]></category>
		<category><![CDATA[designer/coder hybrid]]></category>
		<category><![CDATA[hybrid]]></category>

		<guid isPermaLink="false">http://www.cre8ivecommando.com/?p=5075</guid>
		<description><![CDATA[The digital world was built, pixel by pixel, by designers and coders. Designers come up with the graphics and layout and the coders put it together and make it work. Things have worked like this for ages, until now. Recently there have been more and more designers learning to code, everything from CSS to PHP. [...]]]></description>
			<content:encoded><![CDATA[<p>The digital world was built, pixel by pixel, by designers and coders. Designers come up with the graphics and layout and the coders put it together and make it work. Things have worked like this for ages, until now. Recently there have been more and more designers learning to code, everything from CSS to PHP. Is this new breed of hybrids the future of the digital sphere or are they just a bunch of wanna be coders?<span id="more-5075"></span></p>
<p>I&#8217;ve heard many designers say that a designer who knows how to code will always be more sought after than one who doesn&#8217;t. Numerous others believe the opposite, that specialisation in a certain area of design or development is a more effective way to go. So, is it better to be a designer/coder hybrid or a specialist in a certain area? Let&#8217;s look at this issue from a few different angles.</p>
<h3>My personal story</h3>
<p>I recently designed my own <a href="http://adhamdannaway.com" target="_blank">portfolio website</a> and in doing so I really needed to have a think about my skill set and interests to define what job role I fit into best. I enjoy both design and coding and like the variety and flexibility gained in knowing a bit of both. So I decided to label myself as a designer/coder hybrid and received great feedback on my website. I liked being able to build my site in its entirety which also saved me the hassle of outsourcing the coding component. So in my case knowing a bit of code went a long way.</p>
<h3>Jack of all trades, master of none</h3>
<p>It&#8217;s hard to be great at everything, no matter how hard we try. We can either know a little about a lot or a lot about a little. If you&#8217;re a freelancer with your own clients then it definitely helps to  be a bit of a hybrid. In my experience most clients will be looking for  a logo design, business card design and a website. This requires skills  in branding, graphic design, print design, web design, CSS, HTML and  possibly a bit of PHP and JavaScript. If on the other hand you&#8217;re  working in an agency with dedicated design and development teams then  you&#8217;ll find that specialisation is the way to go.</p>
<h3><img class="alignnone size-full wp-image-5086" title="designer-coder-hybrid" src="http://www.cre8ivecommando.com/wp-content/uploads/2010/09/designer-coder-hybrid.jpg" alt="" width="515" height="326" /></h3>
<h3>Right brain, left brain, both brain?</h3>
<p>Designers and coders are generally two very different types of people. Right brain designers are known to love colours, typography, layout and pretty pictures while left brain coders are more into logic, problem solving and making stuff work. So how could one person be both? Furthermore, how could one person be good at both? What do you think?</p>
<h3>My two cents</h3>
<p>I believe that it&#8217;s preferable for a web designer to have at least some front-end coding knowledge, especially in CSS and HTML. Mainly because I think that if you understand how websites work, then you&#8217;ll be better equipped to design them. I guess that in the end, it&#8217;s ultimately all about doing what you enjoy and what you&#8217;re good at, whether it be web design, PHP, CSS, Flash, UI design, branding, JavaScript or a combination of things.</p>
<p>I&#8217;m sure you all have your own opinions too and I&#8217;d love to hear them in the comments below. Please also let me know whether you are a designer, a coder or a bit of both. Thanks.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cre8ivecommando.com/are-you-a-designer-a-coder-or-a-bit-of-both-5075/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<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>Improve the performance of your website with YSlow</title>
		<link>http://www.cre8ivecommando.com/improve-the-performance-of-your-website-with-yslow-2098/</link>
		<comments>http://www.cre8ivecommando.com/improve-the-performance-of-your-website-with-yslow-2098/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 10:19:21 +0000</pubDate>
		<dc:creator>Cre8ive Commando</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[analyse website]]></category>
		<category><![CDATA[improve website performance]]></category>
		<category><![CDATA[speed up your website]]></category>
		<category><![CDATA[yslow]]></category>

		<guid isPermaLink="false">http://www.cre8ivecommando.com/?p=2098</guid>
		<description><![CDATA[Does your website have a habit of loading slowly? Sure you could blame it on your web server, but there is actually quite a lot you can do yourself to improve the loading time and performance of your website. YSlow is a Firefox add-on that integrates with Firebug to analyze a website and suggest ways [...]]]></description>
			<content:encoded><![CDATA[<p>Does your website have a habit of loading slowly? Sure you could blame it on your web server, but there is actually quite a lot you can do yourself to improve the loading time and performance of your website. <a rel="nofollow" href="http://developer.yahoo.com/yslow/" target="_blank">YSlow</a> is a Firefox add-on that integrates with<a href="http://www.cre8ivecommando.com/firebug-a-web-development-tool-that-every-web-designer-should-have-150/"> Firebug</a> to analyze a website and suggest ways of improving the performance of that site.<span id="more-2098"></span></p>
<p>When you run YSlow on a web page it will analyze the page based on a set of rules (outlined below) then grade the web page based on these rules. Yslow also analyzes each component of the page and returns statistics as well as suggestions on how to improve each component of your site to achieve faster performance. As an example I ran YSlow on the Smashing Magazine website and discovered that they could improve their performance by simply combining background images into a CSS Sprite as well as combining their JavaScript files into one. This would reduce HTTP requests and hence improve website performance. You can see a screen shot from YSlow below.</p>
<p><img class="alignnone size-full wp-image-2102" title="yslow-website-analysis" src="http://www.cre8ivecommando.com/wp-content/uploads/2010/04/yslow-website-analysis.jpg" alt="" width="515" height="346" /></p>
<h2>Rules to speed up your website</h2>
<ol>
<li>Minimize HTTP Requests</li>
<li> Use a Content Delivery Network</li>
<li> Add an Expires or a Cache-Control Header</li>
<li> Gzip Components</li>
<li> Put Stylesheets at the Top</li>
<li> Put Scripts at the Bottom</li>
<li> Avoid CSS Expressions</li>
<li> Make JavaScript and CSS External</li>
<li> Reduce DNS Lookups</li>
<li> Minify JavaScript and CSS</li>
<li> Avoid Redirects</li>
<li> Remove Duplicate Scripts</li>
<li> Configure ETags</li>
<li> Make Ajax Cacheable</li>
<li> Flush the Buffer Early</li>
<li> Use GET for AJAX Requests</li>
<li> Post-load Components</li>
<li> Preload Components</li>
<li> Reduce the Number of DOM Elements</li>
<li> Split Components Across Domains</li>
<li> Minimize the Number of iframes</li>
<li> No 404s</li>
<li> Reduce Cookie Size</li>
<li> Use Cookie-free Domains for Components</li>
<li> Minimize DOM Access</li>
<li> Develop Smart Event Handlers</li>
<li> Choose</li>
<li> over @import</li>
<li> Avoid Filters</li>
<li> Optimize Images</li>
<li> Optimize CSS Sprites</li>
<li> Don&#8217;t Scale Images in HTML</li>
<li> Make favicon.ico Small and Cacheable</li>
<li> Keep Components under 25K</li>
<li> Pack Components into a Multipart Document</li>
<li>Avoid Empty Image src</li>
</ol>
<p>The above rules are based on these<a rel="nofollow" href="http://developer.yahoo.com/performance/rules.html" target="_blank"> best practices for speeding up your website</a>.</p>
<h2>Download YSlow</h2>
<p>YSlow is integrated into <a href="http://www.cre8ivecommando.com/firebug-a-web-development-tool-that-every-web-designer-should-have-150/">Firebug</a> (a must have for all web designers) so you will need to download and install the Firebug add-on first. Once that is installed you can <a rel="nofollow" href="http://developer.yahoo.com/yslow/" target="_blank">download the YSlow add-on</a>.</p>
<h3>Eventually I&#8217;ll get around to optimizing the performance of this site (hopefully).</h3>
]]></content:encoded>
			<wfw:commentRss>http://www.cre8ivecommando.com/improve-the-performance-of-your-website-with-yslow-2098/feed/</wfw:commentRss>
		<slash:comments>2</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>
	</channel>
</rss>
