<?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>MoonKat Creations &#187; Web Design</title>
	<atom:link href="http://www.moonkatcreations.com/category/web-design/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.moonkatcreations.com</link>
	<description>Web design, front-end development</description>
	<lastBuildDate>Thu, 12 May 2011 18:52:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Create and Add a Favicon</title>
		<link>http://www.moonkatcreations.com/web-design/html/create-and-add-a-favicon/</link>
		<comments>http://www.moonkatcreations.com/web-design/html/create-and-add-a-favicon/#comments</comments>
		<pubDate>Thu, 05 May 2011 22:43:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Design Resources]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[favicon]]></category>
		<category><![CDATA[generator]]></category>

		<guid isPermaLink="false">http://www.moonkatcreations.com/?p=485</guid>
		<description><![CDATA[Create/source your desired image, preferrably with a transparent background. Crop it into a square. Go to favicon.cc and click &#8216;Import Image&#8217; on the left side. Choose the resize option In the preview box, click &#8216;Download Favicon.&#8217; Save it to your &#8230; <a href="http://www.moonkatcreations.com/web-design/html/create-and-add-a-favicon/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<ol>
<li>Create/source your desired image, preferrably with a transparent background. Crop it into a square.</li>
<li>Go to <a title="Go to favicon.cc" href="http://www.favicon.cc/" target="_blank">favicon.cc</a> and click &#8216;Import Image&#8217; on the left side. Choose the resize option</li>
<li>In the preview box, click &#8216;Download Favicon.&#8217; Save it to your image directory or wherever you want.</li>
<li>In the head of your html document, paste this code:</li>
</ol>
<pre>&lt;link rel="shortcut icon" type="image/vnd.microsoft.icon" href="/some-folder/some-image.ico" /&gt;
</pre>
<p>That&#8217;s it. It works in most browsers, including the IE&#8217;s. You can have a different favicon for different pages or sections of the site, if you choose.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.moonkatcreations.com/web-design/html/create-and-add-a-favicon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easy Hover or Tooltip Script</title>
		<link>http://www.moonkatcreations.com/web-design/jquery/easy-hover-or-tooltip-script/</link>
		<comments>http://www.moonkatcreations.com/web-design/jquery/easy-hover-or-tooltip-script/#comments</comments>
		<pubDate>Thu, 05 May 2011 21:32:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.moonkatcreations.com/?p=479</guid>
		<description><![CDATA[Use this when you want a tooltip-like effect when one of a group of many elements is hovered over. You will also need a .png or a .gif for the background of the tooltip. Or, you could just be creative &#8230; <a href="http://www.moonkatcreations.com/web-design/jquery/easy-hover-or-tooltip-script/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Use this when you want a tooltip-like effect when one of a group of many elements is hovered over. You will also need a .png or a .gif for the background of the tooltip. Or, you could just be creative with your CSS.</p>
<pre>jQuery(".hoverElement").hover(function(b) {
    var offsetLeft = jQuery(this).offset().left;
    var offsetTop = jQuery(this).offset().top;
    jQuery("div#" + jQuery(this).attr("rel")).show("fast").offset({
        top: offsetTop - 18,
        left: offsetLeft + 15
    });
}, function() {
    jQuery("div#" + jQuery(this).attr("rel")).hide("fast")
    });
</pre>
<p>If you have multiple elements that require the effect, give them all the same class. For each hover element, you will need a hidden element with a unique id that contains the tooltip content. In the &#8220;rel&#8221; tag of each hover element, put the id of the corresponding hidden element, minus the &#8220;#&#8221;. This can probably be condensed to use only one hidden element, but I haven&#8217;t gotten around to simplifying yet.</p>
<p>Adjust the offset as needed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.moonkatcreations.com/web-design/jquery/easy-hover-or-tooltip-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Advice to a beginning web designer&#8230;</title>
		<link>http://www.moonkatcreations.com/web-design/design-resources/advice-to-a-beginning-web-designer/</link>
		<comments>http://www.moonkatcreations.com/web-design/design-resources/advice-to-a-beginning-web-designer/#comments</comments>
		<pubDate>Mon, 21 Mar 2011 18:10:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Design Resources]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.moonkatcreations.com/?p=473</guid>
		<description><![CDATA[I taught myself a lot of what I know, but it would have been nice to have someone there at the beginning to get me up to speed on a couple of things. Dreamweaver snippets are your friends. Add stuff &#8230; <a href="http://www.moonkatcreations.com/web-design/design-resources/advice-to-a-beginning-web-designer/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I taught myself a lot of what I know, but it would have been nice to  have someone there at the beginning to get me up to speed on a couple of things.</p>
<ul>
<li> Dreamweaver snippets are your friends. Add stuff that you will use all  the time, like paragraphs, list items, etc. As you get more advanced,  you will also be able to store jQuery or JavaScript snippets that you  don&#8217;t want to have to remember.</li>
<li> Learn and use Fireworks. This is the web designer&#8217;s staple program. If you already know Photoshop, you won&#8217;t have a steep learning curve.</li>
<li> Never use tables for layout. You probably already know this, but just  in case. That is why you shouldn&#8217;t use Dreamweaver&#8217;s design mode (at least exclusively) to build  a page. It generates terrible code. You can, on the other hand, use Dreamweaver as a code editor. It&#8217;s still what I code in the most.</li>
<li> USE FIREFOX! I can&#8217;t say this enough. It has some absolutely  indispensable web development tools, like Firebug. I don&#8217;t know where  I&#8217;d be without it. You can actually modify the CSS and HTML, and run  jQuery right there in the browser. If something is wrong on a page, you  can zoom in on it and find out what the problem is. Love it. Chrome also has a similar tool, though I haven&#8217;t yet had a chance to compare it to Firebug.</li>
<li> Get ready to be CONSTANTLY frustrated by IE6. It&#8217;s a horrible browser  that breaks web pages all the time. That&#8217;s not an opinion; it&#8217;s fact.  Learn how to hack your CSS to target only IE6. Get familiar with the  most common IE6 bugs and their solutions.</li>
<li> Learn jQuery! HTML, CSS, and jQuery (sometimes referred to  collectively as DHTML) are going to be your main technologies. It&#8217;s  tough at first, but CSS selectors are your launching point.</li>
<li> If you have to branch into programming, learn PHP. It&#8217;s still relevant  to the front-end development (a fancy term for web design), and it&#8217;s  very common. I&#8217;ve picked up a bit by playing with WordPress, which is  awesome by the way.</li>
<li> Take advantage of Dreamweaver&#8217;s layout templates.</li>
</ul>
<p>This are some big things I can think of off the top of my head.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.moonkatcreations.com/web-design/design-resources/advice-to-a-beginning-web-designer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Awesome Front-End Development Tools</title>
		<link>http://www.moonkatcreations.com/web-design/development/awesome-front-end-development-tools/</link>
		<comments>http://www.moonkatcreations.com/web-design/development/awesome-front-end-development-tools/#comments</comments>
		<pubDate>Fri, 11 Mar 2011 22:42:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Design Resources]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.moonkatcreations.com/?p=467</guid>
		<description><![CDATA[Some of my favorite front-end development resources (aside from Firebug, and the jQuery library!) <a href="http://www.moonkatcreations.com/web-design/development/awesome-front-end-development-tools/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>What follows are some of my favorite front-end development resources (aside from Firebug, and the jQuery library!)</p>
<p>1. <a href="http://html5boilerplate.com/">HTML5 Boilerplate</a>. Prepare for the coming of HTML5. Use this mini-framework. Heck, use this for XHTML. Contains lots of goodies, no matter your flavor of HTML.</p>
<p>2. <a href="http://code.google.com/p/ie7-js/">ie7.js</a>. A JavaScript library to make MSIE behave like a standards-compliant browser. I have yet to test it so, stay tuned, or give me your feedback. If it does what it promises, could be one of the best contributions to the web design community since a non-IE browser.</p>
<p>3. <a href="http://code.google.com/apis/webfonts/">Google Font API</a>. A must-have if you want to get away from the usual 5 or 6 web-safe fonts.</p>
<p>4. <a title="Favicon.cc" href="http://www.favicon.cc/" target="_blank">Easy favicon generator</a>. Not only can you import your own image (select the resize option), you can touch it up pixel by pixel once imported.</p>
<p>5. My new favorite: PIE. The brilliant minds at <a href="http://css3pie.com/">css3pie.com</a> have conceived of a method to quickly and more cleanly add css3 effects to a page rendered in an Internet Explorer. What wins me over:<em> rounded corners</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.moonkatcreations.com/web-design/development/awesome-front-end-development-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Different template for different category, single post</title>
		<link>http://www.moonkatcreations.com/web-design/wordpress-development/different-template-for-different-category-single-post/</link>
		<comments>http://www.moonkatcreations.com/web-design/wordpress-development/different-template-for-different-category-single-post/#comments</comments>
		<pubDate>Mon, 14 Feb 2011 02:18:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.moonkatcreations.com/?p=450</guid>
		<description><![CDATA[To use a different template for a particular category, just create another template page named category-nameofyourcatetory.php. WordPress automatically picks up on it. It&#8217;s a little more complicated to assign a different single post template for a particular category. In single.php, &#8230; <a href="http://www.moonkatcreations.com/web-design/wordpress-development/different-template-for-different-category-single-post/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>To use a different template for a particular category, just create another template page named category-nameofyourcatetory.php. WordPress automatically picks up on it.</p>
<p>It&#8217;s a little more complicated to assign a different single post template for a particular category. In single.php, paste this code:</p>
<pre>&lt;?php
 $post = $wp_query-&gt;post;
 if (in_category('mynewcategory')) {
 include(TEMPLATEPATH.'/single-mynewcategory.php');
 } else{
 include(TEMPLATEPATH.'/single-default.php');
 }
?&gt;</pre>
<p>single-mynewcategory.php is of course the category for which you would like a different single post template, whereas single-default.php is where you would put the normal single.php code.</p>
<p>If you would like to assign numerous single post templates, use this code:</p>
<pre>&lt;?php
$post = $wp_query-&gt;post;
if(in_category('mynewcategory')) {
include(TEMPLATEPATH.'/single-mynewcategory.php');
} elseif (in_category('mynewcategory2')) {
include(TEMPLATEPATH.'/single-mynewcategory2.php');
} elseif (in_category('portfolio')) {
include(TEMPLATEPATH.'/single-portfolio.php');
} else {
include(TEMPLATEPATH.'/single-default.php');
}
?&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.moonkatcreations.com/web-design/wordpress-development/different-template-for-different-category-single-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrating Dreamweaver Snippets</title>
		<link>http://www.moonkatcreations.com/web-design/development/migrating-dreamweaver-snippets/</link>
		<comments>http://www.moonkatcreations.com/web-design/development/migrating-dreamweaver-snippets/#comments</comments>
		<pubDate>Wed, 05 Jan 2011 15:55:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Dreamweaver]]></category>

		<guid isPermaLink="false">http://www.moonkatcreations.com/?p=432</guid>
		<description><![CDATA[While there may be export plugins our there, if you are just wanting to migrate custom snippets between computers (or from one version to another if they’re compatible enough), just copy over the custom snippets folder. <a href="http://www.moonkatcreations.com/web-design/development/migrating-dreamweaver-snippets/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>While there may be export plugins our there, if you are just wanting to migrate custom snippets between computers (or from one version to another if they&#8217;re compatible enough), just copy over the custom snippets folder.</p>
<p><strong><em>Caution:</em></strong> there are TWO snippets folders. The default snippets are in applications/Adobe Dreamweaver CSX, while the custom snippets are found in your personal configuration folder. It&#8217;s the one in the personal config folder that you want to migrate.</p>
<p>The process and location of that folder are explained here: <a href="http://cookbooks.adobe.com/post_Migrating_Dreamweaver_configuration__site_settings-17658.html">http://cookbooks.adobe.com/post_Migrating_Dreamweaver_configuration__site_settings-17658.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.moonkatcreations.com/web-design/development/migrating-dreamweaver-snippets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Show only post excerpts on twentyten homepage</title>
		<link>http://www.moonkatcreations.com/web-design/wordpress-development/show-only-post-excerpts-on-twentyten-homepage/</link>
		<comments>http://www.moonkatcreations.com/web-design/wordpress-development/show-only-post-excerpts-on-twentyten-homepage/#comments</comments>
		<pubDate>Sat, 01 Jan 2011 05:12:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.moonkatcreations.com/?p=419</guid>
		<description><![CDATA[This solution is simple, but requires a modification to a template page. In loop.php, change this line: to this: That&#8217;s it. Will work like a charm.]]></description>
			<content:encoded><![CDATA[<p>This solution is simple, but requires a modification to a template page.</p>
<p>In loop.php, change this line:</p>
<p><code><&#63;php if ( is_archive() || is_search() ) : // Only display excerpts for archives and search. &#63;></code></p>
<p>to this:</p>
<p>That&#8217;s it. Will work like a charm.<br />
<code><br />
<&#63;php if ( is_archive() || is_search() || is_home() || is_front_page() ) : // Only display excerpts for archives and search. &#63;></code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.moonkatcreations.com/web-design/wordpress-development/show-only-post-excerpts-on-twentyten-homepage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS style reset</title>
		<link>http://www.moonkatcreations.com/misc/css-style-reset/</link>
		<comments>http://www.moonkatcreations.com/misc/css-style-reset/#comments</comments>
		<pubDate>Tue, 23 Nov 2010 17:38:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.moonkatcreations.com/?p=410</guid>
		<description><![CDATA[One of the best and most common CSS style resets from Eric Meyer. <a href="http://www.moonkatcreations.com/misc/css-style-reset/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This is a good one from <a href="http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/">Eric Meyer</a>:</p>
<p><code><br />
html, body, div, span, applet, object, iframe,<br />
h1, h2, h3, h4, h5, h6, p, blockquote, pre,<br />
a, abbr, acronym, address, big, cite, code,<br />
del, dfn, em, font, img, ins, kbd, q, s, samp,<br />
small, strike, strong, sub, sup, tt, var,<br />
dl, dt, dd, ol, ul, li,<br />
fieldset, form, label, legend,<br />
table, caption, tbody, tfoot, thead, tr, th, td {<br />
	margin: 0;<br />
	padding: 0;<br />
	border: 0;<br />
	outline: 0;<br />
	font-weight: inherit;<br />
	font-style: inherit;<br />
	font-size: 100%;<br />
	font-family: inherit;<br />
	vertical-align: baseline;<br />
}<br />
/* remember to define focus styles! */<br />
:focus {<br />
	outline: 0;<br />
}<br />
body {<br />
	line-height: 1;<br />
	color: black;<br />
	background: white;<br />
}<br />
ol, ul {<br />
	list-style: none;<br />
}<br />
/* tables still need 'cellspacing="0"' in the markup */<br />
table {<br />
	border-collapse: separate;<br />
	border-spacing: 0;<br />
}<br />
caption, th, td {<br />
	text-align: left;<br />
	font-weight: normal;<br />
}<br />
blockquote:before, blockquote:after,<br />
q:before, q:after {<br />
	content: "";<br />
}<br />
blockquote, q {<br />
	quotes: "" "";<br />
}<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.moonkatcreations.com/misc/css-style-reset/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Search for URL String with jQuery</title>
		<link>http://www.moonkatcreations.com/web-design/jquery/search-for-url-string-with-jquery/</link>
		<comments>http://www.moonkatcreations.com/web-design/jquery/search-for-url-string-with-jquery/#comments</comments>
		<pubDate>Mon, 13 Sep 2010 16:24:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.moonkatcreations.com/?p=399</guid>
		<description><![CDATA[A time may arise when you need to assign a different body class to each unique page, or run some function based on the current page. <a href="http://www.moonkatcreations.com/web-design/jquery/search-for-url-string-with-jquery/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A time may arise when you need to assign a different body class to each unique page, or run some function based on the current page. If you do not have access to the source code or some other shortcut to determine page name, sometimes the easiest way to determine the current page is to parse through the URL. There&#8217;s an easy way to do it in jQuery, based on this <a href="http://www.webmaster-talk.com/javascript-forum/179127-if-the-url-contains-something-do.html">thread</a>.</p>
<p>The poster was very close to a functional script. If you add in &gt; -1 into the first part of the &#8216;if&#8217; statement, it works like a charm.</p>
<p><code>jQuery(function() {<br />
var url = location.pathname;<br />
if(url.indexOf('web-design') &gt; -1) {<br />
jQuery("#web_design").addClass("active");<br />
}<br />
if(url.indexOf('french') &gt; -1) {<br />
jQuery("#french").addClass("active");<br />
}<br />
if(url.indexOf('my-take') &gt; -1) {<br />
jQuery("#my_take").addClass("active");<br />
}<br />
if(url.indexOf('portfolio') &gt; -1) {<br />
jQuery("#portfolio").addClass("active");<br />
}<br />
});</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.moonkatcreations.com/web-design/jquery/search-for-url-string-with-jquery/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Restore Photoshop CS4 Web Photo Gallery</title>
		<link>http://www.moonkatcreations.com/web-design/design-resources/restore-photoshop-cs4-web-photo-gallery/</link>
		<comments>http://www.moonkatcreations.com/web-design/design-resources/restore-photoshop-cs4-web-photo-gallery/#comments</comments>
		<pubDate>Fri, 10 Sep 2010 19:31:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Design Resources]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.moonkatcreations.com/?p=368</guid>
		<description><![CDATA[Photoshop's Web Photo Gallery is still available as a plugin. Here's how to install it. <a href="http://www.moonkatcreations.com/web-design/design-resources/restore-photoshop-cs4-web-photo-gallery/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In earlier versions of Photoshop, I would use the Web Photo Gallery&#8217;s numerous image sizing options to batch size images, more often than I would use it to create a photo gallery. Whatever it&#8217;s uses, it was omitted from CS4, though the plugin is still available. (There is an image processing feature in Bridge, which I have yet to test).</p>
<p>To restore the Web Photo Gallery plugin to Photoshop CS4, download the plugin package here:</p>
<p>For a Mac:<br />
<a href="http://www.adobe.com/support/downloads/detail.jsp?ftpID=4047">http://www.adobe.com/support/downloads/detail.jsp?ftpID=4047</a></p>
<p>For a PC:<br />
<a href="http://www.adobe.com/support/downloads/detail.jsp?ftpID=4048">http://www.adobe.com/support/downloads/detail.jsp?ftpID=4048</a></p>
<p>Then follow these instructions, which are way easier to understand than the ones supplied in the plugin package:</p>
<p><a href="http://www.gieson.com/Library/projects/utilities/photoshop/index.html">http://www.gieson.com/Library/projects/utilities/photoshop/index.html</a></p>
<p>If everything is done correctly, in Photoshop, you should be able to navigate to File > Automate > Web Photo Gallery.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.moonkatcreations.com/web-design/design-resources/restore-photoshop-cs4-web-photo-gallery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

