<?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>Semantic HTML &#187; css</title>
	<atom:link href="http://semantichtml.org/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://semantichtml.org</link>
	<description>Semantic Markup and Practices</description>
	<lastBuildDate>Fri, 21 Jan 2011 02:48:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<image>
<link>http://semantichtml.org</link>
<url>http://semantichtml.org/wp-content/plugins/maxblogpress-favicon/icons/favicon-42.ico</url>
<title>Semantic HTML</title>
</image>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>CSS Inheritance by Russ Weakley</title>
		<link>http://semantichtml.org/semantics/css-inheritance-by-russ-weakley/</link>
		<comments>http://semantichtml.org/semantics/css-inheritance-by-russ-weakley/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 18:48:14 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Semantics]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://semantichtml.org/semantics/css-inheritance-by-russ-weakley/</guid>
		<description><![CDATA[CSS Inheritance &#8211; a simple step-by-step tutorial View more documents from Russ Weakley.]]></description>
			<content:encoded><![CDATA[<div style="width:425px;text-align:left" id="__ss_1772232"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/maxdesign/css-inheritance-a-simple-stepbystep-tutorial" title="CSS Inheritance - a simple step-by-step tutorial">CSS Inheritance &#8211; a simple step-by-step tutorial</a><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=inheritance2-090726204631-phpapp02&#038;stripped_title=css-inheritance-a-simple-stepbystep-tutorial" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=inheritance2-090726204631-phpapp02&#038;stripped_title=css-inheritance-a-simple-stepbystep-tutorial" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">documents</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/maxdesign">Russ Weakley</a>.</div>
</div>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fsemantichtml.org%2Fsemantics%2Fcss-inheritance-by-russ-weakley%2F&amp;title=CSS+Inheritance+by+Russ+Weakley" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fsemantichtml.org%2Fsemantics%2Fcss-inheritance-by-russ-weakley%2F&amp;title=CSS+Inheritance+by+Russ+Weakley" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fsemantichtml.org%2Fsemantics%2Fcss-inheritance-by-russ-weakley%2F&amp;title=CSS+Inheritance+by+Russ+Weakley" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fsemantichtml.org%2Fsemantics%2Fcss-inheritance-by-russ-weakley%2F&amp;title=CSS+Inheritance+by+Russ+Weakley" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fsemantichtml.org%2Fsemantics%2Fcss-inheritance-by-russ-weakley%2F&amp;title=CSS+Inheritance+by+Russ+Weakley', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://images.del.icio.us/static/img/delicious.small.gif" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fsemantichtml.org%2Fsemantics%2Fcss-inheritance-by-russ-weakley%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fsemantichtml.org%2Fsemantics%2Fcss-inheritance-by-russ-weakley%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fsemantichtml.org%2Fsemantics%2Fcss-inheritance-by-russ-weakley%2F&amp;title=CSS+Inheritance+by+Russ+Weakley" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fsemantichtml.org%2Fsemantics%2Fcss-inheritance-by-russ-weakley%2F&amp;title=CSS+Inheritance+by+Russ+Weakley" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span><img src="http://semantichtml.org/?ak_action=api_record_view&id=103&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://semantichtml.org/semantics/css-inheritance-by-russ-weakley/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Semantic CSS</title>
		<link>http://semantichtml.org/semantics/semantic-css/</link>
		<comments>http://semantichtml.org/semantics/semantic-css/#comments</comments>
		<pubDate>Tue, 25 Dec 2007 00:16:11 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Semantics]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[semantic css]]></category>

		<guid isPermaLink="false">http://semantichtml.org/semantics/semantic-css/</guid>
		<description><![CDATA[Cascading Style Sheets in themselves are semantical in nature. The whole reason why CSS is so powerful is due to their cascading nature. Rules lower in the CSS code are actually higher in value, hence the term cascading. And that means rules supplied in your inline style attributes will supersede those within an external style [...]]]></description>
			<content:encoded><![CDATA[<p>Cascading Style Sheets in themselves are semantical in nature. The whole reason why CSS is so powerful is due to their cascading nature. Rules lower in the CSS code are actually higher in value, hence the term cascading. And that means rules supplied in your inline style attributes will supersede those within an external style sheet.</p>
<p><strong> Why?</strong></p>
<p>Because of its &#8220;rule execution&#8221; format, those rules cascading from the top of your styles will not overwrite style blocks that are lower (after) them in the style declaration. But the <em>last</em> rule will carry the most value, or weight &#8211; thereby generating the final style.</p>
<p>So let&#8217;s say you have the following CSS rules in an external style sheet:</p>
<p><code>* {margin: 0; padding: 0;}</code></p>
<p>And you declare a h1 tag to present as such:</p>
<p><code>h1 {margin: 0 0 2em 0;} </code></p>
<p>So your CSS file looks like this:</p>
<p><code>* {margin: 0; padding: 0;}<br />
h1 {margin: 0 0 2em 0;}</code></p>
<p>Do you see why the h1 will have a bottom margin of -2em? Good. Now what if you had an inline style (although you don&#8217;t do you? I mean, you want to separate content from presentation as much as possible, right?) for your h1 tag within your webpage:</p>
<p><code>&lt;h1 style="margin-bottom: -2em"&gt;Heading&lt;/h1&gt;<!--formatted--></code></p>
<p>Due to the cascading effect, that h1 tag will have it&#8217;s bottom margin raised up to -2, because of its inline style. That&#8217;s the power of CSS, and that&#8217;s all for now!</p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fsemantichtml.org%2Fsemantics%2Fsemantic-css%2F&amp;title=Semantic+CSS" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fsemantichtml.org%2Fsemantics%2Fsemantic-css%2F&amp;title=Semantic+CSS" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fsemantichtml.org%2Fsemantics%2Fsemantic-css%2F&amp;title=Semantic+CSS" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fsemantichtml.org%2Fsemantics%2Fsemantic-css%2F&amp;title=Semantic+CSS" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fsemantichtml.org%2Fsemantics%2Fsemantic-css%2F&amp;title=Semantic+CSS', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://images.del.icio.us/static/img/delicious.small.gif" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fsemantichtml.org%2Fsemantics%2Fsemantic-css%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fsemantichtml.org%2Fsemantics%2Fsemantic-css%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fsemantichtml.org%2Fsemantics%2Fsemantic-css%2F&amp;title=Semantic+CSS" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fsemantichtml.org%2Fsemantics%2Fsemantic-css%2F&amp;title=Semantic+CSS" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span><img src="http://semantichtml.org/?ak_action=api_record_view&id=24&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://semantichtml.org/semantics/semantic-css/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>css/edge</title>
		<link>http://semantichtml.org/coding/cssedge/</link>
		<comments>http://semantichtml.org/coding/cssedge/#comments</comments>
		<pubDate>Tue, 23 Oct 2007 04:19:37 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://semantichtml.org/coding/cssedge/</guid>
		<description><![CDATA[It seems that Mr. Eric Meyer has not updated his Welcome to the edge web page. I remember buy his book, and reading it everyday, and every night. It was so refreshing, and informative. But anyway, that page has not been modified for years. But hey, why mess with near-perfection. It&#8217;s even gotten a PR7, [...]]]></description>
			<content:encoded><![CDATA[<p>It seems that Mr. Eric Meyer has not updated his <a href="http://meyerweb.com/eric/css/edge/" target="_blank">Welcome to the edge</a> web page. I remember buy his book, and reading it everyday, and every night. It was so refreshing, and informative. But anyway, that page has not been modified for years. But hey, why mess with near-perfection. It&#8217;s even gotten a PR7, and 180,000 Yahoo links. Man&#8230;Maybe I should publish a book someday, and put up a page about it?</p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fsemantichtml.org%2Fcoding%2Fcssedge%2F&amp;title=css%2Fedge" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fsemantichtml.org%2Fcoding%2Fcssedge%2F&amp;title=css%2Fedge" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fsemantichtml.org%2Fcoding%2Fcssedge%2F&amp;title=css%2Fedge" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fsemantichtml.org%2Fcoding%2Fcssedge%2F&amp;title=css%2Fedge" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fsemantichtml.org%2Fcoding%2Fcssedge%2F&amp;title=css%2Fedge', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://images.del.icio.us/static/img/delicious.small.gif" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fsemantichtml.org%2Fcoding%2Fcssedge%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fsemantichtml.org%2Fcoding%2Fcssedge%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fsemantichtml.org%2Fcoding%2Fcssedge%2F&amp;title=css%2Fedge" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fsemantichtml.org%2Fcoding%2Fcssedge%2F&amp;title=css%2Fedge" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span><img src="http://semantichtml.org/?ak_action=api_record_view&id=12&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://semantichtml.org/coding/cssedge/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

