<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: A Body with Class</title>
	<atom:link href="http://postpostmodern.com/instructional/a-body-with-class/feed/" rel="self" type="application/rss+xml" />
	<link>http://postpostmodern.com/instructional/a-body-with-class/</link>
	<description>Speaking of web development.</description>
	<lastBuildDate>Thu, 01 Mar 2012 21:53:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ben</title>
		<link>http://postpostmodern.com/instructional/a-body-with-class/comment-page-1/#comment-2289</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Wed, 19 Jan 2011 15:48:11 +0000</pubDate>
		<guid isPermaLink="false">http://postpostmodern.com/?p=228#comment-2289</guid>
		<description>Thanks, good to know. I did try to Google &quot;-%&gt;&quot; but it&#039;s futile :)</description>
		<content:encoded><![CDATA[<p>Thanks, good to know. I did try to Google &#8220;-%&gt;&#8221; but it&#8217;s futile :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Johnson</title>
		<link>http://postpostmodern.com/instructional/a-body-with-class/comment-page-1/#comment-2288</link>
		<dc:creator>Jason Johnson</dc:creator>
		<pubDate>Sun, 16 Jan 2011 17:31:31 +0000</pubDate>
		<guid isPermaLink="false">http://postpostmodern.com/?p=228#comment-2288</guid>
		<description>Ben, sorry your code is not coming through. Markdown must be having an issue. The dashes on the closing erb tags prevent a newline after the code. It&#039;s not required.</description>
		<content:encoded><![CDATA[<p>Ben, sorry your code is not coming through. Markdown must be having an issue. The dashes on the closing erb tags prevent a newline after the code. It&#8217;s not required.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://postpostmodern.com/instructional/a-body-with-class/comment-page-1/#comment-2287</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Sun, 16 Jan 2011 16:10:53 +0000</pubDate>
		<guid isPermaLink="false">http://postpostmodern.com/?p=228#comment-2287</guid>
		<description>Code didn&#039;t appear in my comment. 2nd attempt:

` `

(minus characters removed)</description>
		<content:encoded><![CDATA[<p>Code didn&#8217;t appear in my comment. 2nd attempt:</p>

<p><code></code></p>

<p>(minus characters removed)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://postpostmodern.com/instructional/a-body-with-class/comment-page-1/#comment-2286</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Sun, 16 Jan 2011 16:07:31 +0000</pubDate>
		<guid isPermaLink="false">http://postpostmodern.com/?p=228#comment-2286</guid>
		<description>Nice tip. One thing I was wondering - how does the minus symbol impact on the output?

I.e. any reason why not to just put:

&lt;code&gt; &lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Nice tip. One thing I was wondering - how does the minus symbol impact on the output?</p>

<p>I.e. any reason why not to just put:</p>

<p><code> </code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: james</title>
		<link>http://postpostmodern.com/instructional/a-body-with-class/comment-page-1/#comment-1900</link>
		<dc:creator>james</dc:creator>
		<pubDate>Fri, 23 Oct 2009 04:49:31 +0000</pubDate>
		<guid isPermaLink="false">http://postpostmodern.com/?p=228#comment-1900</guid>
		<description>using class tags on your body is pretty cool, and allows you to let css do the work for detecting current page styles on menu items.  A really lazy way so you dont have to do any server-side processing to add a class=&quot;current&quot; to menu items and can thus include a &quot;static&quot; tpl file with your main menu once.

&lt;code&gt;
.history a#history, .about a#about,  .faq a#faq {
background-color:pink; /* make the current page stand out */
}
&lt;/code&gt;

&lt;code&gt;


 &lt;a href=&quot;/about&quot; rel=&quot;nofollow&quot;&gt;about&lt;/a&gt;
 &lt;a href=&quot;/about/history&quot; rel=&quot;nofollow&quot;&gt;history&lt;/a&gt;
 &lt;a href=&quot;/faq&quot; rel=&quot;nofollow&quot;&gt;faq&lt;/a&gt;


&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>using class tags on your body is pretty cool, and allows you to let css do the work for detecting current page styles on menu items.  A really lazy way so you dont have to do any server-side processing to add a class=&#8221;current&#8221; to menu items and can thus include a &#8220;static&#8221; tpl file with your main menu once.</p>

<p><code>
.history a#history, .about a#about,  .faq a#faq {
background-color:pink; /* make the current page stand out */
}
</code></p>

<p><code></code></p>

<p><a href="/about" rel="nofollow">about</a>
 <a href="/about/history" rel="nofollow">history</a>
 <a href="/faq" rel="nofollow">faq</a></p>

<p></p>
]]></content:encoded>
	</item>
</channel>
</rss>

