<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Web Publishing on Zachary Loeber's Blog</title><link>https://blog.zacharyloeber.com/tags/web-publishing/</link><description>Recent content in Web Publishing on Zachary Loeber's Blog</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 05 Aug 2011 12:58:12 +0000</lastBuildDate><atom:link href="https://blog.zacharyloeber.com/tags/web-publishing/index.xml" rel="self" type="application/rss+xml"/><item><title>CSS: Pretty Code Snippet Formatting</title><link>https://blog.zacharyloeber.com/blog/2011/08/05/css-pretty-formatting/</link><pubDate>Fri, 05 Aug 2011 12:58:12 +0000</pubDate><guid>https://blog.zacharyloeber.com/blog/2011/08/05/css-pretty-formatting/</guid><description>&lt;p>I forgot where I dredged this up from but here is how I do my code/script posts. I modified the default theme css and add the following for pre-formatted text:&lt;/p>
&lt;pre>pre {
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+ */
background: #000000;
color: #21FF2C;
}&lt;/pre></description></item></channel></rss>