<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Web Usability &#187; CSS</title>
	<atom:link href="http://web2usability.wordpress.com/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://web2usability.wordpress.com</link>
	<description>Articles and Design guidelines for Web and intranet usability.</description>
	<lastBuildDate>Tue, 18 Aug 2009 10:37:32 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='web2usability.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/4da12f91e4433c28ce55725a99142acf?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Web Usability &#187; CSS</title>
		<link>http://web2usability.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://web2usability.wordpress.com/osd.xml" title="Web Usability" />
		<item>
		<title>Best Practices of CSS</title>
		<link>http://web2usability.wordpress.com/2009/05/27/best-practices-of-css/</link>
		<comments>http://web2usability.wordpress.com/2009/05/27/best-practices-of-css/#comments</comments>
		<pubDate>Wed, 27 May 2009 12:33:03 +0000</pubDate>
		<dc:creator>web2usability</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Usability]]></category>

		<guid isPermaLink="false">http://web2usability.wordpress.com/?p=111</guid>
		<description><![CDATA[1. Avoid CSS Expressions
2. Avoid Filters
3. Specify units for non-zero values, but not for zero values.
4. Don’t use quotation marks around paths/URLs when setting a background image or loading in an imported file
5. Try to avoid applying padding/borders and a fixed width to an element. Rather, apply padding to the parent element.
6. Minimize number of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=web2usability.wordpress.com&blog=3846106&post=111&subd=web2usability&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>1. Avoid CSS Expressions</p>
<p>2. Avoid Filters</p>
<p>3. Specify units for non-zero values, but not for zero values.</p>
<p>4. Don’t use quotation marks around paths/URLs when setting a background image or loading in an imported file</p>
<p>5. Try to avoid applying padding/borders and a fixed width to an element. Rather, apply padding to the parent element.</p>
<p>6. Minimize number of ID’s used</p>
<p>7. Minimize number of classes used</p>
<p>8. Don’t use anchors, instead use ID’s.</p>
<p>9. Combine selectors.</p>
<p>10. Use good naming conventions</p>
<p>11. Never use layout descriptives in class names.</p>
<p>12. Use functional names for your classes.</p>
<p>13. Always use intention revealing classnames</p>
<p>14. Avoid using the same classname for different purposes.</p>
<p>15. Always use the same classname for similar purposes.</p>
<p>16. Put your classname on the outer-most element. The child elements can be targeted with the parent elements classname or ID.</p>
<p>17. Declare relative font sizes instead of absolute.</p>
<p>18. Avoid !important.</p>
<p>19. Code link pseudo-classes in this order: Link, Visited, Hover, Active.</p>
<p>20. Minify CSS</p>
<p>21. Optimize CSS Sprites</p>
Posted in CSS, Usability  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/web2usability.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/web2usability.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/web2usability.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/web2usability.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/web2usability.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/web2usability.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/web2usability.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/web2usability.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/web2usability.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/web2usability.wordpress.com/111/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=web2usability.wordpress.com&blog=3846106&post=111&subd=web2usability&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://web2usability.wordpress.com/2009/05/27/best-practices-of-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4a138af0a164a6fe4e16425eb28b1fa8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">web usability</media:title>
		</media:content>
	</item>
	</channel>
</rss>