<?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>Gettin' My Geek On &#187; Add new tag</title>
	<atom:link href="http://www.markstevens20.net/blog/tag/add-new-tag/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.markstevens20.net/blog</link>
	<description>Ramblings on my experiments with Linux, networking, and collaboration aps</description>
	<lastBuildDate>Sat, 30 Jan 2010 01:23:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>CSS Formats for Code Presentation</title>
		<link>http://www.markstevens20.net/blog/2009/07/css-formats-for-code-presentation/</link>
		<comments>http://www.markstevens20.net/blog/2009/07/css-formats-for-code-presentation/#comments</comments>
		<pubDate>Sat, 25 Jul 2009 03:42:52 +0000</pubDate>
		<dc:creator>Mark Stevens</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://www.markstevens20.net/blog/?p=187</guid>
		<description><![CDATA[I need to have some sections of code in my blog, as any good geek blog would. Here is what I added to my blog&#8217;s style sheet to support my code entries. In fact, the presentation of the css code uses the code definitions in the style sheet. Can you say recursion? /* section to [...]]]></description>
			<content:encoded><![CDATA[<p>I need to have some sections of code in my blog, as any good geek blog would.  Here is what I added to my blog&#8217;s style sheet to support my code entries.  In fact, the presentation of the css code uses the code definitions in the style sheet.  Can you say <a title="Google Easter Egg" href="http://www.google.com/#hl=en&amp;q=recursion&amp;aq=f&amp;oq=&amp;aqi=g10&amp;fp=QI0EuE94-gI" target="_blank">recursion</a>?</p>
<div class="code">
/* section to define the &#8216;code box&#8217; and text used to show computer output */<br />
.code {<br />
     font-family:&#8217;Courier New&#8217;, Courier, Monospace, Fixed;<br />
     line-height: .6em;<br />
     font-size: 110%;<br />
     white-space: pre;<br />
     border: 2px ridge #0f5384;<br />
     padding: .5em;<br />
     background-color: #fffeef;<br />
     color: #511211;<br />
     min-width: 10em;<br />
     overflow: auto;<br />
}</p>
<p>/* section to define text used to show computer input */<br />
.code b {<br />
     font-weight: 900;<br />
     color: #0f5384;<br />
}</p>
<p>/* section to define text used to show my comments within the code box */<br />
.code i  {<br />
    font-family: Verdana, Arial, Helvetica, sans-serif;<br />
    font-effect: italic;<br />
    white-space: normal;<br />
    line-height: 1em;<br />
}
</p></div>
<p>Then I apply the code format using &lt;div class=&#8221;code&#8221;&gt; and then, within that div section, use &lt;b&gt; to indicate text that is input to the system, and &lt;i&#038;gt to indicate text that is a comment I wrote in the code box. It&#8217;s nothing fantastic, but it&#8217;ll do the job.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markstevens20.net/blog/2009/07/css-formats-for-code-presentation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
