<?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"
	>

<channel>
	<title>Web Developer Blog</title>
	<atom:link href="http://devel.timbaumgard.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://devel.timbaumgard.com/blog</link>
	<description>Sharing what I had to find out the hard way.</description>
	<pubDate>Mon, 11 Feb 2008 03:49:38 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
			<item>
		<title>Leopard and mod_rewrite</title>
		<link>http://devel.timbaumgard.com/blog/2008/02/10/leopard-and-mod_rewrite/</link>
		<comments>http://devel.timbaumgard.com/blog/2008/02/10/leopard-and-mod_rewrite/#comments</comments>
		<pubDate>Mon, 11 Feb 2008 03:08:44 +0000</pubDate>
		<dc:creator>tbaumgard</dc:creator>
		
		<category><![CDATA[Apache]]></category>

		<category><![CDATA[Leopard]]></category>

		<category><![CDATA[Mac]]></category>

		<category><![CDATA[mod_rewrite]]></category>

		<category><![CDATA[Apache mod_rewrite Leopard]]></category>

		<guid isPermaLink="false">http://devel.timbaumgard.com/blog/2008/02/10/leopard-and-mod_rewrite/</guid>
		<description><![CDATA[It seems that there are dozens of websites out there with solutions to getting mod_rewrite to work in Leopard. The solution for me was the second set of instructions on Michael Krol&#8217;s blog. His instructions were intended for Tiger, but worked for me nonetheless.

Basically the user config file (/etc/apache2/users/USERNAME.conf) needs to be edited to look [...]]]></description>
			<content:encoded><![CDATA[<p>It seems that there are dozens of websites out there with solutions to getting mod_rewrite to work in Leopard. The solution for me was the second set of instructions on <a href="http://michaelkrol.com/2005/11/21/enable-mod_rewrite-on-os-x-104-tiger/">Michael Krol&#8217;s blog</a>. His instructions were intended for Tiger, but worked for me nonetheless.</p>
<p>
Basically the user config file (/etc/apache2/users/USERNAME.conf) needs to be edited to look similar to this:
</p>
<pre style="margin-left: 40px;">
&lt;Directory "/Users/USERNAME/Sites/">
    <span style="text-decoration: underline;">Options All</span>
    <span style="text-decoration: underline;">AllowOverride All</span>
    Order allow,deny
    Allow from all
&lt;/Directory>
</pre>
<p>
I underlined the parts that are necessary for this to work. Then just restart apache by using the command he provided, or by turning off web sharing and turning it back on right away.
</p>
<p>
I didn&#8217;t need to edit the /etc/apache2/httpd.conf file, although it appears that some people had to, whether out of necessity or because they did both sets of instructions and everything worked, thinking both were necessary. Running 10.5.x, which was freshly installed. Not sure if everything would work on a Mac that was upgraded from Tiger to Leopard.</p>
]]></content:encoded>
			<wfw:commentRss>http://devel.timbaumgard.com/blog/2008/02/10/leopard-and-mod_rewrite/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Table Printing Issues in Firefox</title>
		<link>http://devel.timbaumgard.com/blog/2007/12/12/table-printing-issues-in-firefox/</link>
		<comments>http://devel.timbaumgard.com/blog/2007/12/12/table-printing-issues-in-firefox/#comments</comments>
		<pubDate>Thu, 13 Dec 2007 04:37:04 +0000</pubDate>
		<dc:creator>tbaumgard</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Firefox]]></category>

		<category><![CDATA[Printing]]></category>

		<category><![CDATA[Workaround]]></category>

		<guid isPermaLink="false">http://devel.timbaumgard.com/blog/2007/12/12/table-printing-issues-in-firefox/</guid>
		<description><![CDATA[Apparently there is an issue when printing tables that span more than one page in Firefox, and any other Gecko-based browser for that matter. I found one solution which linked to an A List Apart article. They attributed the issue to floated elements that run &#8220;past the bottom of a printed page.&#8221; I tried their solution, but [...]]]></description>
			<content:encoded><![CDATA[<p>Apparently there is an issue when printing tables that span more than one page in Firefox, and any other Gecko-based browser for that matter. I found <a href="http://critiquewall.com/2006/11/07/fixing-firefox-printing-problem-tables">one solution</a> which linked to an <a href="http://www.alistapart.com/">A List Apart</a> article. They attributed the issue to floated elements that run &#8220;<a href="http://www.alistapart.com/articles/goingtoprint/">past the bottom of a printed page.</a>&#8221; I tried their solution, but it didn&#8217;t work for the table that was causing the problem. I then found the <a href="http://archivist.incutio.com/viewlist/css-discuss/76423">a second solution</a> which seemed to fix the problem. So in the end, I added the following code to the print stylesheet:
<pre>/** Fix for tables longer than one printed page in Gecko-based browsers **/
table,td  {
    height: 100%;
}</pre>
<p>Seeing as the second solution worked and I had other things to do, I didn&#8217;t try to figure out why the first hadn&#8217;t.</p>
]]></content:encoded>
			<wfw:commentRss>http://devel.timbaumgard.com/blog/2007/12/12/table-printing-issues-in-firefox/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hiding a Class if JavaScript is Disabled</title>
		<link>http://devel.timbaumgard.com/blog/2007/12/08/hiding-a-class-if-javascript-is-disabled/</link>
		<comments>http://devel.timbaumgard.com/blog/2007/12/08/hiding-a-class-if-javascript-is-disabled/#comments</comments>
		<pubDate>Sun, 09 Dec 2007 04:57:28 +0000</pubDate>
		<dc:creator>tbaumgard</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[Usability]]></category>

		<category><![CDATA[Workaround]]></category>

		<guid isPermaLink="false">http://devel.timbaumgard.com/blog/2007/12/08/hiding-a-class-if-javascript-is-disabled/</guid>
		<description><![CDATA[
Basically needed to be able to display a message if JavaScript was disabled, or just not available. Just give the classname &#8220;_JscptHide&#8221; to whatever needs to be hidden if JavaScript is enabled. Here&#8217;s the code:

JscptHide.js:

// Append style to created div (works in IE, Firefox)
var _JscptHide = document.createElement("div");
_JscptHide.innerHTML = "&#60;style type='text/css'>._JscptHide{display:none;}&#60;/style>";
document.body.appendChild(_JscptHide);

// Append style element to the [...]]]></description>
			<content:encoded><![CDATA[<p>
Basically needed to be able to display a message if JavaScript was disabled, or just not available. Just give the classname &#8220;_JscptHide&#8221; to whatever needs to be hidden if JavaScript is enabled. Here&#8217;s the code:
</p>
<p>JscptHide.js:</p>
<pre>
// Append style to created div (works in IE, Firefox)
var _JscptHide = document.createElement("div");
_JscptHide.innerHTML = "&lt;style type='text/css'>._JscptHide{display:none;}&lt;/style>";
document.body.appendChild(_JscptHide);

// Append style element to the head (works in Safari, Firefox)
_JscptHide = document.createElement("style");
var _JscptHide_Style = document.createTextNode("._JscptHide{display:none;}");
_JscptHide.type = "text/css";
_JscptHide.appendChild(_JscptHide_Style);
document.getElementsByTagName("head")[0].appendChild(_JscptHide);
</pre>
<p>
The two blocks of code were needed for cross-browser support.<br />
The following site was inspiration for the first portion, I thought up the second part:</p>
<p><a href="http://www.geekdaily.net/2007/09/19/javascript-adding-a-stylesheet-to-an-iframe/">Geek Daily Blog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://devel.timbaumgard.com/blog/2007/12/08/hiding-a-class-if-javascript-is-disabled/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Yay&#8230;</title>
		<link>http://devel.timbaumgard.com/blog/2007/12/08/yay/</link>
		<comments>http://devel.timbaumgard.com/blog/2007/12/08/yay/#comments</comments>
		<pubDate>Sat, 08 Dec 2007 07:06:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[first]]></category>

		<category><![CDATA[yay?]]></category>

		<guid isPermaLink="false">http://devel.timbaumgard.com/blog/?p=3</guid>
		<description><![CDATA[It&#8217;s up.
]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s up.</p>
]]></content:encoded>
			<wfw:commentRss>http://devel.timbaumgard.com/blog/2007/12/08/yay/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
