<?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/"
		xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>AlanWho? &#187; CSS</title>
	<atom:link href="http://alanwho.com/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://alanwho.com</link>
	<description>Cool Shit Often</description>
	<lastBuildDate>Tue, 04 Jan 2011 13:46:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<copyright>Copyright &#xA9; AlanWho? 2012 </copyright>
	<managingEditor>askalanwho@gmail.com (AlanWho?)</managingEditor>
	<webMaster>askalanwho@gmail.com (AlanWho?)</webMaster>
	<image>
		<url>http://alanwho.com/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
		<title>AlanWho?</title>
		<link>http://alanwho.com</link>
		<width>144</width>
		<height>144</height>
	</image>
	<itunes:subtitle></itunes:subtitle>
	<itunes:summary>Cool Shit Often</itunes:summary>
	<itunes:keywords></itunes:keywords>
	<itunes:category text="Society &#38; Culture" />
	<itunes:author>AlanWho?</itunes:author>
	<itunes:owner>
		<itunes:name>AlanWho?</itunes:name>
		<itunes:email>askalanwho@gmail.com</itunes:email>
	</itunes:owner>
	<itunes:block>no</itunes:block>
	<itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://alanwho.com/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<item>
		<title>Rollover CSS Image Menu</title>
		<link>http://alanwho.com/css/rollover-css-image-menu/</link>
		<comments>http://alanwho.com/css/rollover-css-image-menu/#comments</comments>
		<pubDate>Mon, 14 Aug 2006 21:52:46 +0000</pubDate>
		<dc:creator>Alan Who</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.alanwho.com/web-development/css/rollover-css-image-menu</guid>
		<description><![CDATA[<p>
<img id="image58" src="http://www.alanwho.com/wp-content/uploads/2006/08/cssmen.png" alt="CSS Rollover Image Menu" /></p>
<p class="peace"><span class="adsense"><!--adsense--></span>There are now loads of places on the Internet where one can access free CSS menu's. But of the many that are available very few suceed in replicating the prehistoric roll-over image menu using javascript image replacement techniques, with only lovely CSS.  I have managed to create one that works in both decent web browsers and crap ones (Internet Explorer), check it out.</p>]]></description>
			<content:encoded><![CDATA[<p class="centre">
<img id="image58" src="http://www.alanwho.com/wp-content/uploads/2006/08/cssmen.png" alt="CSS Rollover Image Menu" /></p>
<p class="peace"><span class="adsense"><script type="text/javascript"><!--
google_ad_client = "pub-0446195470063323";
/* 336x280, created 24/08/08 */
google_ad_slot = "7234030682";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></span>There are now loads of places on the Internet where one can access free CSS menu's. But of the many that are available very few suceed in replicating the prehistoric roll-over image menu using javascript image replacement techniques, with only lovely CSS.  I have managed to create one that works in both decent web browsers and crap ones (Internet Explorer), check it out.</p><span id="more-57"></span>

<p>First I needed to remove all padding and margins from the page:</p>

<pre class="prettyprint">
<div class="codesnip-container" >* { padding: 0em; margin: 0em; }</div>
</pre>
<p>Then the CSS for the #nav container div:</p>

<pre class="prettyprint">
<div class="codesnip-container" >#nav img { border: none; }
#nav li { display: inline; list-style:none; }
#nav li a { float: left; display:block; width: 37px; height: 50px; margin: 5%; }
#nav li a img {  border:none; vertical-align:bottom; /* for IE6 */}
#nav li a:hover { visibility:visible; /* for IE6 */ }
#nav li a:hover img { visibility:visible; /* for IE6 */ }
#nav li a:hover img/**/ { visibility:hidden; /* hide from IE5.0/win */}</div>
</pre>
<p><em>Internet Explorer requires something to happen on a:hover as well as a:hover img</em>.</p>
<p>The menu list items all use different images on rollover so I defined each with a different ID on the anchor element:</p>

<pre class="prettyprint">
<div class="codesnip-container" >#one { background:url(http://www.alanwho.com/examples/css/rollover_menu/1over.png) no-repeat left bottom; }
#two { background:url(http://www.alanwho.com/examples/css/rollover_menu/2over.png) no-repeat left bottom; }
#three { background:url(http://www.alanwho.com/examples/css/rollover_menu/3over.png) no-repeat left bottom; }
#four { background:url(http://www.alanwho.com/examples/css/rollover_menu/4over.png) no-repeat left bottom; }</div>
</pre>
<p>Lastly I created a div with an id of nav and applied the CSS into the final XHTML:</p>
<p><strong><a href="http://www.alanwho.com/examples/css/rollover_menu/">The Final Rollover CSS Image Menu XHTML</a></strong>.</p>]]></content:encoded>
			<wfw:commentRss>http://alanwho.com/css/rollover-css-image-menu/feed/</wfw:commentRss>
		<slash:comments>2829</slash:comments>
		</item>
		<item>
		<title>7 CSS XHTML 1.1 Layouts</title>
		<link>http://alanwho.com/css/7-css-xhtml-11-layouts/</link>
		<comments>http://alanwho.com/css/7-css-xhtml-11-layouts/#comments</comments>
		<pubDate>Sat, 05 Aug 2006 19:34:25 +0000</pubDate>
		<dc:creator>Alan Who</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.alanwho.com/web-development/css/7-css-xhtml-11-strict-layouts</guid>
		<description><![CDATA[<p><img src="http://www.alanwho.com/wp-content/uploads/2006/08/2col-liquid1.jpg" alt="2 Column Liquid" /></p>
<p><span class="adsense"><!--adsense--></span>7 free CSS layouts that all validate to the XHTML 1.1 declaration.</p>]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.alanwho.com/wp-content/uploads/2006/08/2col-liquid1.jpg" alt="2 Column Liquid" /></p>
<p><span class="adsense"><script type="text/javascript"><!--
google_ad_client = "pub-0446195470063323";
/* 336x280, created 24/08/08 */
google_ad_slot = "7234030682";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></span>7 free CSS layouts that all validate to the XHTML 1.1 declaration.</p><span id="more-55"></span>

<div class="gallery">

<ul>

<li>
<a href="http://www.alanwho.com/layouts/2col-liquid.html">
<img src="http://www.alanwho.com/wp-content/uploads/2006/08/2col-liquid1.jpg" alt="2 Column Liquid" />
</a>
<br />
2 Column Liquid Layout</li>

<li>
<a href="http://www.alanwho.com/layouts/2colfluid.html">
<img src="http://www.alanwho.com/wp-content/uploads/2006/08/2colfluid1.jpg" alt="2 Column Fluid" />
</a>
<br />
2 Column Fluid Layout</li>

<li>
<a href="http://www.alanwho.com/layouts/3col-liquid.html">
<img src="http://www.alanwho.com/wp-content/uploads/2006/08/3col-liquid.jpg" alt="3 Column Fluid Layout" />
</a>
<br />
3 Column Fluid Layout</li>

<li>
<a href="http://www.alanwho.com/layouts/3col-liqud-wrapper_free.html">
<img src="http://www.alanwho.com/wp-content/uploads/2006/08/3col-liquid-wrapper_free.jpg" alt="3 Column Fluid Wrapper Free" />
</a>
<br />
3 Column Fluid (Wrapper Free) Layout</li>

<li>
<a href="http://www.alanwho.com/layouts/3col-liqud-equal_column_height.html">
<img src="http://www.alanwho.com/wp-content/uploads/2006/08/3col-liqud-equal_column_hei.jpg" alt="3 Column Liquid Equal Height Columns Layout" />
</a>
<br />
3 Columns (Equal Height) Liquid  Layout</li>

<li>
<a href="http://www.alanwho.com/layouts/3colfluid.html">
<img src="http://www.alanwho.com/wp-content/uploads/2006/08/3colfluid.jpg" alt="3 Column Fluid Layout" name="image48" />
</a>
<br />
3 Column Fluid Layout</li>

<li>
<a href="http://www.alanwho.com/layouts/4colfluid.html">
<img src="http://www.alanwho.com/wp-content/uploads/2006/08/4colfluid.jpg" alt="4 Column Fluid Layout" />
</a>
<br />
4 Column Fluid Layout</li>

</ul>

</div>]]></content:encoded>
			<wfw:commentRss>http://alanwho.com/css/7-css-xhtml-11-layouts/feed/</wfw:commentRss>
		<slash:comments>2776</slash:comments>
		</item>
	</channel>
</rss>

