<?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>nasarik.com - one man&#039;s journey through life and design &#187; css</title>
	<atom:link href="http://nasarik.com/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://nasarik.com</link>
	<description>A web designer try&#039;s to make sense of web design and pretty much everything else</description>
	<lastBuildDate>Sun, 25 Jul 2010 20:18:07 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<image>
  <link>http://nasarik.com</link>
  <url>http://nasarik.com/wp-content/themes/sandbox/images/nasarikfav.jpg</url>
  <title>nasarik.com - one man&#039;s journey through life and design</title>
</image>
		<item>
		<title>I can create a website for you!</title>
		<link>http://nasarik.com/2009/09/i-can-create-a-website-for-you/</link>
		<comments>http://nasarik.com/2009/09/i-can-create-a-website-for-you/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 21:38:40 +0000</pubDate>
		<dc:creator>nasarik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[business]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[create]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[designer]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[online]]></category>
		<category><![CDATA[presence]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[systems]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[website]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://nasarik.com/?p=418</guid>
		<description><![CDATA[
Are you a new business that is looking to create a web presence,  an existing business who wants to step out into the Internet or even just someone who feels the need to express themselves online &#8211; I can help you create the ideal platform for you!

The Internet is an ever changing system, and at the speed [...]]]></description>
			<content:encoded><![CDATA[<p><img class="post_images" src="http://farm4.static.flickr.com/3509/3898075940_cd97859e14.jpg" alt="Looking for work!" width="445" height="120" /></p>
<p><span>Are you a new business that is looking to create a web presence,  an existing business who wants to step out into the Internet or even just someone who feels the need to express themselves online &#8211; I can help you create the ideal platform for you!</span></p>
<p><!--Read more--></p>
<p><span>The Internet is an ever changing system, and at the speed technology moves it can feel really daunting taking either your first step into the web or to commission an online solution that suits you.  </span></p>
<p><span>When I create websites I try to cut through the techno babble and deal with each specific need using the best solutions.  </span>Whether it is a website that simply offers a window into your world or something more complex that allows you to update parts of the site yourself, I am sure I will be able to help.</p>
<p>If you want to see what I can do&#8230;then feel free to contact me &#8211; <a href="mailto:info@nasarik.com"><span>info@<span>nasarik</span>.com</span></a></p>
]]></content:encoded>
			<wfw:commentRss>http://nasarik.com/2009/09/i-can-create-a-website-for-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS sprites &#8211; What they are, and how to use them?</title>
		<link>http://nasarik.com/2009/05/css-sprites-what-they-are-and-how-to-use-them/</link>
		<comments>http://nasarik.com/2009/05/css-sprites-what-they-are-and-how-to-use-them/#comments</comments>
		<pubDate>Fri, 15 May 2009 21:51:06 +0000</pubDate>
		<dc:creator>nasarik</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[buttons]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[rollover]]></category>
		<category><![CDATA[sprites]]></category>
		<category><![CDATA[state]]></category>

		<guid isPermaLink="false">http://nasarik.com/?p=249</guid>
		<description><![CDATA[
This is short article to briefly explain what sprites are and how you can implement them into you CSS designs.

CSS sprites are the combination of many images into one large image, each individual image is then moved using background position to be visible within each container; this process is extremely usefull in navigation menus where [...]]]></description>
			<content:encoded><![CDATA[<p><img class="post_images" src="http://farm4.static.flickr.com/3579/3529577524_59d6bccff7.jpg?v=0" alt="" width="445" height="120" /></p>
<p>This is short article to briefly explain what sprites are and how you can implement them into you CSS designs.</p>
<p><span id="more-249"></span></p>
<p>CSS sprites are the combination of many images into one large image, each individual image is then moved using background position to be visible within each container; this process is extremely usefull in navigation menus where you would want two or three button image states <em>(This method also nicely replaces the need for unnecessary javascript libraries)</em>.</p>
<p>What you will gain from using CSS sprites is better performance from you site as it needs to make less HTTP image requests which will ease the load on your pages.</p>
<h3>A simple example:</h3>
<p>Firstly, create an image 250px wide and 100px deep, within the image area create two button states with slightly different styles so that each state will be clear to the user <em>(As in the example below)</em>.  Save the image as a JPEG ready to use in the CSS.</p>
<p><img style="padding-top: 20px;" src="http://farm3.static.flickr.com/2292/3528525861_623237c29b.jpg?v=0" alt="" width="250" height="100" /></p>
<h3>The CSS:</h3>
<p>Then place the following CSS into the head of your document;  this will create the display area for the sprite while the background position will display the first button state.</p>
<p><strong>ul.menu { list-style:none; padding:0; margin:0; }</strong></p>
<p><strong>ul.menu li a { list-style:none; display:block; width: 250px; height:50px; background:url(btn_eg.jpg) no-repeat; background-position: 0 0; }</strong></p>
<p>Next we need to add the hover state, this will simply move the image up withing the same container when the mouse is over the button.  To include the hover state simply add the following CSS after the main menu code.</p>
<p><strong>ul.menu li a:hover { background-position: 0 -50px; }</strong></p>
<h3>The HTML:</h3>
<p>Finally reference your button in the body as you would normally with the following HTML:</p>
<p><strong>&lt;ul class=&#8221;menu&#8221;&gt;<br />
&lt;li&gt;&lt;a href=&#8221;http://nasarik.com&#8221;&gt;&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;</strong></p>
<p>To see the final example <a href="http://nasarik.com/wp-content/examples/csssprite/menu_eg.html" target="_blank">click here</a></p>
<h3>Overview</h3>
<p>And you are done, a simple an effective way to start using CSS sprites in your pages<strong>. </strong>I have added two links to more in-depth articles on the subject of sprites below enjoy.<br />
<a href="http://nasarik.com/wp-content/examples/csssprite/menu_eg.html" target="_blank"></a></p>
<p><a href="http://css-tricks.com/css-sprites/" target="_self">CSS Sprites: What They Are, Why They’re Cool, and How To Use Them</a><br />
<a href="http://www.smashingmagazine.com/2009/04/27/the-mystery-of-css-sprites-techniques-tools-and-tutorials/" target="_blank">The Mystery Of CSS Sprites: Techniques, Tools And Tutorials</a></p>
]]></content:encoded>
			<wfw:commentRss>http://nasarik.com/2009/05/css-sprites-what-they-are-and-how-to-use-them/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple navigation list with CSS</title>
		<link>http://nasarik.com/2009/04/simple-navigation-list-with-css/</link>
		<comments>http://nasarik.com/2009/04/simple-navigation-list-with-css/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 22:02:42 +0000</pubDate>
		<dc:creator>nasarik</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[a]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[li]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[simple]]></category>
		<category><![CDATA[ul]]></category>
		<category><![CDATA[unordered]]></category>

		<guid isPermaLink="false">http://nasarik.com/?p=175</guid>
		<description><![CDATA[
Navigation can be presented in many different ways, but the most effective way is the CSS list which offers the best and most simple solution.  In this post I will demonstrate the CSS menu in its most stripped back form.

Firstly, I will give the CSS  and HTML followed by a breakdown of the code.  This guide [...]]]></description>
			<content:encoded><![CDATA[<p><img class="post_images" src="http://farm4.static.flickr.com/3659/3439757438_b839ba1051.jpg?v=0" alt="" width="445" height="120" /></p>
<p>Navigation can be presented in many different ways, but the most effective way is the CSS list which offers the best and most simple solution.  In this post I will demonstrate the CSS menu in its most stripped back form.</p>
<p><span id="more-175"></span></p>
<p>Firstly, I will give the CSS  and HTML followed by a breakdown of the code.  This guide assumes that there is already an understanding of lists.<br />
<strong></strong></p>
<h3>CSS</h3>
<p>ul.menu {  list-style:none; padding:0; margin:0; }</p>
<p>ul.menu li a{ display:block; width: 100px; padding:10px; font: 10px Arial, Helvetica, sans-serif; color:#FFFFFF; background-color:#009933; border-bottom: 1px solid #003300; }</p>
<p>ul.menu li a:hover { background-color:#003300; }</p>
<h3>HTML</h3>
<p>&lt;ul class=&#8221;menu&#8221;&gt;<br />
&lt;li&gt;&lt;a href=&#8221;http://nasarik.com&#8221;&gt;home&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;http://nasarik.com&#8221;&gt;portfolio&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;http://nasarik.com&#8221;&gt;contact&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;</p>
<p>In the CSS I have referenced the unordered list (ul) and given the class .menu, this is so we can reference the HTML in a simple and clean way; next we clear the natural styling of the ul with list-style:none and the removal of both padding and margin.  Now we can reference the list item (li) and the active link (a) with our own styling attributes, then simply add the hover state, in this case I have chosen a darker colour.</p>
<p>The HTML list is simple, create a standard unordered list, and add your class to the ul tag, this will style your menu with the CSS, it&#8217;s that simple.  This same method can be used on any list type and can be adapted to suit any style of website.<br />
<strong></strong></p>
<h3>Here are a few excellent examples of CSS menus</h3>
<p><a href="http://www.smashingmagazine.com" target="_blank">http://www.smashingmagazine.com</a><br />
<a href="http://www.cssbeauty.com/" target="_blank">http://www.cssbeauty.com/<br />
</a><a href="http://logopond.com/" target="_blank">http://logopond.com/</a><a href="http://www.pixellogo.com/" target="_blank"></p>
<p>http://www.pixellogo.com/</a></p>
<p>Once you have mastered the simple CSS menu why not experiment with images or JQuery.</p>
]]></content:encoded>
			<wfw:commentRss>http://nasarik.com/2009/04/simple-navigation-list-with-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
