<?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>Full On Design &#187; css</title>
	<atom:link href="http://www.fullondesign.co.uk/tag/css/feed" rel="self" type="application/rss+xml" />
	<link>http://www.fullondesign.co.uk</link>
	<description>Design &#38; Web Technologies</description>
	<lastBuildDate>Mon, 21 Jun 2010 16:45:51 +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>Making Zebra Stripes with CSS3</title>
		<link>http://www.fullondesign.co.uk/design/usability/1227-making-zebra-stripes-with-css3.htm</link>
		<comments>http://www.fullondesign.co.uk/design/usability/1227-making-zebra-stripes-with-css3.htm#comments</comments>
		<pubDate>Fri, 30 Oct 2009 22:01:35 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Usability]]></category>
		<category><![CDATA[Amp]]></category>
		<category><![CDATA[Background Color]]></category>
		<category><![CDATA[Brackets]]></category>
		<category><![CDATA[Colours]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Css Reference]]></category>
		<category><![CDATA[Css3]]></category>
		<category><![CDATA[Element]]></category>
		<category><![CDATA[Lt]]></category>
		<category><![CDATA[Nth Number]]></category>
		<category><![CDATA[pseudo-class]]></category>
		<category><![CDATA[Sitepoint]]></category>
		<category><![CDATA[Stripping]]></category>
		<category><![CDATA[Ul]]></category>
		<category><![CDATA[Zebra]]></category>
		<category><![CDATA[Zebra Stripes]]></category>

		<guid isPermaLink="false">http://www.fullondesign.co.uk/?p=1227</guid>
		<description><![CDATA[Zebra Stripping is the technique of having different colours per each line on a list. It generally is considered to help users read large tables of information; however there is evidence suggesting the effectiveness of zebra stripes is somewhat overrated. Having said that, in CSS3 it&#8217;s very easy to implement so it&#8217;s worthwhile adding. To [...]]]></description>
			<content:encoded><![CDATA[<p>Zebra Stripping is the technique of having different colours per each line on a list. It generally is considered to help users read large tables of information; however there is <a href="http://www.alistapart.com/articles/zebrastripingdoesithelp/">evidence suggesting the effectiveness of zebra stripes is somewhat overrated</a>. Having said that, in CSS3 it&#8217;s very easy to implement so it&#8217;s worthwhile adding.</p>
<p>To add Zebra Strips to a list, all you need to do is adding the following pseudo-class to the end of the CSS element you wish to edit:</p>
<p>
<pre class="brush: css;">
ul#example_list li:nth-child(odd) {
 background-color:#FFF;
}
</pre>
</p>
<p><span id="more-1227"></span></p>
<p>In this example, I&#8217;ve used an unordered list element. The data in the brackets refers to the &#8220;nth&#8221; number to affect, for example putting &#8220;(even)&#8221; will affect every even &lt;li&gt;. You can also put number in, for example &#8220;(3)&#8221; would affect every 3rd &lt;li&gt;.</p>
<p>Below is a link to a working example of the code in action (Feel free to copy &amp; share).</p>
<p><a href="http://www.fullondesign.co.uk/examples/zebra_strips_in_css3/zebra_strips_in_css3.html"><img class="aligncenter size-full wp-image-1229" title="zebra_strips_in_css3" src="http://www.fullondesign.co.uk/wp-content/uploads/2009/10/zebra_strips_in_css3.png" alt="zebra_strips_in_css3" width="103" height="108" /></a></p>
<p>If you want to read a bit more about the nth-child pseudo-class I recommend the <a href="http://reference.sitepoint.com/css/pseudoclass-nthchild">sitepoint CSS reference</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fullondesign.co.uk/design/usability/1227-making-zebra-stripes-with-css3.htm/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Building a Print CSS</title>
		<link>http://www.fullondesign.co.uk/coding/xhtml_and_css/847-building-a-print-css.htm</link>
		<comments>http://www.fullondesign.co.uk/coding/xhtml_and_css/847-building-a-print-css.htm#comments</comments>
		<pubDate>Thu, 21 May 2009 17:59:13 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[XHTML & CSS]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[print CSS]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.fullondesign.co.uk/?p=847</guid>
		<description><![CDATA[CSS sheets revolutionized the way websites are managed and created; they essentially made managing the design a piece of cake. However, many webmasters (and blog lords) forget to add a print sheet (many of the themes for wordpress lack even a simple CSS print sheet). Here is a quick video tutorial on creating a simple [...]]]></description>
			<content:encoded><![CDATA[<p>CSS sheets revolutionized the way websites are managed and created; they essentially made managing the design a piece of cake. </p>
<p>However, many webmasters (and blog lords) forget to add a print sheet (many of the themes for wordpress lack even a simple CSS print sheet). Here is a quick video tutorial on creating a simple print CSS really quickly.</p>
<p><span id="more-847"></span></p>
<p style="text-align: center;"><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/2HHgw0-o0bI&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/2HHgw0-o0bI&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p>
<h3>Linking to the Print CSS</h3>
<p>Linking to the Print CSS is quite simple; essentially all you need to do is use the following code:</p>
<pre class="brush: xml;">
&lt;link href=&quot;URL TO PRINT CSS HERE&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;print&quot; /&gt;</pre>
<h3>Hiding everything unnecessary</h3>
<p>Hiding elements can be quite tricky, but here is a snippet of code I normally use:</p>
<pre class="brush: css;">
#element_you_want_to_hide{
	visibility:hidden;
	position:absolute; top:0px; left:0px;
}</pre>
<h3>Further Reading</h3>
<p><a href="http://css-tricks.com/dont-rely-on-background-colors-printing/">Don’t Rely on Background Colors Printing</a> &#8211; A really neat article on why using colours in your print CSS is just a bad idea.</p>
<p><a href="http://www.amazon.co.uk/gp/product/1430223979?ie=UTF8&amp;tag=fulondes-21&amp;linkCode=as2&amp;camp=1634&amp;creative=19450&amp;creativeASIN=1430223979">CSS Mastery: Advanced Web Standards Solutions 2nd Edition</a> &#8211; An awesome book which is recommended by most professional web designers and developers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fullondesign.co.uk/coding/xhtml_and_css/847-building-a-print-css.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Tip: Reset Styles</title>
		<link>http://www.fullondesign.co.uk/coding/xhtml_and_css/591-css-tip-reset-styles.htm</link>
		<comments>http://www.fullondesign.co.uk/coding/xhtml_and_css/591-css-tip-reset-styles.htm#comments</comments>
		<pubDate>Mon, 30 Mar 2009 20:41:48 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[XHTML & CSS]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[reset style]]></category>

		<guid isPermaLink="false">http://www.fullondesign.co.uk/?p=591</guid>
		<description><![CDATA[CSS is incredible, however its implementation in browsers has not been standardised, meaning that every browser has a slightly different default settings for how elements should be rendered. Luckily there is an easy fix in CSS to reduce the level of dissimilarity. Add the following to the top of your CSS: * { margin: 0; [...]]]></description>
			<content:encoded><![CDATA[<p>CSS is incredible, however its implementation in browsers has not been standardised, meaning that every browser has a slightly different default settings for how elements should be rendered. Luckily there is an easy fix in CSS to reduce the level of dissimilarity.</p>
<p>Add the following to the top of your CSS:</p>
<pre lang="CSS">
* {
	margin: 0;
	padding: 0;
	color: #000;
	background: #FFF;
	font-style: inherit;
	text-decoration: none;
	font-size: 100%;
	font-weight: normal;
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.fullondesign.co.uk/coding/xhtml_and_css/591-css-tip-reset-styles.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easy CSS Drop down list</title>
		<link>http://www.fullondesign.co.uk/coding/xhtml_and_css/338-easy-css-drop-down-list.htm</link>
		<comments>http://www.fullondesign.co.uk/coding/xhtml_and_css/338-easy-css-drop-down-list.htm#comments</comments>
		<pubDate>Mon, 02 Mar 2009 23:06:05 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[XHTML & CSS]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css drop down list]]></category>
		<category><![CDATA[drop down]]></category>

		<guid isPermaLink="false">http://www.fullondesign.co.uk/?p=338</guid>
		<description><![CDATA[Here is a really easy way to make a drop down list using CSS instead of JavaScript. This has many advantages over a JavaScript method, mainly it&#8217;s more search engine friendly and does not rely on users having JavaScript turned on. Example Click here to see Live Demo The Code &#60;style type=&#34;text/css&#34;&#62; &#60;!-- /* Style [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a really easy way to make a drop down list using CSS instead of JavaScript. This has many advantages over a JavaScript method, mainly it&#8217;s more search engine friendly and does not rely on users having JavaScript turned on.</p>
<h3>Example</h3>
<p><a href="http://www.fullondesign.co.uk/wp-content/uploads/2009/03/css_dropdown.html"><img class="aligncenter size-full wp-image-348" title="dropdown_css1" src="http://www.fullondesign.co.uk/wp-content/uploads/2009/03/dropdown_css1.png" alt="dropdown_css1" width="575" height="89" /></a></p>
<p style="text-align: center;"><a href="http://www.fullondesign.co.uk/wp-content/uploads/2009/03/css_dropdown.html">Click here to see Live Demo</a></p>
<h3>The Code</h3>
<pre class="brush: xml;">
&lt;style type=&quot;text/css&quot;&gt;

&lt;!--

/* Style the links */

#exmaplebox a {

    float:left;

    text-decoration:none;

    font-size:14px;

    font-weight:bold;

    height: 22px;

    width: 100px;

    text-align:center;

    display:block;

    padding: 0 10px 0 10px;

    margin: 2px 10px;

    border:1px solid #CCC;

}

#exmaplebox a:hover {

    text-decoration:underline;

}

/* this bit is the drop down bit */

#exmaplebox ul {

    float:left;

    margin:0;

    padding:0;

    height: 26px;

    width: 150px;

    overflow:hidden;

    list-style:none;

}

#exmaplebox ul:hover {

    overflow:visible;

}

#exmaplebox ul li {

    float:left;

    width:300px;

    margin:0;

    padding:0;

}

--&gt;
&lt;/style&gt;
&lt;div id=&quot;exmaplebox&quot;&gt;

&lt;a href=&quot;#link&quot;&gt;Link&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#link&quot;&gt;Link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#link&quot;&gt;Large Sub-Link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#link&quot;&gt;Sub-Link&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;#link&quot;&gt;Long link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#link&quot;&gt;Sub-Link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#link&quot;&gt;Large Sub-Link&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;a href=&quot;#link&quot;&gt;Link&lt;/a&gt;
&lt;/div&gt;
</pre>
<p><a href="http://www.fullondesign.co.uk/wp-content/uploads/2009/03/css_dropdown.zip">Download the Code</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.fullondesign.co.uk/coding/xhtml_and_css/338-easy-css-drop-down-list.htm/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
