<?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>h4x3d.com &#187; display</title>
	<atom:link href="http://h4x3d.com/tag/display/feed/" rel="self" type="application/rss+xml" />
	<link>http://h4x3d.com</link>
	<description>online portfolio of Julian Klewes</description>
	<lastBuildDate>Mon, 25 Jul 2011 13:18:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Show code on wordpress css</title>
		<link>http://h4x3d.com/show-code-on-wordpress-css/</link>
		<comments>http://h4x3d.com/show-code-on-wordpress-css/#comments</comments>
		<pubDate>Wed, 22 Aug 2007 06:54:10 +0000</pubDate>
		<dc:creator>jez</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[display]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.h4x3d.com/show-code-on-wordpress-css/</guid>
		<description><![CDATA[Hi, one of the people commenting here asked for a way of displaying code in one of my themes. For ages I have been using the following code and it worked flawless in connection with the code markup plugin for wordpress: .primary pre#hack { white-space: pre-wrap; /* css-3 */ white-space: -moz-pre-wrap !important; /* Mozilla, since [...]]]></description>
			<content:encoded><![CDATA[<p>Hi, one of the people commenting here asked for a way of displaying code in one of my themes.<br />
For ages I have been using the following code and it worked flawless in connection with the code <a href="http://www.thunderguy.com/semicolon/wordpress/code-markup-wordpress-plugin/">markup plugin</a> for wordpress:</p>
<pre><code>
.primary pre#hack {
		white-space: pre-wrap;		/* css-3 */
		white-space: -moz-pre-wrap !important;		/* Mozilla, since 1999 */
		white-space: -pre-wrap;		/* Opera 4-6 */
		white-space: -o-pre-wrap;	/* Opera 7 */
		word-wrap: break-word;		/* Internet Explorer 5.5+ */
}

.primary pre {
  overflow: auto;
  cursor:pointer;
  position:relative;
}

.primary pre code {
  display: block;
  margin:10px;
  padding:4px;
  border:1px solid #ddd;
  background:#F5F5F5;
  font:10px Lucida Sans Typewriter, Courier, monospace;
}
</code></pre>
<pre><code>.primary can be changed to what you need, e.g. .post or .entry</code></pre>
<p><strong>Usage within WordPress</strong><br />
Simply go to the &#8220;code&#8221; editor of WordPress and paste your code.<br />
Surround it by a
<pre> and <code> tag and add the id of "hack" to the
<pre>.
(
<pre><code> stuff here </code> </pre>
]]></content:encoded>
			<wfw:commentRss>http://h4x3d.com/show-code-on-wordpress-css/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

