<?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>super-cooper &#187; css</title>
	<atom:link href="http://www.super-cooper.com/archive/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.super-cooper.com</link>
	<description>Python, GIS, and a sprinkling of mindless drivel from Chad Cooper</description>
	<lastBuildDate>Wed, 08 Dec 2010 02:12:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>PHP/CSS versus ASP/tables</title>
		<link>http://www.super-cooper.com/archive/2004/08/27/php-versus-asp/</link>
		<comments>http://www.super-cooper.com/archive/2004/08/27/php-versus-asp/#comments</comments>
		<pubDate>Sat, 28 Aug 2004 03:42:18 +0000</pubDate>
		<dc:creator>Chad</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[asp]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://super-cooper.com/?p=47</guid>
		<description><![CDATA[For the past few days, I have been tinkering around with PHP while rebuilding our site at work. I initially did everything in tables and ASP back last year sometime. Just some small stuff, nothing major. Well, then our Windoze IIS server crashed, and the powers that be decided to move all the web-related stuff [...]]]></description>
			<content:encoded><![CDATA[<p>For the past few days, I have been tinkering around with PHP while rebuilding our site at work. I initially did everything in tables and ASP back last year sometime. Just some small stuff, nothing major.<br />
<span id="more-21"></span><br />
Well, then our Windoze IIS server crashed, and the powers that be decided to move all the web-related stuff over to a Linux/Apache server (a good thing). So there goes my site along with my ability to run ASP, since they aren&#8217;t about to try to do any customization for just one loser using ASP. Basically, this was the push I needed to migrate to PHP (another good thing). I&#8217;ve been messing around a little bit with PHP, mostly with this site and the WordPress templates. The work site, however,  is my first big dive into PHP. I am amazed at the amount (or lack thereof) of PHP code it is taking to redo the site to do basically (or in some cases, more) of the same things it was before. Also, since I&#8217;m trying not to use tables (styled ordered lists instead), the size of my templates are just amazing when compared to the tabled ASP templates of the old version. For instance, I have an ASP tabled template that is 46KB in size; the same template done with PHP and CSS-styled order lists: about 4KB (plus about 3KB of included files). Damn! That&#8217;s a huge reduction in file size, not to mention the code is gorgeous now without all the tables and that mess in there to clutter it up.</p>
<p>Another thing is adding the last modified date to the pages. In the old version, I used some JavaScript I found somewhere to accomplish this. I looks like so:</p>
<link rel="stylesheet" href="http://www.super-cooper.com/wp-content/plugins/codeviewer.css" type="text/css" media="all" />
<ol class="codelist">
<li value="1" class="tab0 odd"><code><span style="color: #66cc66;">&lt;</span>script language=<span style="color: #3366CC;">&quot;JavaScript&quot;</span><span style="color: #66cc66;">&gt;</span></code></li>
<li value="2" class="tab0 even"><code><span style="color: #66cc66;">&lt;!</span>--</code></li>
<li value="3" class="tab0 odd"><code><span style="color: #003366; font-weight: bold;">function</span> getLongDateString<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span></code></li>
<li value="4" class="tab0 even"><code><span style="color: #66cc66;">&#123;</span>&nbsp; &nbsp;<span style="color: #009900; font-style: italic;">//method defined on class Date.</span></code></li>
<li value="5" class="tab1 odd"><code><span style="color: #009900; font-style: italic;">//Returns a date string of the form: Day DD Month,YYYY</span></code></li>
<li value="6" class="tab1 even"><code><span style="color: #009900; font-style: italic;">//(e.g. Sunday 27 September, 1998)</span></code></li>
<li value="7" class="tab1 odd"><code>monthNames = <span style="color: #003366; font-weight: bold;">new</span> Array<span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">&quot;January&quot;</span>,<span style="color: #3366CC;">&quot;February&quot;</span>,<span style="color: #3366CC;">&quot;March&quot;</span>,<span style="color: #3366CC;">&quot;April&quot;</span>, <span style="color: #3366CC;">&quot;May&quot;</span>,<span style="color: #3366CC;">&quot;June&quot;</span>,<span style="color: #3366CC;">&quot;July&quot;</span>,<span style="color: #3366CC;">&quot;August&quot;</span>,<span style="color: #3366CC;">&quot;September&quot;</span>, <span style="color: #3366CC;">&quot;October&quot;</span>,<span style="color: #3366CC;">&quot;November&quot;</span>,<span style="color: #3366CC;">&quot;December&quot;</span><span style="color: #66cc66;">&#41;</span>;</code></li>
<li value="8" class="tab0 even"><code>dayNames = <span style="color: #003366; font-weight: bold;">new</span> Array<span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">&quot;Sunday&quot;</span>,<span style="color: #3366CC;">&quot;Monday&quot;</span>,<span style="color: #3366CC;">&quot;Tuesday&quot;</span>,<span style="color: #3366CC;">&quot;Wednesday&quot;</span>, <span style="color: #3366CC;">&quot;Thursday&quot;</span>,<span style="color: #3366CC;">&quot;Friday&quot;</span>,<span style="color: #3366CC;">&quot;Saturday&quot;</span><span style="color: #66cc66;">&#41;</span>;</code></li>
<li value="9" class="tab1 odd"><code>dayOfWeek = <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #006600;">getDay</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</code></li>
<li value="10" class="tab1 even"><code>day = dayNames<span style="color: #66cc66;">&#91;</span>dayOfWeek<span style="color: #66cc66;">&#93;</span>;</code></li>
<li value="11" class="tab1 odd"><code>dateOfMonth = <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #006600;">getDate</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</code></li>
<li value="12" class="tab1 even"><code>monthNo = <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #006600;">getMonth</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</code></li>
<li value="13" class="tab1 odd"><code>month = monthNames<span style="color: #66cc66;">&#91;</span>monthNo<span style="color: #66cc66;">&#93;</span>;</code></li>
<li value="14" class="tab0 even"><code>year = <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #006600;">getYear</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</code></li>
<li value="15" class="tab1 odd"><code><span style="color: #000066; font-weight: bold;">if</span> <span style="color: #66cc66;">&#40;</span>year <span style="color: #66cc66;">&lt;</span> <span style="color: #CC0000;">2000</span><span style="color: #66cc66;">&#41;</span></code></li>
<li value="16" class="tab0 even"><code>year = year + <span style="color: #CC0000;">1900</span>;</code></li>
<li value="17" class="tab0 odd"><code>dateStr = day+<span style="color: #3366CC;">&quot;, &quot;</span>+month+<span style="color: #3366CC;">&quot; &quot;</span>+dateOfMonth+<span style="color: #3366CC;">&quot;, &quot;</span>+year;</code></li>
<li value="18" class="tab1 even"><code><span style="color: #000066; font-weight: bold;">return</span> dateStr;</code></li>
<li value="19" class="tab0 odd"><code><span style="color: #66cc66;">&#125;</span></code></li>
<li value="20" class="tab0 even"><code><span style="color: #009900; font-style: italic;">//register the &nbsp;method in the class Date</span></code></li>
<li value="21" class="tab0 odd"><code>Date.<span style="color: #006600;">prototype</span>.<span style="color: #006600;">getLongDateString</span>=getLongDateString;</code></li>
<li value="22" class="tab0 even"><code><span style="color: #003366; font-weight: bold;">function</span> DocDate<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span></code></li>
<li value="23" class="tab0 odd"><code><span style="color: #66cc66;">&#123;</span> <span style="color: #009900; font-style: italic;">//return the document modification date (excl.time)</span></code></li>
<li value="24" class="tab0 even"><code><span style="color: #009900; font-style: italic;">//as a string</span></code></li>
<li value="25" class="tab1 odd"><code>DateTimeStr = document.<span style="color: #006600;">lastModified</span>;</code></li>
<li value="26" class="tab1 even"><code>secOffset = Date.<span style="color: #006600;">parse</span><span style="color: #66cc66;">&#40;</span>DateTimeStr<span style="color: #66cc66;">&#41;</span>;</code></li>
<li value="27" class="tab1 odd"><code><span style="color: #000066; font-weight: bold;">if</span> <span style="color: #66cc66;">&#40;</span>secOffset == <span style="color: #CC0000;">0</span> <span style="color: #66cc66;">||</span> secOffset == <span style="color: #003366; font-weight: bold;">null</span><span style="color: #66cc66;">&#41;</span> <span style="color: #009900; font-style: italic;">//Opera3.2</span></code></li>
<li value="28" class="tab2 even"><code>dateStr = <span style="color: #3366CC;">&quot;Unknown&quot;</span>;</code></li>
<li value="29" class="tab1 odd"><code><span style="color: #000066; font-weight: bold;">else</span></code></li>
<li value="30" class="tab1 even"><code><span style="color: #66cc66;">&#123;</span></code></li>
<li value="31" class="tab2 odd"><code>aDate = <span style="color: #003366; font-weight: bold;">new</span> Date<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</code></li>
<li value="32" class="tab2 even"><code>aDate.<span style="color: #006600;">setTime</span><span style="color: #66cc66;">&#40;</span>secOffset<span style="color: #66cc66;">&#41;</span>;</code></li>
<li value="33" class="tab2 odd"><code><span style="color: #009900; font-style: italic;">//use method defined above</span></code></li>
<li value="34" class="tab2 even"><code>datestr = aDate.<span style="color: #006600;">getLongDateString</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</code></li>
<li value="35" class="tab1 odd"><code><span style="color: #66cc66;">&#125;</span></code></li>
<li value="36" class="tab2 even"><code><span style="color: #000066; font-weight: bold;">return</span> dateStr;</code></li>
<li value="37" class="tab1 odd"><code><span style="color: #66cc66;">&#125;</span></code></li>
<li value="38" class="tab1 even"><code>document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">&quot;&lt;center&gt; Last Updated: &quot;</span><span style="color: #66cc66;">&#41;</span>;</code></li>
<li value="39" class="tab1 odd"><code>document.<span style="color: #006600;">writeln</span><span style="color: #66cc66;">&#40;</span>DocDate<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>,<span style="color: #3366CC;">&quot;&lt;/center&gt;&quot;</span><span style="color: #66cc66;">&#41;</span>;</code></li>
<li value="40" class="tab1 even"><code><span style="color: #009900; font-style: italic;">//</span></code></li>
<li value="41" class="tab0 odd"><code>--<span style="color: #66cc66;">&gt;</span></code></li>
<li value="42" class="tab0 even"><code><span style="color: #66cc66;">&lt;/</span>script<span style="color: #66cc66;">&gt;</span></code></li>
</ol>
<p>Kinda ridiculously long, eh? Then today I ran across this <a href="http://www.theprojects.org/dev/lastmodified.html">sweet little piece o&#8217; PHP code</a> that I actually inserted into my footer include file that all of my pages will call. This inserts the last modified date of the template neatly onto my pages, and the date format is, of course, customizable:</p>
<link rel="stylesheet" href="http://www.super-cooper.com/wp-content/plugins/codeviewer.css" type="text/css" media="all" />
<ol class="codelist">
<li value="1" class="tab0 odd"><code><span style="color: #000000; font-weight: bold;">&lt;?php</span></code></li>
<li value="2" class="tab2 even"><code><a href="http://www.php.net/putenv"><span style="color: #000066;">putenv</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;TZ=America/Chicago&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">;</span></code></li>
<li value="3" class="tab2 odd"><code><a href="http://www.php.net/echo"><span style="color: #000066;">echo</span></a> <span style="color: #ff0000;">&quot;Page last modified on &quot;</span> <span style="color: #66cc66;">.</span> <a href="http://www.php.net/date"><span style="color: #000066;">date</span></a><span style="color: #66cc66;">&#40;</span> <span style="color: #ff0000;">&quot;F d, Y&quot;</span><span style="color: #66cc66;">,</span> <a href="http://www.php.net/getlastmod"><span style="color: #000066;">getlastmod</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">;</span></code></li>
<li value="4" class="tab0 even"><code><span style="color: #000000; font-weight: bold;">?&gt;</span></code></li>
<li class="sourcelink"><strong>Download this code:</strong> <a href="http://www.super-cooper.com/snippets/2004/php-vs-asp-2.txt">php-vs-asp-2.txt</a></li>
</ol>
<p>So what does all of this mean, and why am I seemingly on a soapbox? Well, I&#8217;m very pleased so far with PHP (any surprises there?), what it can do, and the ease of getting it do those tasks. Oh yeah,  and what is even better is that I am <i>getting paid</i> to do this. Ain&#8217;t life grand?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.super-cooper.com/archive/2004/08/27/php-versus-asp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Damn you Notepad!</title>
		<link>http://www.super-cooper.com/archive/2004/08/05/damn-you-notepad/</link>
		<comments>http://www.super-cooper.com/archive/2004/08/05/damn-you-notepad/#comments</comments>
		<pubDate>Fri, 06 Aug 2004 04:05:43 +0000</pubDate>
		<dc:creator>Chad</dc:creator>
				<category><![CDATA[site]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://super-cooper.com/?p=42</guid>
		<description><![CDATA[I have a bad habit of relying on Notepad to edit my CSS files. This bit me in the ass tonight. I don&#8217;t quite know what causes this, but my file automagically went from looking like this (this is only a small sampling of the screw-up): #nav &#123; font-family: &#34;trebuchet ms&#34;, verdana, sans-serif; font-size: 11px; [...]]]></description>
			<content:encoded><![CDATA[<p>I have a bad habit of relying on Notepad to edit my CSS files. This bit me in the ass tonight. I don&#8217;t quite know what causes this, but my file automagically went from looking like this (this is only a small sampling of the screw-up):<br />
<span id="more-16"></span></p>
<link rel="stylesheet" href="http://www.super-cooper.com/wp-content/plugins/codeviewer.css" type="text/css" media="all" />
<ol class="codelist">
<li value="1" class="tab0 odd"><code><span style="color: #cc00cc;">#nav</span> <span style="color: #66cc66;">&#123;</span></code></li>
<li value="2" class="tab1 even"><code><span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #66cc66;">:</span> <span style="color: #ff0000;">&quot;trebuchet ms&quot;</span>, verdana, <span style="color: #993333;">sans-serif</span><span style="color: #66cc66;">;</span></code></li>
<li value="3" class="tab1 odd"><code><span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #66cc66;">:</span> <span style="color: #933;">11px</span><span style="color: #66cc66;">;</span></code></li>
<li value="4" class="tab1 even"><code><span style="color: #000000; font-weight: bold;">margin</span><span style="color: #66cc66;">:</span> <span style="color: #933;">0px</span> <span style="color: #933;">0px</span> <span style="color: #933;">0px</span> <span style="color: #933;">0px</span><span style="color: #66cc66;">;</span></code></li>
<li value="5" class="tab1 odd"><code><span style="color: #000000; font-weight: bold;">padding</span><span style="color: #66cc66;">:</span> <span style="color: #933;">0</span><span style="color: #66cc66;">;</span></code></li>
<li value="6" class="tab1 even"><code><span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #66cc66;">:</span> <span style="color: #993333;">center</span><span style="color: #66cc66;">;</span></code></li>
<li value="7" class="tab0 odd"><code><span style="color: #66cc66;">&#125;</span></code></li>
<li value="8" class="tab0 even"><code><span style="color: #cc00cc;">#nav</span> ul <span style="color: #66cc66;">&#123;</span></code></li>
<li value="9" class="tab1 odd"><code><span style="color: #000000; font-weight: bold;">border</span><span style="color: #66cc66;">:</span> <span style="color: #933;">0</span><span style="color: #66cc66;">;</span></code></li>
<li value="10" class="tab1 even"><code><span style="color: #000000; font-weight: bold;">margin</span><span style="color: #66cc66;">:</span> <span style="color: #933;">0</span><span style="color: #66cc66;">;</span></code></li>
<li value="11" class="tab1 odd"><code><span style="color: #000000; font-weight: bold;">padding</span><span style="color: #66cc66;">:</span> <span style="color: #933;">0</span><span style="color: #66cc66;">;</span></code></li>
<li value="12" class="tab1 even"><code><span style="color: #000000; font-weight: bold;">list-style-type</span><span style="color: #66cc66;">:</span> <span style="color: #993333;">none</span><span style="color: #66cc66;">;</span></code></li>
<li value="13" class="tab1 odd"><code><span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #66cc66;">:</span> <span style="color: #993333;">center</span><span style="color: #66cc66;">;</span></code></li>
<li value="14" class="tab1 even"><code><span style="color: #000000; font-weight: bold;">clear</span><span style="color: #66cc66;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #66cc66;">;</span></code></li>
<li value="15" class="tab0 odd"><code><span style="color: #66cc66;">&#125;</span></code></li>
<li value="16" class="even">&nbsp;</li>
<li value="17" class="tab0 odd"><code><span style="color: #cc00cc;">#nav</span> ul li <span style="color: #66cc66;">&#123;</span></code></li>
<li value="18" class="tab1 even"><code><span style="color: #000000; font-weight: bold;">display</span><span style="color: #66cc66;">:</span> <span style="color: #993333;">block</span><span style="color: #66cc66;">;</span></code></li>
<li value="19" class="tab1 odd"><code><span style="color: #000000; font-weight: bold;">float</span><span style="color: #66cc66;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #66cc66;">;</span></code></li>
<li value="20" class="tab1 even"><code><span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #66cc66;">:</span> <span style="color: #993333;">center</span><span style="color: #66cc66;">;</span></code></li>
<li value="21" class="tab1 odd"><code><span style="color: #000000; font-weight: bold;">text-transform</span><span style="color: #66cc66;">:</span> <span style="color: #993333;">none</span><span style="color: #66cc66;">;</span></code></li>
<li value="22" class="tab1 even"><code><span style="color: #000000; font-weight: bold;">padding</span><span style="color: #66cc66;">:</span> <span style="color: #933;">0</span><span style="color: #66cc66;">;</span></code></li>
<li value="23" class="tab1 odd"><code><span style="color: #000000; font-weight: bold;">margin</span><span style="color: #66cc66;">:</span> <span style="color: #933;">0</span><span style="color: #66cc66;">;</span></code></li>
<li value="24" class="tab0 even"><code><span style="color: #66cc66;">&#125;</span></code></li>
<li value="25" class="odd">&nbsp;</li>
<li value="26" class="tab0 even"><code><span style="color: #cc00cc;">#nav</span> ul li a <span style="color: #66cc66;">&#123;</span></code></li>
<li value="27" class="tab1 odd"><code><span style="color: #000000; font-weight: bold;">background</span><span style="color: #66cc66;">:</span> <span style="color: #cc00cc;">#DCDCDC</span><span style="color: #66cc66;">;</span></code></li>
<li value="28" class="tab1 even"><code><span style="color: #000000; font-weight: bold;">width</span><span style="color: #66cc66;">:</span> <span style="color: #933;">139px</span><span style="color: #66cc66;">;</span></code></li>
<li value="29" class="tab1 odd"><code><span style="color: #000000; font-weight: bold;">height</span><span style="color: #66cc66;">:</span> <span style="color: #933;">2em</span><span style="color: #66cc66;">;</span></code></li>
<li value="30" class="tab1 even"><code>border-left<span style="color: #3333ff;">:<span style="color: #933;">1px</span></span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#9F9A75</span><span style="color: #66cc66;">;</span></code></li>
<li value="31" class="tab1 odd"><code>border-bottom<span style="color: #3333ff;">:<span style="color: #933;">1px</span></span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#9F9A75</span><span style="color: #66cc66;">;</span></code></li>
<li value="32" class="tab1 even"><code>border-right<span style="color: #3333ff;">:none</span><span style="color: #66cc66;">;</span></code></li>
<li value="33" class="tab1 odd"><code><span style="color: #000000; font-weight: bold;">padding</span><span style="color: #66cc66;">:</span> <span style="color: #933;">0</span><span style="color: #66cc66;">;</span></code></li>
<li value="34" class="tab1 even"><code><span style="color: #000000; font-weight: bold;">margin</span><span style="color: #66cc66;">:</span> <span style="color: #933;">0</span> <span style="color: #933;">0</span> <span style="color: #933;">10px</span> <span style="color: #933;">0</span><span style="color: #66cc66;">;</span></code></li>
<li value="35" class="tab1 odd"><code><span style="color: #000000; font-weight: bold;">color</span><span style="color: #66cc66;">:</span> <span style="color: #cc00cc;">#<span style="color: #933;">666666</span></span><span style="color: #66cc66;">;</span></code></li>
<li value="36" class="tab1 even"><code><span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #66cc66;">:</span> <span style="color: #993333;">none</span><span style="color: #66cc66;">;</span></code></li>
<li value="37" class="tab1 odd"><code><span style="color: #000000; font-weight: bold;">display</span><span style="color: #66cc66;">:</span> <span style="color: #993333;">block</span><span style="color: #66cc66;">;</span></code></li>
<li value="38" class="tab1 even"><code><span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #66cc66;">:</span> <span style="color: #993333;">center</span><span style="color: #66cc66;">;</span></code></li>
<li value="39" class="tab1 odd"><code><span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #66cc66;">:</span> <span style="color: #993333;">normal</span><span style="color: #66cc66;">;</span></code></li>
<li value="40" class="tab1 even"><code><span style="color: #000000; font-weight: bold;">letter-spacing</span><span style="color: #66cc66;">:</span> <span style="color: #933;">1px</span><span style="color: #66cc66;">;</span></code></li>
<li value="41" class="tab1 odd"><code><span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #66cc66;">:</span> <span style="color: #933;">2em</span><span style="color: #66cc66;">;</span></code></li>
<li value="42" class="tab1 even"><code><span style="color: #000000; font-weight: bold;">voice-family</span><span style="color: #66cc66;">:</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span>}<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #66cc66;">;</span></code></li>
<li value="43" class="tab1 odd"><code><span style="color: #000000; font-weight: bold;">voice-family</span><span style="color: #66cc66;">:</span> <span style="color: #993333;">inherit</span><span style="color: #66cc66;">;</span></code></li>
<li value="44" class="tab0 even"><code><span style="color: #66cc66;">&#125;</span></code></li>
<li value="45" class="odd">&nbsp;</li>
<li value="46" class="tab0 even"><code><span style="color: #cc00cc;">#nav</span> ul li a<span style="color: #3333ff;">:hover</span> <span style="color: #66cc66;">&#123;</span></code></li>
<li value="47" class="tab1 odd"><code><span style="color: #000000; font-weight: bold;">color</span><span style="color: #66cc66;">:</span> <span style="color: #cc00cc;">#9F9A75</span><span style="color: #66cc66;">;</span></code></li>
<li value="48" class="tab1 even"><code><span style="color: #000000; font-weight: bold;">background</span><span style="color: #66cc66;">:</span> <span style="color: #cc00cc;">#EEEEEE</span><span style="color: #66cc66;">;</span></code></li>
<li value="49" class="tab0 odd"><code><span style="color: #66cc66;">&#125;</span></code></li>
<li value="50" class="even">&nbsp;</li>
<li value="51" class="tab0 odd"><code><span style="color: #cc00cc;">#nav</span> a<span style="color: #3333ff;">:active</span> <span style="color: #66cc66;">&#123;</span></code></li>
<li value="52" class="tab1 even"><code><span style="color: #000000; font-weight: bold;">background</span><span style="color: #66cc66;">:</span> <span style="color: #cc00cc;">#EEEEEE</span><span style="color: #66cc66;">;</span></code></li>
<li value="53" class="tab1 odd"><code><span style="color: #000000; font-weight: bold;">color</span><span style="color: #66cc66;">:</span> <span style="color: #cc00cc;">#<span style="color: #933;">000</span></span><span style="color: #66cc66;">;</span></code></li>
<li value="54" class="tab0 even"><code><span style="color: #66cc66;">&#125;</span></code></li>
<li value="55" class="odd">&nbsp;</li>
<li value="56" class="tab0 even"><code><span style="color: #cc00cc;">#nav</span> ul li<span style="color: #cc00cc;">#one</span> a <span style="color: #66cc66;">&#123;</span></code></li>
<li value="57" class="tab1 odd"><code>border-left<span style="color: #3333ff;">:none</span><span style="color: #66cc66;">;</span></code></li>
<li value="58" class="tab0 even"><code><span style="color: #66cc66;">&#125;</span></code></li>
<li value="59" class="odd">&nbsp;</li>
<li value="60" class="tab0 even"><code><span style="color: #cc00cc;">#nav</span> ul li<span style="color: #cc00cc;">#five</span> a <span style="color: #66cc66;">&#123;</span></code></li>
<li value="61" class="tab1 odd"><code>width<span style="color: #3333ff;">:<span style="color: #933;">140px</span></span><span style="color: #66cc66;">;</span></code></li>
<li value="62" class="tab0 even"><code><span style="color: #66cc66;">&#125;</span></code></li>
</ol>
<p>to looking like this:</p>
<link rel="stylesheet" href="http://www.super-cooper.com/wp-content/plugins/codeviewer.css" type="text/css" media="all" />
<ol class="codelist">
<li value="1" class="tab0 odd"><code><span style="color: #cc00cc;">#nav</span> <span style="color: #66cc66;">&#123;</span>&nbsp; <span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #66cc66;">:</span> <span style="color: #ff0000;">&quot;trebuchet ms&quot;</span>, verdana, <span style="color: #993333;">sans-serif</span><span style="color: #66cc66;">;</span>&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #66cc66;">:</span> <span style="color: #933;">11px</span><span style="color: #66cc66;">;</span>&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #66cc66;">:</span> <span style="color: #933;">0px</span> <span style="color: #933;">0px</span> <span style="color: #933;">0px</span> <span style="color: #933;">0px</span><span style="color: #66cc66;">;</span>&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #66cc66;">:</span> <span style="color: #933;">0</span><span style="color: #66cc66;">;</span>&nbsp;<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #66cc66;">:</span> <span style="color: #993333;">center</span><span style="color: #66cc66;">;</span><span style="color: #66cc66;">&#125;</span><span style="color: #cc00cc;">#nav</span> ul <span style="color: #66cc66;">&#123;</span>&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">border</span><span style="color: #66cc66;">:</span> <span style="color: #933;">0</span><span style="color: #66cc66;">;</span>&nbsp; <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #66cc66;">:</span> <span style="color: #933;">0</span><span style="color: #66cc66;">;</span>&nbsp; <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #66cc66;">:</span> <span style="color: #933;">0</span><span style="color: #66cc66;">;</span>&nbsp;<span style="color: #000000; font-weight: bold;">list-style-type</span><span style="color: #66cc66;">:</span> <span style="color: #993333;">none</span><span style="color: #66cc66;">;</span>&nbsp; <span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #66cc66;">:</span> <span style="color: #993333;">center</span><span style="color: #66cc66;">;</span>&nbsp;<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #66cc66;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #66cc66;">;</span><span style="color: #66cc66;">&#125;</span><span style="color: #cc00cc;">#nav</span> ul li <span style="color: #66cc66;">&#123;</span>&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">display</span><span style="color: #66cc66;">:</span> <span style="color: #993333;">block</span><span style="color: #66cc66;">;</span>&nbsp;<span style="color: #000000; font-weight: bold;">float</span><span style="color: #66cc66;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #66cc66;">;</span>&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #66cc66;">:</span> <span style="color: #993333;">center</span><span style="color: #66cc66;">;</span>&nbsp;<span style="color: #000000; font-weight: bold;">text-transform</span><span style="color: #66cc66;">:</span> <span style="color: #993333;">none</span><span style="color: #66cc66;">;</span>&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #66cc66;">:</span> <span style="color: #933;">0</span><span style="color: #66cc66;">;</span>&nbsp;<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #66cc66;">:</span> <span style="color: #933;">0</span><span style="color: #66cc66;">;</span><span style="color: #66cc66;">&#125;</span><span style="color: #cc00cc;">#nav</span> ul li a <span style="color: #66cc66;">&#123;</span>&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">background</span><span style="color: #66cc66;">:</span> <span style="color: #cc00cc;">#DCDCDC</span><span style="color: #66cc66;">;</span>&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">width</span><span style="color: #66cc66;">:</span> <span style="color: #933;">139px</span><span style="color: #66cc66;">;</span>&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">height</span><span style="color: #66cc66;">:</span> <span style="color: #933;">2em</span><span style="color: #66cc66;">;</span>&nbsp; &nbsp; border-left<span style="color: #3333ff;">:<span style="color: #933;">1px</span></span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#9F9A75</span><span style="color: #66cc66;">;</span>&nbsp; border-bottom<span style="color: #3333ff;">:<span style="color: #933;">1px</span></span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#9F9A75</span><span style="color: #66cc66;">;</span>&nbsp; &nbsp; border-right<span style="color: #3333ff;">:none</span><span style="color: #66cc66;">;</span>&nbsp; <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #66cc66;">:</span> <span style="color: #933;">0</span><span style="color: #66cc66;">;</span>&nbsp;<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #66cc66;">:</span> <span style="color: #933;">0</span> <span style="color: #933;">0</span> <span style="color: #933;">10px</span> <span style="color: #933;">0</span><span style="color: #66cc66;">;</span>&nbsp;<span style="color: #000000; font-weight: bold;">color</span><span style="color: #66cc66;">:</span> <span style="color: #cc00cc;">#<span style="color: #933;">666666</span></span><span style="color: #66cc66;">;</span>&nbsp;<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #66cc66;">:</span> <span style="color: #993333;">none</span><span style="color: #66cc66;">;</span>&nbsp; <span style="color: #000000; font-weight: bold;">display</span><span style="color: #66cc66;">:</span> <span style="color: #993333;">block</span><span style="color: #66cc66;">;</span>&nbsp;<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #66cc66;">:</span> <span style="color: #993333;">center</span><span style="color: #66cc66;">;</span>&nbsp;<span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #66cc66;">:</span> <span style="color: #993333;">normal</span><span style="color: #66cc66;">;</span>&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">letter-spacing</span><span style="color: #66cc66;">:</span> <span style="color: #933;">1px</span><span style="color: #66cc66;">;</span>&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #66cc66;">:</span> <span style="color: #933;">2em</span><span style="color: #66cc66;">;</span>&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">voice-family</span><span style="color: #66cc66;">:</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span>}<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #66cc66;">;</span> &nbsp; &nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">voice-family</span><span style="color: #66cc66;">:</span> <span style="color: #993333;">inherit</span><span style="color: #66cc66;">;</span> &nbsp; <span style="color: #66cc66;">&#125;</span><span style="color: #cc00cc;">#nav</span> ul li a<span style="color: #3333ff;">:hover</span> <span style="color: #66cc66;">&#123;</span>&nbsp; <span style="color: #000000; font-weight: bold;">color</span><span style="color: #66cc66;">:</span> <span style="color: #cc00cc;">#9F9A75</span><span style="color: #66cc66;">;</span>&nbsp;<span style="color: #000000; font-weight: bold;">background</span><span style="color: #66cc66;">:</span> <span style="color: #cc00cc;">#EEEEEE</span><span style="color: #66cc66;">;</span><span style="color: #66cc66;">&#125;</span><span style="color: #cc00cc;">#nav</span> a<span style="color: #3333ff;">:active</span> <span style="color: #66cc66;">&#123;</span>&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">background</span><span style="color: #66cc66;">:</span> <span style="color: #cc00cc;">#EEEEEE</span><span style="color: #66cc66;">;</span>&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">color</span><span style="color: #66cc66;">:</span> <span style="color: #cc00cc;">#<span style="color: #933;">000</span></span><span style="color: #66cc66;">;</span><span style="color: #66cc66;">&#125;</span><span style="color: #cc00cc;">#nav</span> ul li<span style="color: #cc00cc;">#one</span> a <span style="color: #66cc66;">&#123;</span>&nbsp;border-left<span style="color: #3333ff;">:none</span><span style="color: #66cc66;">;</span><span style="color: #66cc66;">&#125;</span><span style="color: #cc00cc;">#nav</span> ul li<span style="color: #cc00cc;">#five</span> a <span style="color: #66cc66;">&#123;</span>&nbsp; &nbsp;width<span style="color: #3333ff;">:<span style="color: #933;">140px</span></span><span style="color: #66cc66;">;</span><span style="color: #66cc66;">&#125;</span></code></li>
</ol>
<p>Yeah, that&#8217;s right, from 62 lines to 1. Does anyone know what the hell causes this? It&#8217;s like it removes the line breaks or something. Is it something I&#8217;m doing? Probably. I need to start using Dreamweaver to edit my CSS files I guess. Thank God for backups. I&#8217;m taking this as a sign to step away from wp-layout.css for a while.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.super-cooper.com/archive/2004/08/05/damn-you-notepad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

