<?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>Paul.Bagosy.Com &#187; FireFox</title>
	<atom:link href="http://paul.bagosy.com/category/firefox/feed/" rel="self" type="application/rss+xml" />
	<link>http://paul.bagosy.com</link>
	<description></description>
	<lastBuildDate>Sun, 25 Jul 2010 13:42:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Go-Live: Indian Valley Dental</title>
		<link>http://paul.bagosy.com/2009/11/25/go-live-indian-valley-dental/</link>
		<comments>http://paul.bagosy.com/2009/11/25/go-live-indian-valley-dental/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 16:56:19 +0000</pubDate>
		<dc:creator>Paul Bagosy</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[FireFox]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://paul.bagosy.com/?p=651</guid>
		<description><![CDATA[I&#8217;ve decided to start cataloging the sites that I&#8217;ve done recently, big or small. So, here we go: Indian Valley Dental What the client wanted: This was a redesign of an existing CMS site that had a lot of Flash-based elements, including the navigation. What I delivered: The design kept the header flash from the [...]]]></description>
			<content:encoded><![CDATA[<!-- wp-jquery-lightbox, a WordPress plugin by ulfben --> <p>I&#8217;ve decided to start cataloging the sites that I&#8217;ve done recently, big or small. So, here we go:</p>
<p><strong><a href="http://www.indianvalleydental.com" >Indian Valley Dental</a></strong></p>
<p><strong> </strong></p>
<p style="text-align: center"><strong><strong></p>
<div id="attachment_656" class="wp-caption aligncenter" style="width: 610px"><strong><strong><img class="size-full wp-image-656" title="Indian Valley Dental" src="http://paul.bagosy.com/wp-content/uploads/2009/11/indianvalley1.jpg" alt="Indian Valley Dental" width="600" height="400" /></strong></strong><p class="wp-caption-text">Indian Valley Dental</p></div>
<p></strong></strong></p>
<p style="text-align: left"><strong><strong>What the client wanted:</strong></strong><br />
This was a redesign of an existing CMS site that had a lot of Flash-based elements, including the navigation.</p>
<p style="text-align: left"><strong>What I delivered:</strong><br />
The design kept the header flash from the old site, and I brought over the little Flash page title flourish.</p>
<p>I reworked the existing CMS to provide data is much more search-engine friendly and a lot more streamlined.  The header navigation uses a CSS hover effect with a jQuery dropdown.  The bottom navigation uses a quick server-side element to generate a style that underlines the page that you&#8217;re currently on, and the Contact Us page uses jQuery form validation and an AJAX spam-catcher.</p>
<p>The site is identical in IE 6, 7 and 8, Firefox 3, Chrome 3, Safari 4PB and Opera 10 (aside from a few form elements that resist styling).</p>
<p>Simple from the ground up, but that&#8217;s the way I like them.</p>
<div id="crp_related"> </div>]]></content:encoded>
			<wfw:commentRss>http://paul.bagosy.com/2009/11/25/go-live-indian-valley-dental/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Browser Checking: Blood on the Information Superhighway</title>
		<link>http://paul.bagosy.com/2009/09/28/browser-checking-blood-on-the-information-superhighway/</link>
		<comments>http://paul.bagosy.com/2009/09/28/browser-checking-blood-on-the-information-superhighway/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 13:04:06 +0000</pubDate>
		<dc:creator>Paul Bagosy</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[FireFox]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://paul.bagosy.com/?p=537</guid>
		<description><![CDATA[Yes, I know I don&#8217;t update here as often as I should, but hey, I do this, I just don&#8217;t frequently write about it. So, let&#8217;s say you&#8217;ve coded a beautiful site, and you&#8217;re really proud of it, and you check it in IE6 and it looks like someone wrapped the entire thing in marquee [...]]]></description>
			<content:encoded><![CDATA[<!-- wp-jquery-lightbox, a WordPress plugin by ulfben --> <p>Yes, I know I don&#8217;t update here as often as I should, but hey, I <em>do</em> this, I just don&#8217;t frequently <em>write</em> about it.</p>
<p>So, let&#8217;s say you&#8217;ve coded a beautiful site, and you&#8217;re really proud of it, and you check it in IE6 and it looks like someone wrapped the entire thing in marquee and blink tags and then had their dog recode it for you.  The natural inclination is to scream and toss your monitor out the window, and then hire Tom Clancy to write you into a Rainbow Six novel where you take out Microsoft Headquarters.  While that would be an exciting read, what&#8217;s really going to solve your problem is to simply write a new CSS file to compensate for IE6 not being a real browser and a large (but slowly shrinking) segment of the browsing population not understanding that.</p>
<p>So, here&#8217;s how you handle adding a new CSS file in the most painless way possible:</p>
<p>You&#8217;ll already have your css declaration, which should look like this:</p>
<pre>  &lt;link rel="stylesheet" type="text/css" media="screen" href="/css/style.css" /&gt;</pre>
<p>So, all you do is create your new CSS file, name it something like ie6.css, and throw that in there too.</p>
<pre>  &lt;link rel="stylesheet" type="text/css" media="screen" href="/css/ie6.css" /&gt;</pre>
<p>But you don&#8217;t want Firefox (or Opera, or Safari, or even IE7) to see this web-based atrocity, so we&#8217;ve got to tell them to just move along, nothing to see here, folks:</p>
<pre>  &lt;!--[if IE 6]&gt;&lt;link rel="stylesheet" type="text/css" media="screen" href="/css/style.css" /&gt;&lt;![endif]--&gt;</pre>
<p>That&#8217;s right, that&#8217;s all there is to it!  Now, only IE6 will see it that CSS file.</p>
<p>BUT WAIT THERE&#8217;S MORE!  This little trick is actually a bit more powerful.</p>
<p>You can wrap whole sections of code in this block:</p>
<pre>&lt;!--[if...]&gt;

...

&lt;[endif]--&gt;</pre>
<p>And, it&#8217;s not just for IE6.  You can check for any IE version or even a range of versions with this syntax:</p>
<p><strong>if IE 5.5</strong> Single version specific<br />
<strong>if gt IE 5.5</strong> all versions greater than the specified version<br />
<strong>if gte IE 6</strong> all version greater than or equal to the specified version<br />
<strong>if lt IE 7</strong> all versions lower than<br />
<strong>if lte IE 6</strong> all versions lower than or equal to the specified version</p>
<p>So, if your problem exists in IE6 <em>and</em> IE7, but not IE 8, you&#8217;d just add</p>
<pre>  &lt;!--[if lte IE 7]&gt;&lt;link rel="stylesheet" type="text/css" media="screen" href="/css/style.css" /&gt;&lt;![endif]--&gt;</pre>
<p>to capture anything equal to or lower than IE7.</p>
<p>Now, a quick note on crafting your CSS files.  In my IE .css files, I just take the line that&#8217;s not working in IE, copy it to my IE6 css, and beat it until it complies.  The problem with this method is that you&#8217;ve now got two lines crashing into each other, fighting a bloody struggle for dominance (and submission!).  How, you ask, do you get the desired line to be the one that works?  Give it an inflated sense of importance.</p>
<p>Say you&#8217;ve got this line:</p>
<pre> .page_content { background:#0CF; padding:10px 15px 10px 297px; }</pre>
<p>but IE6 doesn&#8217;t understand pixels (or turquose), so you need to change it to:</p>
<pre> .page_content { background:#FC0; padding:11px 16px 12px 15px; }</pre>
<p>the way to make sure that the line from your IE css is to add <strong>!important</strong> to the end of every statement, before the semicolon:</p>
<pre> .page_content { background:#FC0 !important; padding:11px 16px 12px 15px !important; }</pre>
<p>That will guarantee that those declarations are the ones that are recognized when there&#8217;s the possibility for confusion.</p>
<h3>It&#8217;s not enough!  I need more!  IE checking doesn&#8217;t seem to satisfy.</h3>
<p>Do you need more advanced browser checking?  Are you encountering a 1-pixel variance in Chrome?  Do you want to have your website make fun of backwards Safari users?  Well, simply checking for IE6 isn&#8217;t going to help you.  You need <em>more power (ah! ah! ah!)</em>:</p>
<pre>&lt;?
	if(preg_match("|Opera/([0-9].[0-9]{1,2})|", $useragent, $matched)){
		$browser_version = $matched[1];
		$browser = "Opera";
	}elseif(preg_match("|MSIE ([0-9].[0-9]{1,2})|", $useragent, $matched)){
		$browser_version = $matched[1];
		$browser = "IE";
	}elseif(preg_match("|Firefox/([0-9\.]+)|", $useragent, $matched)){
		$browser_version = $matched[1];
		$browser = "Firefox";
	}elseif(preg_match("|Chrome/([0-9\.]+)|", $useragent, $matched)){
		$browser_version = $matched[1];
		$browser = "Chrome";
	}elseif(preg_match("|Safari/([0-9\.]+)|", $useragent, $matched)){
		$browser_version = $matched[1];
		$browser = "Safari";
	}else{
		$browser_version = 0;
		$browser = "Other";
	}
?&gt;</pre>
<p>The output of this will get you down to the very version number, so if you&#8217;ve got some philosophical disagreement with anyone running Firefox 3.0.12, you can pick that version out specifically (but why?  <em>WHY?!</em>).</p>
<p>It&#8217;s a good idea to leave this whole code chunk intact an in order, because Opera can masquerade as IE if you&#8217;re just checking for IE, and Chrome will pretend it&#8217;s Safari if you&#8217;re just checking for Safari.</p>
<p>-pb</p>
<div id="crp_related"> </div>]]></content:encoded>
			<wfw:commentRss>http://paul.bagosy.com/2009/09/28/browser-checking-blood-on-the-information-superhighway/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript and Firefox</title>
		<link>http://paul.bagosy.com/2008/11/21/javascript-and-firefox/</link>
		<comments>http://paul.bagosy.com/2008/11/21/javascript-and-firefox/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 19:50:17 +0000</pubDate>
		<dc:creator>Paul Bagosy</dc:creator>
				<category><![CDATA[FireFox]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://paul.bagosy.com/?p=237</guid>
		<description><![CDATA[Remember, folks, if you&#8217;re looking to affect an element&#8217;s height or width with JavaScript, you have to add &#8220;px&#8221; to the end if you want it to work in Firefox.]]></description>
			<content:encoded><![CDATA[<!-- wp-jquery-lightbox, a WordPress plugin by ulfben --> <p>Remember, folks, if you&#8217;re looking to affect an element&#8217;s height or width with JavaScript, you have to add &#8220;px&#8221; to the end if you want it to work in Firefox.</p>
<div id="crp_related"> </div>]]></content:encoded>
			<wfw:commentRss>http://paul.bagosy.com/2008/11/21/javascript-and-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox 2.0 Madness with floats</title>
		<link>http://paul.bagosy.com/2008/10/28/firefox-20-madness-with-floats/</link>
		<comments>http://paul.bagosy.com/2008/10/28/firefox-20-madness-with-floats/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 15:51:13 +0000</pubDate>
		<dc:creator>Paul Bagosy</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[FireFox]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web Sites]]></category>

		<guid isPermaLink="false">http://paul.bagosy.com/?p=226</guid>
		<description><![CDATA[After bashing my head against a wall for a while trying to figure out why one page in a site was dropping my floated sidebar div to the bottom of the page, I came across this: http://www.davidbisset.com/2007/12/20/drop-down-list-breaks-float-layout-in-firefox/ Say you have two divs &#8211; both have floats so that they can end up being two columns [...]]]></description>
			<content:encoded><![CDATA[<!-- wp-jquery-lightbox, a WordPress plugin by ulfben --> <p>After bashing my head against a wall for a while trying to figure out why one page in a site was dropping my floated sidebar div to the bottom of the page, I came across this:</p>
<p>http://www.davidbisset.com/2007/12/20/drop-down-list-breaks-float-layout-in-firefox/</p>
<blockquote><p>Say you have two divs &#8211; both have floats so that they can end up being two columns on your site. But sometimes when you add a dropdown menu (&lt;select&gt; tag) to one div) it will break the layout… usually meaning that the other div will be pushed down. And this usually happens only in Firefox. IE sees it just fine.</p></blockquote>
<p>The solution to this?  Instead of the nice linear coding that you&#8217;re used to where the sidebar, to the right of the main area, comes <em>after </em>the main area code, it needs to be <em>before </em>the main area code.</p>
<p>Because apparently, in FireFox 2 seems to have a problem with floated divs, option tags, and SIMPLE COMMON SENSE.</p>
<div id="crp_related"> </div>]]></content:encoded>
			<wfw:commentRss>http://paul.bagosy.com/2008/10/28/firefox-20-madness-with-floats/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
