<?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>plebeosaur.us &#187; Firefox</title>
	<atom:link href="http://plebeosaur.us/tag/firefox/feed/" rel="self" type="application/rss+xml" />
	<link>http://plebeosaur.us</link>
	<description>Steve Stedman rambles on</description>
	<lastBuildDate>Tue, 22 Nov 2011 05:18:24 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>IE Is for Squares</title>
		<link>http://plebeosaur.us/ie-is-for-squares/</link>
		<comments>http://plebeosaur.us/ie-is-for-squares/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 20:48:49 +0000</pubDate>
		<dc:creator>Steve Stedman</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://plebeosaur.us/?p=17</guid>
		<description><![CDATA[After taking a peek beneath the covers of the beautiful WordPress 2.7 admin interface and reading John Allsopp&#8217;s Shiny Happy Buttons article on 24ways.org, it&#8217;s become abundantly clear that the next great web design era isn&#8217;t going to wait around for Internet Explorer. The future is going to be a bit more rounded and IE [...]]]></description>
			<content:encoded><![CDATA[<p>After taking a peek beneath the covers of the beautiful <a href="http://wordpress.org/development/2008/12/coltrane/">WordPress 2.7 admin interface</a> and reading John Allsopp&#8217;s <a href="http://24ways.org/2008/shiny-happy-buttons">Shiny Happy Buttons</a> article on 24ways.org, it&#8217;s become abundantly clear that the next great web design era isn&#8217;t going to wait around for Internet Explorer. The future is going to be a bit more rounded and IE will be, well, <strong>square</strong>.</p>
<p><span id="more-17"></span></p>
<p>For far too long, web designers have had to deal with a lack of real-world design tools in CSS. In their place, we&#8217;ve used kludgy HTML, images, and even JavaScript to accomplish basic visual treatments such as transparency, shadows, gradients, and, yes, rounded corners. Every solution using this old toolset calls for an uneasy compromise of appearance vs. semantic markup vs. development time vs. file count/size.</p>
<p>Why can&#8217;t we just ask the browser to provide a 5px radius in CSS in whatever color/width/shape we want and get on with our day? We can.</p>
<h3>Welcome Border Radius</h3>
<p>Firefox has supported a border radius property for some time now (<code>-moz-border-radius</code>) and Safari recently came out with their own experimental syntax (<code>-webkit-border-radius</code>). Furthermore, the CSS Working Group recently announced some pretty robust <a href="http://www.css3.info/css-wg-publishes-new-working-draft-of-level-3-backgrounds-and-borders/">support for the border-radius property</a> which means the usually standards-leading Opera should be getting around to roundness soon as well.</p>
<p>Using border-radius today provides <a href="http://lensco.be/2008/09/06/border-radius-a-tale-of-two-browsers/">nice, rounded corners</a> and shaves a ton of development time (no more round-trips to the image editor or nesting HTML for flexible dimension boxes).</p>
<p>The problem, of course, is that 70% gorilla in the corner. So, what about IE? The yet-to-be-released IE8 is finally getting things right with CSS2.1 (a good thing) and moving their proprietary properties into <a href="http://blogs.msdn.com/ie/archive/2008/09/08/microsoft-css-vendor-extensions.aspx">-ms- vendor specific extensions</a> (also a worthy effort). Yet it doesn&#8217;t look as though the IE team will be tackling border-radius until IE9 (2 years?).</p>
<h3>Progressive Visual Enhancement</h3>
<p>So at this point we have two options when it comes to going all CSS on rounded corners: we can whine and cry about how IE sucks (been done already) and wait for IE to get around to border-radius or we can take <a href="http://en.wikipedia.org/wiki/Progressive_enhancement">progressive</a> <a href="http://www.alistapart.com/articles/progressiveenhancementwithcss">enhancement</a> to the next level.</p>
<p>Let&#8217;s take the latter route. Starting today, let&#8217;s throw out all the crappy, nested HTML; the countless, un-scalable images; and the overly-complicated JavaScript work-arounds. Let&#8217;s start fresh&#8230;</p>
<ol>
<li>Lay a foundation of basic borders&mdash;square, un-adorned, solid borders. Every browser shall see squared edges by default. No problemo.</li>
<li>Then throw in some rounded corners for Firefox and Safari and anyone else that&#8217;d like to join the party. Kewl.</li>
<li>Lastly, add a dash of gradient to Safari as prescribed in <a href="http://24ways.org/2008/shiny-happy-buttons">Shiny Happy Buttons</a>. Brilliant!</li>
</ol>
<p>Sweet. No one gets hurt, the cool kids get the nicest looking stuff, and those <strong>squares</strong> that want to join the cool kids just have to download a free browser. What could be better?</p>
]]></content:encoded>
			<wfw:commentRss>http://plebeosaur.us/ie-is-for-squares/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fix for Disabled Web Developer CSS Shortcut in Firefox 3</title>
		<link>http://plebeosaur.us/fix-for-disabled-web-developer-css-shortcut-in-firefox-3/</link>
		<comments>http://plebeosaur.us/fix-for-disabled-web-developer-css-shortcut-in-firefox-3/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 21:55:06 +0000</pubDate>
		<dc:creator>Steve Stedman</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[extensions]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[shortcuts]]></category>

		<guid isPermaLink="false">http://plebeosaur.dev/?p=10</guid>
		<description><![CDATA[It&#8217;s been a couple weeks since I traded in Firefox 2 for Firefox 3 and I&#8217;ve rarely glanced back. Most of my critical extensions have been ported and work fabulously. And what few annoyances that did arise were quickly cleared up with a few hacks to trick FF3 into accepting older extensions. Muzzling the AwesomeBar [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a couple weeks since I traded in Firefox 2 for Firefox 3 and I&#8217;ve rarely glanced back. Most of my critical extensions have been ported and work fabulously. And what few annoyances that did arise were quickly cleared up with a <a href="http://lifehacker.com/355973/make-your-extensions-work-with-the-firefox-3-beta">few hacks to trick FF3 into accepting older extensions.</a> Muzzling the AwesomeBar with <a href="https://addons.mozilla.org/en-US/firefox/addon/6227">oldbar</a> also made things more tolerable.</p>
<p>One irritation defied all my attempts to resolve: disabling CSS via the Web Developer Extension&#8217;s long-standing keyboard shortcut CMD-SHIFT-S. Apparently the Mozilla team decided to Shanghai that shortcut for their History Sidebar. Why?</p>
<p>No matter. Today I found my solution in <a href="http://randomfoo.net/blog/id/4128">Keyconfig for Firefox 3</a>. Now I can create, edit, or disable existing any FF3 shortcut I wish. Buhbye, History Sidebar!</p>
]]></content:encoded>
			<wfw:commentRss>http://plebeosaur.us/fix-for-disabled-web-developer-css-shortcut-in-firefox-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pointing to MAMP from Virtual Windows</title>
		<link>http://plebeosaur.us/pointing-to-mamp-from-virtual-windows/</link>
		<comments>http://plebeosaur.us/pointing-to-mamp-from-virtual-windows/#comments</comments>
		<pubDate>Wed, 09 Jul 2008 15:45:16 +0000</pubDate>
		<dc:creator>Steve Stedman</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[MAMP]]></category>

		<guid isPermaLink="false">http://plebeosaur.dev/?p=5</guid>
		<description><![CDATA[  
Web development on a Mac is pure joy. There are so many tools that just that make building websites simple and even fun. From the dead-simple MAMP web server setup to the deceptively powerful TextMate editor to the game-changing Firefox browser-cum-editor/tester (with the essential Web Developer, FireBug, and ySlow extensions), it&#8217;s all good [...]]]></description>
			<content:encoded><![CDATA[<div class="apps"><a href="http://mamp.info"><img title="MAMP personal web server" src="/0/icn/MAMP.png" alt="MAMP personal web server" /></a> <a href="http://macromates.com"><img title="TextMate editor" src="/0/icn/TextMate.png" alt="TextMate editor" /></a> <a href="http://getfirefox.com"><img title="Firefox browser" src="/0/icn/Firefox.png" alt="Firefox browser" /></a></div>
<p>Web development on a Mac is pure joy. There are so many tools that just that make building websites simple and even fun. From the dead-simple <a href="http://mamp.info">MAMP</a> web server setup to the deceptively powerful <a href="http://macromates.com/">TextMate</a> editor to the game-changing <a href="http://getfirefox.com">Firefox</a> browser-cum-editor/tester (with the essential <a href="https://addons.mozilla.org/en-US/firefox/addon/60">Web Developer</a>, <a href="https://addons.mozilla.org/en-US/firefox/">FireBug</a>, and <a href="http://developer.yahoo.com/yslow/">ySlow</a> extensions), it&#8217;s all good in Mac land.</p>
<p><span id="more-5"></span></p>
<p>And since Mac went Intel, we can develop like crazed bunnies and test our work in each nasty little flavor of Internet Explorer running in separate virtual Windows environments. Granted, it took a bit of Googling on my part to find out how to point Windows browsers to MAMP. But the two primary solutions are fairly straight forward and work <strong>in most cases</strong>:</p>
<ol>
<li>use the Mac&#8217;s <abbr title="Internet Protocol">IP</abbr> address (e.g., <kbd>192.168.2.2:8888</kbd>)</li>
<li>create and use a hostname
<ol>
<li>open the <code>C:\WINDOWS\system32\drivers\etc\hosts</code> file (in Notepad)</li>
<li>add a line to the bottom with the Mac&#8217;s IP address and desired hostname (e.g., <code>192.168.2.2 mamp</code>) and save</li>
<li>use that hostname (e.g., <kbd>http://mamp:8888</kbd>)</li>
</ol>
</li>
</ol>
<p><strong>In most cases?</strong> Yep. Everything runs fine so long as your apps don&#8217;t reference MAMP&#8217;s default webserver name, <code>localhost:8888</code>. Of course, the popular apps such as <a href="http://expressionengine.com">ExpressionEngine</a> and <a class="app web" href="http://wordpress.org">WordPress</a> do need a base URI—and <code>localhost:8888</code> is it.</p>
<p>Bugger. Windows has it&#8217;s own <code>localhost</code> quite separate from Mac&#8217;s and neither the two shall meet. Accessing MAMP&#8217;s <code>localhost</code> just isn&#8217;t going to happen with Windows&#8217; <code>localhost</code> listening in and intercepting. The only solution is to set up a hostname other than <code>localhost</code> on the Mac side and enter that same name in the Windows <code>host</code> config file.</p>
<p>The gritty, command-line way of changing MAMP&#8217;s hostname from <code>localhost</code> is to make some changes to its <code>httpd.conf</code> file and to muck with <code>dscl</code> (Apple&#8217;s NetInfo replacement). Feel free to Google the specifics, but I personally don&#8217;t want to have to fire up Terminal every time I want to change to another site. Thank goodness for VirtualHostX.</p>
<div class="apps"><a href="http://clickontyler.com/virtualhostx/"><img title="VirtualHostX" src="/0/icn/VirtualHostX.png" alt="VirtualHostX" /></a></div>
<p>My new pal, <a href="http://clickontyler.com/virtualhostx/">VirtualHostX</a>, allows me to create different virtual host names for all my projects. So rather than using the <code>localhost</code> URI, I can create meaningful URI&#8217;s such as <code>newproject.dev</code> and <code>anotherproject.dev</code> with impunity (which makes it superior to the <a href="http://headdress.twinsparc.com">Headdress</a> method of merely assigning new port numbers to <code>localhost</code>). VirtualHostX makes all the changes behind the scenes and even backs up the default settings before making those changes. Sweet!</p>
<p>We&#8217;ve almost achieved web developer inner-peace&#8230; but we need to make one more stop. Let&#8217;s remove that crufty port 8888 bizness (e.g., <code>localhost:8888</code>, <code>myproject.dev:8888</code>). By default, MAMP uses port 8888 to avoid conflicts with OS X&#8217;s built-in web server (which listens to the http default port 80). Since I have no immediate intentions of using OS X&#8217;s built-in server, I immediately changed MAMP&#8217;s default port setting to good ole port 80. From here on out, just enter <code>myproject.dev</code> in any Mac browser and go. Yay. Nirvana.</p>
<p>Now, back to the Windows side. After adding <code>myproject.dev</code> to the Windows <code>host</code> file (e.g., <code>192.168.2.2 myproject.dev</code>), fire up your Windows browser of choice, point it to <code>myproject.dev</code>, and Shazam! Everything works.</p>
]]></content:encoded>
			<wfw:commentRss>http://plebeosaur.us/pointing-to-mamp-from-virtual-windows/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
