<?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>CSS Tutorial &#187; centering text</title>
	<atom:link href="http://www.csstutorial.net/tag/centering-text/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.csstutorial.net</link>
	<description>CSS Tutorial</description>
	<lastBuildDate>Mon, 30 Jan 2012 06:00:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Centering Text with CSS</title>
		<link>http://www.csstutorial.net/2010/06/centering-text-with-css/</link>
		<comments>http://www.csstutorial.net/2010/06/centering-text-with-css/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 00:29:25 +0000</pubDate>
		<dc:creator>Andrea Barnett</dc:creator>
				<category><![CDATA[CSS Basics]]></category>
		<category><![CDATA[CSS Misc]]></category>
		<category><![CDATA[CSS Page Layouts]]></category>
		<category><![CDATA[Killer CSS Tips and Tricks]]></category>
		<category><![CDATA[centering text]]></category>

		<guid isPermaLink="false">http://www.csstutorial.net/?p=881</guid>
		<description><![CDATA[Centering text and other elements can easily be done with the CSS text-align property. It can be applied to a division, the p tag - pretty much any block-level element.]]></description>
			<content:encoded><![CDATA[<p>Centering text and other elements can easily be done with the CSS text-align property. It can be applied to a division, the p tag &#8211; pretty much any block-level element.</p>
<p>Applying this to an internal or external stylesheet:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">p <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">center</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>or this to inline styling:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;p style=&quot;text-align: center;&quot;&gt;This is centered text&lt;/p&gt;</pre></div></div>

<p style="text-align: center;">will center your text.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.csstutorial.net/2010/06/centering-text-with-css/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

