<?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: CSS: Replacing the &lt;center&gt; tag</title>
	<atom:link href="http://teachmetocode.com/articles/css-replacing-the-center-tag/feed/" rel="self" type="application/rss+xml" />
	<link>http://teachmetocode.com/articles/css-replacing-the-center-tag/</link>
	<description>Building Software Better . . . One Programmer at a Time</description>
	<lastBuildDate>Sun, 08 Aug 2010 23:45:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Brandon Buttars</title>
		<link>http://teachmetocode.com/articles/css-replacing-the-center-tag/#comment-65</link>
		<dc:creator>Brandon Buttars</dc:creator>
		<pubDate>Tue, 02 Feb 2010 19:00:42 +0000</pubDate>
		<guid isPermaLink="false">http://charlesmaxwood.com/?p=340#comment-65</guid>
		<description>Agreed with Adrian.  Whenever possible, assign a class and style it by it&#039;s class.  I will sometimes create a .center class and then I can use it, but I try and assign ID&#039;s to most layout elements when possible.

&lt;code&gt;
.center {text-align:center}
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Agreed with Adrian.  Whenever possible, assign a class and style it by it&#8217;s class.  I will sometimes create a .center class and then I can use it, but I try and assign ID&#8217;s to most layout elements when possible.</p>
<p><code><br />
.center {text-align:center}<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian von Gegerfelt</title>
		<link>http://teachmetocode.com/articles/css-replacing-the-center-tag/#comment-64</link>
		<dc:creator>Adrian von Gegerfelt</dc:creator>
		<pubDate>Mon, 03 Aug 2009 06:23:36 +0000</pubDate>
		<guid isPermaLink="false">http://charlesmaxwood.com/?p=340#comment-64</guid>
		<description>You shouldn&#039;t encourage people to use the style attribute because it has the highest rank of CSS definitions and is really hard to overwrite with a stylesheet.</description>
		<content:encoded><![CDATA[<p>You shouldn&#8217;t encourage people to use the style attribute because it has the highest rank of CSS definitions and is really hard to overwrite with a stylesheet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chuck</title>
		<link>http://teachmetocode.com/articles/css-replacing-the-center-tag/#comment-63</link>
		<dc:creator>Chuck</dc:creator>
		<pubDate>Fri, 31 Jul 2009 02:43:20 +0000</pubDate>
		<guid isPermaLink="false">http://charlesmaxwood.com/?p=340#comment-63</guid>
		<description>I can&#039;t believe I missed that! Thanks for pointing it out. I&#039;ll fix it in the post.</description>
		<content:encoded><![CDATA[<p>I can&#8217;t believe I missed that! Thanks for pointing it out. I&#8217;ll fix it in the post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard@Home</title>
		<link>http://teachmetocode.com/articles/css-replacing-the-center-tag/#comment-62</link>
		<dc:creator>Richard@Home</dc:creator>
		<pubDate>Wed, 29 Jul 2009 15:35:17 +0000</pubDate>
		<guid isPermaLink="false">http://charlesmaxwood.com/?p=340#comment-62</guid>
		<description>Good tip, but doesn&#039;t work cross browser I&#039;m afraid. You need to do the following:

body {
  text-align: center;
}
.wrapper {
  width: 900px;
  margin: 0 auto;
  text-align: left;
}

Hope this helps :-)</description>
		<content:encoded><![CDATA[<p>Good tip, but doesn&#8217;t work cross browser I&#8217;m afraid. You need to do the following:</p>
<p>body {<br />
  text-align: center;<br />
}<br />
.wrapper {<br />
  width: 900px;<br />
  margin: 0 auto;<br />
  text-align: left;<br />
}</p>
<p>Hope this helps <img src='http://teachmetocode.com/articles/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
