<?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>just a thought... &#187; Centering images</title>
	<atom:link href="http://ben.subparcitizens.net/tag/centering-images/feed/" rel="self" type="application/rss+xml" />
	<link>http://ben.subparcitizens.net</link>
	<description>(stop reading now)</description>
	<lastBuildDate>Wed, 26 Nov 2008 20:04:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Centering images with WordPress</title>
		<link>http://ben.subparcitizens.net/2008/01/15/centering-images-with-wordpress/</link>
		<comments>http://ben.subparcitizens.net/2008/01/15/centering-images-with-wordpress/#comments</comments>
		<pubDate>Tue, 15 Jan 2008 05:49:55 +0000</pubDate>
		<dc:creator>ben</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rantz]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Centering images]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://ben.subparcitizens.net/2008/01/15/centering-images-with-wordpress/</guid>
		<description><![CDATA[Can be the devil, depending on how your theme is configured and how good you are at CSS. Tonight, I struggled for longer than my geek-pride will let me admit, to get Jen&#8217;s blog to display centered images. Basically, if you have a section in your stylesheet that goes something like this: .entry img { [...]]]></description>
			<content:encoded><![CDATA[<p align="left">Can be the devil, depending on how your theme is configured and how good you are at <a href="http://en.wikipedia.org/wiki/Cascading_style_sheets" title="Cascading Style Sheets" target="_blank">CSS</a>. Tonight, I struggled for longer than my geek-pride will let me admit, to get <a href="http://jen.subparcitizens.net/" title="Juniper" target="_blank">Jen&#8217;s blog</a> to display centered images. Basically, if you have a section in your stylesheet that goes something like this:</p>
<p>.entry img {<br />
border: 1px solid #888;<br />
float: left;<br />
margin: 5px 10px 5px 0;<br />
}</p>
<p align="left">Comment out the &#8220;float: left&#8221; like this:</p>
<p>.entry img {<br />
border: 1px solid #888;<br />
/*float: left;*/<br />
margin: 5px 10px 5px 0;<br />
}</p>
<p align="left">Then you will be able to center images in the visual editor by clicking on an image and then the &#8216;align center&#8217; button. Now, I will be the first to admit that there might be a better way of going about this, but what you see above worked for me, and will hopefully continue to work and not break something else. If anyone has a better solution / workaround, please let me know.</p>
<p align="left">The above code is to make an image centered in the post, with text above and below the image. If you&#8217;re trying to center an image and wrap text around it, I cannot help you and I have not tested the above to see if that will work (wrapping text all the way around an image, is just silly in my opinion).</p>
]]></content:encoded>
			<wfw:commentRss>http://ben.subparcitizens.net/2008/01/15/centering-images-with-wordpress/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
