<?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>Blog and Web Design Portfolio of Adrian Pelletier &#187; CSS</title>
	<atom:link href="http://www.adrianpelletier.com/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.adrianpelletier.com</link>
	<description></description>
	<lastBuildDate>Thu, 15 Dec 2011 23:30:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How I Chose to Say Farewell to IE6</title>
		<link>http://www.adrianpelletier.com/2009/02/16/how-i-chose-to-say-farewell-to-ie6/</link>
		<comments>http://www.adrianpelletier.com/2009/02/16/how-i-chose-to-say-farewell-to-ie6/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 16:09:48 +0000</pubDate>
		<dc:creator>Adrian</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://adrianpelletier.com/?p=741</guid>
		<description><![CDATA[The web community has been abuzz lately with talk about dropping support for IE6 and rightfully so! I couldn&#8217;t agree more for most sites, though I&#8217;m sure there will be ...]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-767" title="attention_ie6" src="http://adrianpelletier.com/wp-content/uploads/2009/02/attention_ie6.jpg" alt="attention_ie6" width="438" height="150" /></p>
<p><span class="drop_cap">T</span>he web community has been abuzz lately with talk about dropping support for IE6 and rightfully so! I couldn&#8217;t agree more for <em>most</em> sites, though I&#8217;m sure there will be the occasional client who either requests IE6 to be included in testing or it turns out their audience actually does use IE6 according to the site&#8217;s stats. Nonetheless, the majority of mordern websites could certainly do without supporting IE6. I would guess somewhere between 30% of my development time is spent fixing the crippled browser, if not more, and I&#8217;m looking forward to an enormous decrease in frustrations! It was always a frightful thing to fire up Windows and find out what horrors IE had done to a perfectly good site. I don&#8217;t blame the browser either; the problem was for too long (way too long) IE6 still had a large user group. Thankfully, those numbers are continually decreasing and I&#8217;ve decided this is the year I&#8217;ll be dropping support for IE6. If a future client requests the browser to be supported, that&#8217;s fine, but it will come at additional costs for the extra development and testing time.</p>
<p>As for how I&#8217;m going to ignore the outdated browser, I wanted to notify IE6 users of the issue rather than assume they already knew they were using an outdated browser. My solution was to create a warning message that gets inserted after the opening <code>&lt;body&gt;</code> tag via Javascript. Conditional comments ensure this message (as well as the HTML code within the body) will only appear for IE6 or previous versions. The message is styled in a very Microsoft-esque way so even the hardest-core IE6 user will be able to recognize it. <img src='http://www.adrianpelletier.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Where does the link point to? <a title="Get a better browser!" href="http://www.mozilla.com/firefox/" target="_blank">Firefox</a>, of course.</p>
<p>This site is currently using what I&#8217;ve dubbed the &#8220;Attention IE6&#8243; script so go ahead and open IE6, then visit <a href="http://www.adrianpelletier.com">www.adrianpelletier.com</a>. I&#8217;ve configured the script to work in conjunction with <a title="Visit jQuery" href="http://jquery.com/" target="_blank">jQuery</a> because that is the framework I was already using but I&#8217;m sure you could easily adapt it to fit your own needs. I&#8217;m posting a download link for anyone who cares to use this approach on their own website. The setup is very simple, just include the following conditional comment in the <code>&lt;head&gt;</code> of your document.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">&lt;!--<span style="color: #00AA00;">&#91;</span>if lte IE <span style="color: #cc66cc;">6</span><span style="color: #00AA00;">&#93;</span><span style="color: #00AA00;">&gt;</span>
    &lt;link rel<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;stylesheet&quot;</span> type<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</span> href<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;css/ie6.css&quot;</span> media<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;screen&quot;</span> /<span style="color: #00AA00;">&gt;</span>
    &lt;script type<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> src<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;js/jquery.min.js&quot;</span><span style="color: #00AA00;">&gt;</span>&lt;/script<span style="color: #00AA00;">&gt;</span>
    &lt;script type<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> src<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;js/attention_ie6.js&quot;</span><span style="color: #00AA00;">&gt;</span>&lt;/script<span style="color: #00AA00;">&gt;</span>
&lt;!<span style="color: #00AA00;">&#91;</span>endif<span style="color: #00AA00;">&#93;</span>--<span style="color: #00AA00;">&gt;</span></pre></td></tr></table></div>

<p>Next, download the following files and place in the appropriate Javascript, CSS, and images directories:</p>
<p><a class="grey_button" title="Download the required JS and CSS files" href="http://adrianpelletier.com/sandbox/attention_ie6/attention_ie6.zip">Download</a></p>
<p>And so, farewell to IE6. I cannot say that I will miss you.</p>
<p><strong>Update 05/31/2009:</strong> I want to emphasize that this experiment is not a fix-it-all solution by any means. As stated above, a large majority of modern websites would have no problems dropping support IE6. For example, this site currently receives around 3% of users on IE6 and that number continues to drop. That&#8217;s not a large enough audience to worry about, in my opinion. There are, however, still specific scenario&#8217;s where IE6 maintains a much higher user percentage (i.e. corporate businesses that place restrictions on browser updates). In those cases, I do believe IE6 should be included in development testing.</p>
<p>I also do not advocate blocking or punishing IE6 users. My intentions with the above approach were to 1) inform the user that they are using outdated technology and 2) warn that the site may look as it should. However, I have not restricted the user&#8217;s access to the site&#8217;s content and would never recommend doing so.</p>
<p>I don&#8217;t consider this article to be the final answer, not by a long shot. However, I would hope that ideas such as these will at least strike up conversations and thoughts about advancing web development and what the next step should be. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.adrianpelletier.com/2009/02/16/how-i-chose-to-say-farewell-to-ie6/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>CSS Type Set Featured on Smashing Magazine</title>
		<link>http://www.adrianpelletier.com/2008/12/11/css-type-set-featured-on-smashing-magazine/</link>
		<comments>http://www.adrianpelletier.com/2008/12/11/css-type-set-featured-on-smashing-magazine/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 16:12:19 +0000</pubDate>
		<dc:creator>Adrian</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://shiftingcreations.com/blog/?p=188</guid>
		<description><![CDATA[Cool!]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.smashingmagazine.com/2008/12/09/50-really-useful-css-tools/">Cool!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.adrianpelletier.com/2008/12/11/css-type-set-featured-on-smashing-magazine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Type Set Goes Live</title>
		<link>http://www.adrianpelletier.com/2008/02/15/css-type-set-goes-live/</link>
		<comments>http://www.adrianpelletier.com/2008/02/15/css-type-set-goes-live/#comments</comments>
		<pubDate>Sat, 16 Feb 2008 02:30:51 +0000</pubDate>
		<dc:creator>Adrian</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://s37188.gridserver.com/blog/?p=158</guid>
		<description><![CDATA[CSS Type Set is one of the projects I&#8217;ve been working on with friends, Travis and Tristan. The site serves as a hands-on tool for beginning designers and developers to ...]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-thumbnail wp-image-456" title="csstypeset_header" src="http://adrianpelletier.com/wp-content/uploads/2008/02/csstypeset_header-438x84.jpg" alt="csstypeset_header" width="438" height="84" /></p>
<p><a href="http://csstypeset.com"><span class="drop_cap">C</span>SS Type Set</a> is one of the projects I&#8217;ve been working on with friends, <a href="http://www.fillet-of-soule.com">Travis</a> and <a href="http://www.abbreviationenthusiast.com/">Tristan</a>. The site serves as a hands-on tool for beginning designers and developers to interactively experiment with CSS in a WYSIWYG fashion. While similar concepts have been done before, our main focus was delivering a unique, easy-to-understand interface with instant CSS preview and output. When using the style controls, users are able to visually see how their entered text is affected and what code is used to achieve this specific look.</p>
<p>CSS Type Set went live on Wednesday and while we hope many will find the current version useful, there is already a list of additional features we&#8217;ll be implementing in the near future. Questions, comments, and suggestions are, of course, welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.adrianpelletier.com/2008/02/15/css-type-set-goes-live/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>SitePoint CSS Reference</title>
		<link>http://www.adrianpelletier.com/2008/01/28/sitepoint-css-reference/</link>
		<comments>http://www.adrianpelletier.com/2008/01/28/sitepoint-css-reference/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 15:10:44 +0000</pubDate>
		<dc:creator>Adrian</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://s37188.gridserver.com/blog/?p=154</guid>
		<description><![CDATA[I often recommend w3schools to anyone interested in learning more about web languages, specifically HTML/CSS. SitePoint now offers a similar resource which is up-to-date and very easy to understand. Both ...]]></description>
			<content:encoded><![CDATA[<p><span class="drop_cap">I</span> often recommend <a href="http://w3schools.com">w3schools</a> to anyone interested in learning more about web languages, specifically HTML/CSS. <a href="http://www.sitepoint.com/">SitePoint</a> now offers a <a href="http://reference.sitepoint.com/css">similar resource</a> which is up-to-date and very easy to understand. Both sites are worth the bookmark.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.adrianpelletier.com/2008/01/28/sitepoint-css-reference/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Decoy Fix for IE Duplicate Characters Bug</title>
		<link>http://www.adrianpelletier.com/2007/11/25/decoy-fix-for-ie-duplicate-characters-bug/</link>
		<comments>http://www.adrianpelletier.com/2007/11/25/decoy-fix-for-ie-duplicate-characters-bug/#comments</comments>
		<pubDate>Sun, 25 Nov 2007 06:05:21 +0000</pubDate>
		<dc:creator>Adrian</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://s37188.gridserver.com/blog/?p=149</guid>
		<description><![CDATA[Among the countless IE annoyances, the duplicate character bug is one I&#8217;ve ran into more than once. Position Is Everything has a thorough write-up on the puzzling behavior, which seems ...]]></description>
			<content:encoded><![CDATA[<p><span class="drop_cap">A</span>mong the countless IE annoyances, the duplicate character bug is one I&#8217;ve ran into more than once. <a href="http://www.positioniseverything.net/">Position Is Everything</a> has a <a href="http://www.positioniseverything.net/explorer/dup-characters.html">thorough write-up</a> on the puzzling behavior, which seems to be triggered by HTML comments between floats and sometimes hidden elements. There are a couple different workarounds such as a -3px margin on the last float or using conditional comments in place of regular HTML comments. A colleague and I have found another way to fix this issue which has worked on every case so far and is a slightly easier/cleaner option.</p>
<p>If you place an empty element (it can be a p, span, div, anything) directly after the element which is duplicating characters and set the display to none in the CSS, the problem will disappear. What happens is because the last element within the floats is being hidden, there are no characters for IE to duplicate. For future maintenance, I&#8217;ve added a comment within the HTML (as shown in example) so that I&#8217;ll know why that extra element is there. I would never recommend placing unused elements within your HTML as it isn&#8217;t semantically correct but if you&#8217;re looking for a quick fix, this will do the trick.</p>
<p>HTML:<br />
<code> </code></p>
<pre>   ...
   &lt;div id="footer"&gt;
      &lt;p&gt;This element was duplicating characters.&lt;/p&gt;
      &lt;span class="ie_fix"&gt;&lt;!-- do not delete this,
      it fixes the IE duplicate characters --&gt;&lt;/span&gt;
   &lt;/div&gt;&lt;!-- end footer --&gt;
&lt;/div&gt;&lt;!-- end wrapper --&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<p>CSS:<br />
<code> </code></p>
<pre>.ie_fix {
   display: none;
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.adrianpelletier.com/2007/11/25/decoy-fix-for-ie-duplicate-characters-bug/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
	</channel>
</rss>

