<?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; unordered</title>
	<atom:link href="http://nasarik.com/tag/unordered/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>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>
