<?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>David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞. &#187; Microsoft</title> <atom:link href="http://davidwalsh.name/tutorials/microsoft/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Thu, 02 Sep 2010 03:13:15 +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>Rounded Corners in Internet&#160;Explorer</title><link>http://davidwalsh.name/rounded-corners-ie</link> <comments>http://davidwalsh.name/rounded-corners-ie#comments</comments> <pubDate>Wed, 28 Oct 2009 12:38:00 +0000</pubDate> <dc:creator>David Walsh</dc:creator> <category><![CDATA[Browsers]]></category> <category><![CDATA[CSS]]></category> <category><![CDATA[Microsoft]]></category><guid
isPermaLink="false">http://davidwalsh.name/?p=4074</guid> <description><![CDATA[One of the reasons that I love Firefox and Webkit-based browsers (Chrome, Safari) is the ability to effortlessly create rounded-corner elements using pure CSS: .round { -moz-border-radius:12px; -webkit-border-radius:12px; } As you probably already know, IE doesn&#8217;t allow you to create rounded corners without using images or endless hacking. Enter the CurvyCorners JavaScript project. CurvyCorners allows [...]<p><strong>Follow Me!</strong> <a
href="http://twitter.com/davidwalshblog">Twitter</a> | <a
href="http://www.facebook.com/#!/pages/David-Walsh-Blog/186644584869">Facebook</a> | <a
href="http://www.linkedin.com/in/davidjameswalsh">LinkedIn</a> | <a
href="http://mootools.net/forge/profile/davidwalsh">MooTools Forge.</a><br/><br/>Full David Walsh Blog Post: <a
href="http://davidwalsh.name/rounded-corners-ie">Rounded Corners in Internet&nbsp;Explorer</a></p>Related posts:<ol><li><a
href='http://davidwalsh.name/rounded-corners-webkit' rel='bookmark' title='Permanent Link: Rounded Corners in&nbsp;Webkit'>Rounded Corners in&nbsp;Webkit</a></li><li><a
href='http://davidwalsh.name/rounded-corners-firefox' rel='bookmark' title='Permanent Link: Rounded Corners in Mozilla&nbsp;Firefox'>Rounded Corners in Mozilla&nbsp;Firefox</a></li><li><a
href='http://davidwalsh.name/internet-explorer-cannot-open-internet-site' rel='bookmark' title='Permanent Link: IE Says &#8220;Internet Explorer cannot open the Internet Site ________. Operation Aborted.&#8221;  I Say&nbsp;&#8220;WTF?&#8221;'>IE Says &#8220;Internet Explorer cannot open the Internet Site ________. Operation Aborted.&#8221;  I Say&nbsp;&#8220;WTF?&#8221;</a></li><li><a
href='http://davidwalsh.name/image-load-event' rel='bookmark' title='Permanent Link: Image onLoad Event + JavaScript Issue with Internet&nbsp;Explorer'>Image onLoad Event + JavaScript Issue with Internet&nbsp;Explorer</a></li><li><a
href='http://davidwalsh.name/chrome-frame' rel='bookmark' title='Permanent Link: Turn Internet Explorer into Chrome with Chrome&nbsp;Frame'>Turn Internet Explorer into Chrome with Chrome&nbsp;Frame</a></li></ol>]]></description> <content:encoded><![CDATA[<a
href="http://davidwalsh.name/dw-content/curvy-corners.php"><img
src="http://davidwalsh.name/dw-content/roundedcorners.png" alt="Rounded Corners" /></a><br
/><p>One of the reasons that I love Firefox and Webkit-based browsers (Chrome, Safari) is the ability to effortlessly create rounded-corner elements using pure CSS:</p><pre class="css">
.round	{ -moz-border-radius:12px; -webkit-border-radius:12px; }
</pre><p>As you probably already know, IE doesn&#8217;t allow you to create rounded corners without using images or endless hacking.  Enter the <a
href="http://code.google.com/p/curvycorners">CurvyCorners JavaScript project</a>.  CurvyCorners allows you to quickly create rounded corners within Internet Explorer.</p><div
class="actions"><a
href="http://davidwalsh.name/dw-content/curvy-corners.php" class="demo">View Demo</a><div
class="clear"></div></div><h2>The CurvyCorners&nbsp;JavaScript</h2><pre class="html">
&lt;!-- SIMPLY INCLUDE THE JS FILE! --&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;curvy.corners.trunk.js&quot;&gt;&lt;/script&gt;
</pre><p>CurvyCorners detects the usage of &#8220;-webkit-border-radius&#8221; and &#8220;moz-border-radius&#8221; on DOM elements and works its magic to duplicate the effect in IE using a series of small DIVs.  There are no images involved.  You may also identify specific elements to apply rounded corners to:</p><pre class="js">
var settings = {
			tl: { radius: 12 },
			tr: { radius: 12 },
			bl: { radius: 12 },
			br: { radius: 12 },
			antiAlias: true
		 };
/* moooo */
$$('.round').each(function(rd) {
	curvyCorners(settings,rd);
});
</pre><h2>MooTools  + Curvy&nbsp;Corners</h2><p>CurvyCorners is known to brick your MooTools code.  The <a
href="http://code.google.com/p/curvycorners/source/browse/#svn/trunk/examples">trunk code</a> fixes those issues.</p><div
class="actions"><a
href="http://davidwalsh.name/dw-content/curvy-corners.php" class="demo">View Demo</a><div
class="clear"></div></div><p>Don&#8217;t let Internet Explorer&#8217;s refusal to implement rounded corners via CSS keep your websites from being as dynamic as possible!  CurvyCorners helps make rounded corners in IE possible!</p><p><strong>Follow Me!</strong> <a
href="http://twitter.com/davidwalshblog">Twitter</a> | <a
href="http://www.facebook.com/#!/pages/David-Walsh-Blog/186644584869">Facebook</a> | <a
href="http://www.linkedin.com/in/davidjameswalsh">LinkedIn</a> | <a
href="http://mootools.net/forge/profile/davidwalsh">MooTools Forge.</a><br/><br/>Full David Walsh Blog Post: <a
href="http://davidwalsh.name/rounded-corners-ie">Rounded Corners in Internet&nbsp;Explorer</a></p><p>Related posts:<ol><li><a
href='http://davidwalsh.name/rounded-corners-webkit' rel='bookmark' title='Permanent Link: Rounded Corners in&nbsp;Webkit'>Rounded Corners in&nbsp;Webkit</a></li><li><a
href='http://davidwalsh.name/rounded-corners-firefox' rel='bookmark' title='Permanent Link: Rounded Corners in Mozilla&nbsp;Firefox'>Rounded Corners in Mozilla&nbsp;Firefox</a></li><li><a
href='http://davidwalsh.name/internet-explorer-cannot-open-internet-site' rel='bookmark' title='Permanent Link: IE Says &#8220;Internet Explorer cannot open the Internet Site ________. Operation Aborted.&#8221;  I Say&nbsp;&#8220;WTF?&#8221;'>IE Says &#8220;Internet Explorer cannot open the Internet Site ________. Operation Aborted.&#8221;  I Say&nbsp;&#8220;WTF?&#8221;</a></li><li><a
href='http://davidwalsh.name/image-load-event' rel='bookmark' title='Permanent Link: Image onLoad Event + JavaScript Issue with Internet&nbsp;Explorer'>Image onLoad Event + JavaScript Issue with Internet&nbsp;Explorer</a></li><li><a
href='http://davidwalsh.name/chrome-frame' rel='bookmark' title='Permanent Link: Turn Internet Explorer into Chrome with Chrome&nbsp;Frame'>Turn Internet Explorer into Chrome with Chrome&nbsp;Frame</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://davidwalsh.name/rounded-corners-ie/feed</wfw:commentRss> <slash:comments>49</slash:comments> </item> <item><title>Turn Internet Explorer into Chrome with Chrome&#160;Frame</title><link>http://davidwalsh.name/chrome-frame</link> <comments>http://davidwalsh.name/chrome-frame#comments</comments> <pubDate>Wed, 23 Sep 2009 02:00:59 +0000</pubDate> <dc:creator>David Walsh</dc:creator> <category><![CDATA[Browsers]]></category> <category><![CDATA[Google]]></category> <category><![CDATA[Microsoft]]></category><guid
isPermaLink="false">http://davidwalsh.name/?p=3787</guid> <description><![CDATA[I&#8217;m just going to cut to the chase: Internet Explorer is rubbish. I don&#8217;t care what version you throw at me &#8212; 6, 7, 8&#8230;rubbish. Apparently Google agrees with me because they&#8217;ve released Google Chrome Frame, a browser plugin and META tag system that allows you to turn IE installs into a virtual &#8220;Chrome&#8221; install [...]<p><strong>Follow Me!</strong> <a
href="http://twitter.com/davidwalshblog">Twitter</a> | <a
href="http://www.facebook.com/#!/pages/David-Walsh-Blog/186644584869">Facebook</a> | <a
href="http://www.linkedin.com/in/davidjameswalsh">LinkedIn</a> | <a
href="http://mootools.net/forge/profile/davidwalsh">MooTools Forge.</a><br/><br/>Full David Walsh Blog Post: <a
href="http://davidwalsh.name/chrome-frame">Turn Internet Explorer into Chrome with Chrome&nbsp;Frame</a></p>Related posts:<ol><li><a
href='http://davidwalsh.name/impressions-google-chrome' rel='bookmark' title='Permanent Link: First Impressions of Google&nbsp;Chrome'>First Impressions of Google&nbsp;Chrome</a></li><li><a
href='http://davidwalsh.name/internet-explorer-cannot-open-internet-site' rel='bookmark' title='Permanent Link: IE Says &#8220;Internet Explorer cannot open the Internet Site ________. Operation Aborted.&#8221;  I Say&nbsp;&#8220;WTF?&#8221;'>IE Says &#8220;Internet Explorer cannot open the Internet Site ________. Operation Aborted.&#8221;  I Say&nbsp;&#8220;WTF?&#8221;</a></li><li><a
href='http://davidwalsh.name/rounded-corners-ie' rel='bookmark' title='Permanent Link: Rounded Corners in Internet&nbsp;Explorer'>Rounded Corners in Internet&nbsp;Explorer</a></li><li><a
href='http://davidwalsh.name/css-image-filters-internet-explorer' rel='bookmark' title='Permanent Link: CSS Image Filters in Internet&nbsp;Explorer'>CSS Image Filters in Internet&nbsp;Explorer</a></li><li><a
href='http://davidwalsh.name/detecting-google-chrome-javascript' rel='bookmark' title='Permanent Link: Detecting Google Chrome Using&nbsp;JavaScript'>Detecting Google Chrome Using&nbsp;JavaScript</a></li></ol>]]></description> <content:encoded><![CDATA[<img
src="http://davidwalsh.name/dw-content/chrome-logo.png" alt="Google Chrome" class="image" /><p>I&#8217;m just going to cut to the chase:  Internet Explorer is rubbish.  I don&#8217;t care what version you throw at me &#8212; 6, 7, 8&#8230;rubbish.  Apparently Google agrees with me because they&#8217;ve released Google Chrome Frame, a browser plugin and META tag system that allows you to turn IE installs into a virtual &#8220;Chrome&#8221; install so that IE will support HTML5&#8242;s canvas tag and take advantage of JavaScript performance improvements featured in Google Chrome.</p><h2>Step 1:  The&nbsp;Plugin</h2><p>The user must first download the Chrome Frame plugin at the <a
href="http://code.google.com/chrome/chromeframe/">Google Chrome Frame page</a>.  The install works on XP and Vista operating systems, IE browser versions 6, 7, and 8.</p><h2>Step 2:  The HTML META&nbsp;tag</h2><p>To activate Chromified Internet Explorer you must add the following META tag to your pages:</p><pre class="html">
&lt;meta http-equiv="X-UA-Compatible" content="chrome=1" /&gt;
</pre><p>That&#8217;s it!  Check out a demo here:</p><div
class="actions"><a
href="http://davidwalsh.name/dw-content/chrome-frame.php" class="demo">View Demo</a><div
class="clear"></div></div><h2>More&nbsp;Details</h2><p>Jump over to the <a
href="http://code.google.com/chrome/chromeframe/">Google Chrome Frame page</a> to get more details about this project.  There&#8217;s a great video featuring Alex Russell (of Dojo fame) where he explains the reason for Chrome Frame and usage.</p><h2>Our&nbsp;Savior?</h2><p>I don&#8217;t believe so.  There are two big problems I see:</p><ul><li>Most IT teams are keeping their businesses employees in the dark world of IE6.  Chrome Frame would be a great solution for employees looking to get with the 90&#8242;s but how many businesses give their employees proper permissions to install applications?  No many.</li><li>Users who don&#8217;t know the difference wont put an effort into downloading this plugin (i.e. my grandmother doesn&#8217;t even know what a browser is, much less IE and why it&#8217;s bad).</li></ul><h2>Thoughts?</h2><p>I&#8217;m very interested in seeing what you all think of this.  Crap?  Gold?  Let me know what you think!</p><p><strong>Follow Me!</strong> <a
href="http://twitter.com/davidwalshblog">Twitter</a> | <a
href="http://www.facebook.com/#!/pages/David-Walsh-Blog/186644584869">Facebook</a> | <a
href="http://www.linkedin.com/in/davidjameswalsh">LinkedIn</a> | <a
href="http://mootools.net/forge/profile/davidwalsh">MooTools Forge.</a><br/><br/>Full David Walsh Blog Post: <a
href="http://davidwalsh.name/chrome-frame">Turn Internet Explorer into Chrome with Chrome&nbsp;Frame</a></p><p>Related posts:<ol><li><a
href='http://davidwalsh.name/impressions-google-chrome' rel='bookmark' title='Permanent Link: First Impressions of Google&nbsp;Chrome'>First Impressions of Google&nbsp;Chrome</a></li><li><a
href='http://davidwalsh.name/internet-explorer-cannot-open-internet-site' rel='bookmark' title='Permanent Link: IE Says &#8220;Internet Explorer cannot open the Internet Site ________. Operation Aborted.&#8221;  I Say&nbsp;&#8220;WTF?&#8221;'>IE Says &#8220;Internet Explorer cannot open the Internet Site ________. Operation Aborted.&#8221;  I Say&nbsp;&#8220;WTF?&#8221;</a></li><li><a
href='http://davidwalsh.name/rounded-corners-ie' rel='bookmark' title='Permanent Link: Rounded Corners in Internet&nbsp;Explorer'>Rounded Corners in Internet&nbsp;Explorer</a></li><li><a
href='http://davidwalsh.name/css-image-filters-internet-explorer' rel='bookmark' title='Permanent Link: CSS Image Filters in Internet&nbsp;Explorer'>CSS Image Filters in Internet&nbsp;Explorer</a></li><li><a
href='http://davidwalsh.name/detecting-google-chrome-javascript' rel='bookmark' title='Permanent Link: Detecting Google Chrome Using&nbsp;JavaScript'>Detecting Google Chrome Using&nbsp;JavaScript</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://davidwalsh.name/chrome-frame/feed</wfw:commentRss> <slash:comments>38</slash:comments> </item> <item><title>Making IE8 Emulate&#160;IE7</title><link>http://davidwalsh.name/ie8-emulate-ie7</link> <comments>http://davidwalsh.name/ie8-emulate-ie7#comments</comments> <pubDate>Fri, 20 Mar 2009 12:55:27 +0000</pubDate> <dc:creator>David Walsh</dc:creator> <category><![CDATA[Browsers]]></category> <category><![CDATA[Microsoft]]></category><guid
isPermaLink="false">http://davidwalsh.name/?p=1891</guid> <description><![CDATA[As you probably know, Microsoft Internet Explorer 8 was &#8220;officially&#8221; released yesterday. If you were caught off guard by this and haven&#8217;t had time to test your sites in IE8, don&#8217;t lose sleep; you can make IE8 render pages like IE7 using a simple META tag. The&#160;XHTML &#60;meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /&#62; It doesn&#8217;t get much [...]<p><strong>Follow Me!</strong> <a
href="http://twitter.com/davidwalshblog">Twitter</a> | <a
href="http://www.facebook.com/#!/pages/David-Walsh-Blog/186644584869">Facebook</a> | <a
href="http://www.linkedin.com/in/davidjameswalsh">LinkedIn</a> | <a
href="http://mootools.net/forge/profile/davidwalsh">MooTools Forge.</a><br/><br/>Full David Walsh Blog Post: <a
href="http://davidwalsh.name/ie8-emulate-ie7">Making IE8 Emulate&nbsp;IE7</a></p>Related posts:<ol><li><a
href='http://davidwalsh.name/twitter' rel='bookmark' title='Permanent Link: I&#8217;ve Finally Caved:&nbsp;Twitter'>I&#8217;ve Finally Caved:&nbsp;Twitter</a></li><li><a
href='http://davidwalsh.name/chrome-frame' rel='bookmark' title='Permanent Link: Turn Internet Explorer into Chrome with Chrome&nbsp;Frame'>Turn Internet Explorer into Chrome with Chrome&nbsp;Frame</a></li><li><a
href='http://davidwalsh.name/david-walsh-twitter' rel='bookmark' title='Permanent Link: David Walsh on&nbsp;Twitter'>David Walsh on&nbsp;Twitter</a></li><li><a
href='http://davidwalsh.name/remove-internet-explorers-gallery-image-toolbar' rel='bookmark' title='Permanent Link: Remove Internet Explorer&#8217;s Gallery Image&nbsp;Toolbar'>Remove Internet Explorer&#8217;s Gallery Image&nbsp;Toolbar</a></li><li><a
href='http://davidwalsh.name/follow-mootools-twitter' rel='bookmark' title='Permanent Link: Following MooTools on&nbsp;Twitter'>Following MooTools on&nbsp;Twitter</a></li></ol>]]></description> <content:encoded><![CDATA[<p>As you probably know, Microsoft Internet Explorer 8 was &#8220;officially&#8221; released yesterday.  If you were caught off guard by this and haven&#8217;t had time to test your sites in IE8, don&#8217;t lose sleep;  you can make IE8 render pages like IE7 using a simple META tag.</p><h2>The&nbsp;XHTML</h2><pre class="html">
&lt;meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /&gt;
</pre><p>It doesn&#8217;t get much easier than that.  Don&#8217;t use this functionality as a crutch for too long though!</p><p><strong>Follow Me!</strong> <a
href="http://twitter.com/davidwalshblog">Twitter</a> | <a
href="http://www.facebook.com/#!/pages/David-Walsh-Blog/186644584869">Facebook</a> | <a
href="http://www.linkedin.com/in/davidjameswalsh">LinkedIn</a> | <a
href="http://mootools.net/forge/profile/davidwalsh">MooTools Forge.</a><br/><br/>Full David Walsh Blog Post: <a
href="http://davidwalsh.name/ie8-emulate-ie7">Making IE8 Emulate&nbsp;IE7</a></p><p>Related posts:<ol><li><a
href='http://davidwalsh.name/twitter' rel='bookmark' title='Permanent Link: I&#8217;ve Finally Caved:&nbsp;Twitter'>I&#8217;ve Finally Caved:&nbsp;Twitter</a></li><li><a
href='http://davidwalsh.name/chrome-frame' rel='bookmark' title='Permanent Link: Turn Internet Explorer into Chrome with Chrome&nbsp;Frame'>Turn Internet Explorer into Chrome with Chrome&nbsp;Frame</a></li><li><a
href='http://davidwalsh.name/david-walsh-twitter' rel='bookmark' title='Permanent Link: David Walsh on&nbsp;Twitter'>David Walsh on&nbsp;Twitter</a></li><li><a
href='http://davidwalsh.name/remove-internet-explorers-gallery-image-toolbar' rel='bookmark' title='Permanent Link: Remove Internet Explorer&#8217;s Gallery Image&nbsp;Toolbar'>Remove Internet Explorer&#8217;s Gallery Image&nbsp;Toolbar</a></li><li><a
href='http://davidwalsh.name/follow-mootools-twitter' rel='bookmark' title='Permanent Link: Following MooTools on&nbsp;Twitter'>Following MooTools on&nbsp;Twitter</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://davidwalsh.name/ie8-emulate-ie7/feed</wfw:commentRss> <slash:comments>41</slash:comments> </item> <item><title>Sizzle and Peppy Selector Engines in&#160;MooTools</title><link>http://davidwalsh.name/mootools-peppy-sizzle</link> <comments>http://davidwalsh.name/mootools-peppy-sizzle#comments</comments> <pubDate>Tue, 24 Feb 2009 13:28:59 +0000</pubDate> <dc:creator>David Walsh</dc:creator> <category><![CDATA[JavaScript]]></category> <category><![CDATA[Microsoft]]></category><guid
isPermaLink="false">http://davidwalsh.name/?p=1690</guid> <description><![CDATA[A few weeks back I touched on how you could implement the Peppy and Sizzle selector engines in MooTools. Both posts showed how to remove the default Moo engine from use and instead make each respective selector engine the one and only. It doesn&#8217;t have to be that way. You could use all three engines [...]<p><strong>Follow Me!</strong> <a
href="http://twitter.com/davidwalshblog">Twitter</a> | <a
href="http://www.facebook.com/#!/pages/David-Walsh-Blog/186644584869">Facebook</a> | <a
href="http://www.linkedin.com/in/davidjameswalsh">LinkedIn</a> | <a
href="http://mootools.net/forge/profile/davidwalsh">MooTools Forge.</a><br/><br/>Full David Walsh Blog Post: <a
href="http://davidwalsh.name/mootools-peppy-sizzle">Sizzle and Peppy Selector Engines in&nbsp;MooTools</a></p>Related posts:<ol><li><a
href='http://davidwalsh.name/mootools-sizzle' rel='bookmark' title='Permanent Link: Implementing the Sizzle Selector Engine in&nbsp;MooTools'>Implementing the Sizzle Selector Engine in&nbsp;MooTools</a></li><li><a
href='http://davidwalsh.name/peppy-mootools' rel='bookmark' title='Permanent Link: Peppy and&nbsp;MooTools'>Peppy and&nbsp;MooTools</a></li><li><a
href='http://davidwalsh.name/sly-selector-engine' rel='bookmark' title='Permanent Link: Harald Kirschner&#8217;s&nbsp;Sly'>Harald Kirschner&#8217;s&nbsp;Sly</a></li><li><a
href='http://davidwalsh.name/slick-pseudo' rel='bookmark' title='Permanent Link: Create Custom Pseudo Class Selectors Using the Slick Selector&nbsp;Engine'>Create Custom Pseudo Class Selectors Using the Slick Selector&nbsp;Engine</a></li><li><a
href='http://davidwalsh.name/checked-pseudo-selector-mootools' rel='bookmark' title='Permanent Link: Create a Custom &#8220;:checked&#8221; Pseudo Selector for MooTools&nbsp;1.2'>Create a Custom &#8220;:checked&#8221; Pseudo Selector for MooTools&nbsp;1.2</a></li></ol>]]></description> <content:encoded><![CDATA[<p>A few weeks back I touched on how you could implement the <a
href="http://davidwalsh.name/peppy-mootools">Peppy</a> and <a
href="http://davidwalsh.name/mootools-sizzle">Sizzle</a> selector engines in MooTools.  Both posts showed how to remove the default Moo engine from use and instead make each respective selector engine the one and only.  It doesn&#8217;t have to be that way.  You could use all three engines within the page as well.</p><h2>Peppy, Sizzle, and Moo&nbsp;Together</h2><pre class="js">
//assuming that the JavaScript files we brought in via simple XHTML above...

/* MooTools */
var divs = $$('div');

/* Sizzle */
Window.$Sizzle = function(selector){
	return new Elements(new Sizzle(selector));
}
//sizzle usage
var divs = $Sizzle('div');

/* Peppy */
Window.$Peppy = function(selector){
	return new Elements(new peppy.query(selector));
}
//Peppy usage
var divs = $Peppy('div');
</pre><p>Why do this?  Each engine has its advantages.  Sizzle generally does better with Internet Explorer so if you detect that the user is using IE, you may want to use Sizzle to grab the elements instead.</p><p>In most cases the overhead of bringing in each engine makes this strategy overkill.  It&#8217;s definitely an option though.</p><p><strong>Follow Me!</strong> <a
href="http://twitter.com/davidwalshblog">Twitter</a> | <a
href="http://www.facebook.com/#!/pages/David-Walsh-Blog/186644584869">Facebook</a> | <a
href="http://www.linkedin.com/in/davidjameswalsh">LinkedIn</a> | <a
href="http://mootools.net/forge/profile/davidwalsh">MooTools Forge.</a><br/><br/>Full David Walsh Blog Post: <a
href="http://davidwalsh.name/mootools-peppy-sizzle">Sizzle and Peppy Selector Engines in&nbsp;MooTools</a></p><p>Related posts:<ol><li><a
href='http://davidwalsh.name/mootools-sizzle' rel='bookmark' title='Permanent Link: Implementing the Sizzle Selector Engine in&nbsp;MooTools'>Implementing the Sizzle Selector Engine in&nbsp;MooTools</a></li><li><a
href='http://davidwalsh.name/peppy-mootools' rel='bookmark' title='Permanent Link: Peppy and&nbsp;MooTools'>Peppy and&nbsp;MooTools</a></li><li><a
href='http://davidwalsh.name/sly-selector-engine' rel='bookmark' title='Permanent Link: Harald Kirschner&#8217;s&nbsp;Sly'>Harald Kirschner&#8217;s&nbsp;Sly</a></li><li><a
href='http://davidwalsh.name/slick-pseudo' rel='bookmark' title='Permanent Link: Create Custom Pseudo Class Selectors Using the Slick Selector&nbsp;Engine'>Create Custom Pseudo Class Selectors Using the Slick Selector&nbsp;Engine</a></li><li><a
href='http://davidwalsh.name/checked-pseudo-selector-mootools' rel='bookmark' title='Permanent Link: Create a Custom &#8220;:checked&#8221; Pseudo Selector for MooTools&nbsp;1.2'>Create a Custom &#8220;:checked&#8221; Pseudo Selector for MooTools&nbsp;1.2</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://davidwalsh.name/mootools-peppy-sizzle/feed</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>PHP, Microsoft SQL Server (MSSQL), and IIS:  Connect and Query with&#160;ODBC</title><link>http://davidwalsh.name/php-microsoft-sql-server-mssql-iis-connect-query-odbc</link> <comments>http://davidwalsh.name/php-microsoft-sql-server-mssql-iis-connect-query-odbc#comments</comments> <pubDate>Thu, 31 Jul 2008 12:49:36 +0000</pubDate> <dc:creator>David Walsh</dc:creator> <category><![CDATA[Hosting / Domain]]></category> <category><![CDATA[Microsoft]]></category> <category><![CDATA[PHP]]></category><guid
isPermaLink="false">http://davidwalsh.name/?p=288</guid> <description><![CDATA[I was recently thrown a real curveball of a project. Instead of using a fresh MySQL database to pull information from, the customer required that we pull information from their new Microsoft SQL Server 2005 server. This isn&#8217;t the most desired method of PHP-&#62;Database interactivity but that&#8217;s what the project called for and that&#8217;s what [...]<p><strong>Follow Me!</strong> <a
href="http://twitter.com/davidwalshblog">Twitter</a> | <a
href="http://www.facebook.com/#!/pages/David-Walsh-Blog/186644584869">Facebook</a> | <a
href="http://www.linkedin.com/in/davidjameswalsh">LinkedIn</a> | <a
href="http://mootools.net/forge/profile/davidwalsh">MooTools Forge.</a><br/><br/>Full David Walsh Blog Post: <a
href="http://davidwalsh.name/php-microsoft-sql-server-mssql-iis-connect-query-odbc">PHP, Microsoft SQL Server (MSSQL), and IIS:  Connect and Query with&nbsp;ODBC</a></p>Related posts:<ol><li><a
href='http://davidwalsh.name/php-odbc-nvarchar' rel='bookmark' title='Permanent Link: PHP, ODBC, and&nbsp;nvarchar'>PHP, ODBC, and&nbsp;nvarchar</a></li><li><a
href='http://davidwalsh.name/html-mysql-php' rel='bookmark' title='Permanent Link: Build HTML Tables From MySQL Tables with&nbsp;PHP'>Build HTML Tables From MySQL Tables with&nbsp;PHP</a></li><li><a
href='http://davidwalsh.name/php-mysql-database-optimization-function' rel='bookmark' title='Permanent Link: PHP / MySQL Database Optimization&nbsp;Function'>PHP / MySQL Database Optimization&nbsp;Function</a></li><li><a
href='http://davidwalsh.name/backup-mysql-database-php' rel='bookmark' title='Permanent Link: Backup Your MySQL Database Using&nbsp;PHP'>Backup Your MySQL Database Using&nbsp;PHP</a></li><li><a
href='http://davidwalsh.name/send-files-ftp-php' rel='bookmark' title='Permanent Link: Send Files via FTP Using&nbsp;PHP'>Send Files via FTP Using&nbsp;PHP</a></li></ol>]]></description> <content:encoded><![CDATA[<p>I was recently thrown a real curveball of a project.  Instead of using a fresh MySQL database to pull information from, the customer required that we pull information from their new Microsoft SQL Server 2005 server.  This isn&#8217;t the most desired method of PHP-&gt;Database interactivity but that&#8217;s what the project called for and that&#8217;s what I needed to do.  Here&#8217;s how to get things going.</p><h2>Connecting to Microsoft SQL Server 2005 from&nbsp;PHP</h2><pre  class="php">
// the "driver" first
$virtual_dsn = 'DRIVER={SQL Server};SERVER=database.domain.org,45277;DATABASE=MyDatabase';
$connection = odbc_connect($virtual_dsn,'Username','Password') or die('ODBC Error:: '.odbc_error().' :: '.odbc_errormsg().' :: '.$virtual_dsn);
</pre><h2>Choose Which&nbsp;Database</h2><pre  class="php">odbc_exec($connection,'USE MYDB');</pre><h2>Executing a&nbsp;Query</h2><pre  class="php">$result = odbc_exec($connection, 'SELECT FirstName FROM Names');</pre><h2>Using the Query&nbsp;Result</h2><pre  class="php">$first_name = odbc_result($result, 'FirstName')</pre><h2>Querying Tables and Columns with&nbsp;Spaces</h2><pre  class="php">
// use brackets [] for tables and colums with spaces
$result = odbc_exec($connection, 'SELECT [First Name] FROM [Names Table]');
</pre><p>Like I said, while this isn&#8217;t the most desirable setup in the world, it will do.  Big ups to <a
href="http://www.hostway.com/" rel="nofollow" target="_blank">Hostway</a> for their help in configuring the server; they provided everything we needed.</p><p>To learn more about the ODBC functions, visit <a
href="http://php.net/odbc" rel="nofollow" target="_blank">PHP.net</a></p><p><strong>Follow Me!</strong> <a
href="http://twitter.com/davidwalshblog">Twitter</a> | <a
href="http://www.facebook.com/#!/pages/David-Walsh-Blog/186644584869">Facebook</a> | <a
href="http://www.linkedin.com/in/davidjameswalsh">LinkedIn</a> | <a
href="http://mootools.net/forge/profile/davidwalsh">MooTools Forge.</a><br/><br/>Full David Walsh Blog Post: <a
href="http://davidwalsh.name/php-microsoft-sql-server-mssql-iis-connect-query-odbc">PHP, Microsoft SQL Server (MSSQL), and IIS:  Connect and Query with&nbsp;ODBC</a></p><p>Related posts:<ol><li><a
href='http://davidwalsh.name/php-odbc-nvarchar' rel='bookmark' title='Permanent Link: PHP, ODBC, and&nbsp;nvarchar'>PHP, ODBC, and&nbsp;nvarchar</a></li><li><a
href='http://davidwalsh.name/html-mysql-php' rel='bookmark' title='Permanent Link: Build HTML Tables From MySQL Tables with&nbsp;PHP'>Build HTML Tables From MySQL Tables with&nbsp;PHP</a></li><li><a
href='http://davidwalsh.name/php-mysql-database-optimization-function' rel='bookmark' title='Permanent Link: PHP / MySQL Database Optimization&nbsp;Function'>PHP / MySQL Database Optimization&nbsp;Function</a></li><li><a
href='http://davidwalsh.name/backup-mysql-database-php' rel='bookmark' title='Permanent Link: Backup Your MySQL Database Using&nbsp;PHP'>Backup Your MySQL Database Using&nbsp;PHP</a></li><li><a
href='http://davidwalsh.name/send-files-ftp-php' rel='bookmark' title='Permanent Link: Send Files via FTP Using&nbsp;PHP'>Send Files via FTP Using&nbsp;PHP</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://davidwalsh.name/php-microsoft-sql-server-mssql-iis-connect-query-odbc/feed</wfw:commentRss> <slash:comments>19</slash:comments> </item> <item><title>IE Says &#8220;Internet Explorer cannot open the Internet Site ________. Operation Aborted.&#8221;  I Say&#160;&#8220;WTF?&#8221;</title><link>http://davidwalsh.name/internet-explorer-cannot-open-internet-site</link> <comments>http://davidwalsh.name/internet-explorer-cannot-open-internet-site#comments</comments> <pubDate>Fri, 04 Apr 2008 12:52:46 +0000</pubDate> <dc:creator>David Walsh</dc:creator> <category><![CDATA[Microsoft]]></category><guid
isPermaLink="false">http://davidwalsh.name/internet-explorer-cannot-open-internet-site</guid> <description><![CDATA[During the development of a recent website, I fitted the site with some awesome MooTools effects. Per usual, I would check each page with Firefox and once the page looked good, I&#8217;d switch over to Internet Explorer to make sure the site looked the same. That&#8217;s where the problem began. Periodically, I would get a [...]<p><strong>Follow Me!</strong> <a
href="http://twitter.com/davidwalshblog">Twitter</a> | <a
href="http://www.facebook.com/#!/pages/David-Walsh-Blog/186644584869">Facebook</a> | <a
href="http://www.linkedin.com/in/davidjameswalsh">LinkedIn</a> | <a
href="http://mootools.net/forge/profile/davidwalsh">MooTools Forge.</a><br/><br/>Full David Walsh Blog Post: <a
href="http://davidwalsh.name/internet-explorer-cannot-open-internet-site">IE Says &#8220;Internet Explorer cannot open the Internet Site ________. Operation Aborted.&#8221;  I Say&nbsp;&#8220;WTF?&#8221;</a></p>Related posts:<ol><li><a
href='http://davidwalsh.name/image-load-event' rel='bookmark' title='Permanent Link: Image onLoad Event + JavaScript Issue with Internet&nbsp;Explorer'>Image onLoad Event + JavaScript Issue with Internet&nbsp;Explorer</a></li><li><a
href='http://davidwalsh.name/chrome-frame' rel='bookmark' title='Permanent Link: Turn Internet Explorer into Chrome with Chrome&nbsp;Frame'>Turn Internet Explorer into Chrome with Chrome&nbsp;Frame</a></li><li><a
href='http://davidwalsh.name/rounded-corners-ie' rel='bookmark' title='Permanent Link: Rounded Corners in Internet&nbsp;Explorer'>Rounded Corners in Internet&nbsp;Explorer</a></li><li><a
href='http://davidwalsh.name/css-image-filters-internet-explorer' rel='bookmark' title='Permanent Link: CSS Image Filters in Internet&nbsp;Explorer'>CSS Image Filters in Internet&nbsp;Explorer</a></li><li><a
href='http://davidwalsh.name/microsofts-internet-atrocities' rel='bookmark' title='Permanent Link: Microsoft&#8217;s Internet&nbsp;Atrocities'>Microsoft&#8217;s Internet&nbsp;Atrocities</a></li></ol>]]></description> <content:encoded><![CDATA[<p>During the development of a recent website, I fitted the site with some awesome MooTools effects.  Per usual, I would check each page with Firefox and once the page looked good, I&#8217;d switch over to Internet Explorer to make sure the site looked the same.  That&#8217;s where the problem began.</p><p>Periodically, I would get a JavaScript-like alert box that said &#8220;Internet Explorer cannot open the Internet Site ________. Operation Aborted,&#8221; as show below:</p><p><img
src="http://davidwalsh.name/dw-content/ie-abort.jpg" /></p><p>After doing some research, I found a post by MooTools dev Aaron Newton that explained why the problem was occuring:</p><blockquote><p> IE does this when you attempt to modify a DOM element before it is closed. This means that if you try and append a child element to another and that other element (like the document.body) is still loading, you&#8217;ll get this error. This will occur if you use .appendChild (which in Mootools includes .adopt, .injectInside, .injectBefore, etc.) or if you use Element.innerHTML = &#8220;&#8221; (or in Mootools, the .setHTML method).</p></blockquote><p> The fix is quite simple:  don&#8217;t do any processing until the DOM is ready.</p><pre  class="js">window.addEvent('domready', function(){
  //do stuff
});</pre><p><a
href="http://clientside.cnet.com/code-snippets/manipulating-the-dom/ie-and-operation-aborted/" target="_blank" rel="nofollow">Click here</a> to read Aaron&#8217;s full post.  The moral of the story is not to modify elements that haven&#8217;t fully loaded!</p><p><strong>Follow Me!</strong> <a
href="http://twitter.com/davidwalshblog">Twitter</a> | <a
href="http://www.facebook.com/#!/pages/David-Walsh-Blog/186644584869">Facebook</a> | <a
href="http://www.linkedin.com/in/davidjameswalsh">LinkedIn</a> | <a
href="http://mootools.net/forge/profile/davidwalsh">MooTools Forge.</a><br/><br/>Full David Walsh Blog Post: <a
href="http://davidwalsh.name/internet-explorer-cannot-open-internet-site">IE Says &#8220;Internet Explorer cannot open the Internet Site ________. Operation Aborted.&#8221;  I Say&nbsp;&#8220;WTF?&#8221;</a></p><p>Related posts:<ol><li><a
href='http://davidwalsh.name/image-load-event' rel='bookmark' title='Permanent Link: Image onLoad Event + JavaScript Issue with Internet&nbsp;Explorer'>Image onLoad Event + JavaScript Issue with Internet&nbsp;Explorer</a></li><li><a
href='http://davidwalsh.name/chrome-frame' rel='bookmark' title='Permanent Link: Turn Internet Explorer into Chrome with Chrome&nbsp;Frame'>Turn Internet Explorer into Chrome with Chrome&nbsp;Frame</a></li><li><a
href='http://davidwalsh.name/rounded-corners-ie' rel='bookmark' title='Permanent Link: Rounded Corners in Internet&nbsp;Explorer'>Rounded Corners in Internet&nbsp;Explorer</a></li><li><a
href='http://davidwalsh.name/css-image-filters-internet-explorer' rel='bookmark' title='Permanent Link: CSS Image Filters in Internet&nbsp;Explorer'>CSS Image Filters in Internet&nbsp;Explorer</a></li><li><a
href='http://davidwalsh.name/microsofts-internet-atrocities' rel='bookmark' title='Permanent Link: Microsoft&#8217;s Internet&nbsp;Atrocities'>Microsoft&#8217;s Internet&nbsp;Atrocities</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://davidwalsh.name/internet-explorer-cannot-open-internet-site/feed</wfw:commentRss> <slash:comments>13</slash:comments> </item> <item><title>Override Vista and XP&#8217;s Themed Buttons and Scrollbars Using a META&#160;Tag</title><link>http://davidwalsh.name/override-windows-vista-xp-themed-buttons-scrollbars-meta-tag</link> <comments>http://davidwalsh.name/override-windows-vista-xp-themed-buttons-scrollbars-meta-tag#comments</comments> <pubDate>Wed, 26 Dec 2007 13:59:21 +0000</pubDate> <dc:creator>David Walsh</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Microsoft]]></category><guid
isPermaLink="false">http://davidwalsh.name/override-windows-vista-xp-themed-buttons-scrollbars-meta-tag/</guid> <description><![CDATA[The first thing I do to any fresh Windows XP or Vista install is change the theme to old-school &#8220;Windows Classic&#8221; theme. Square gray boxes, in my opinion, are much better than the awful &#8220;rounded&#8221;, colored bars. The XP and Vista theme settings also bleed into Internet Explorer, shaping and color buttons in ways I [...]<p><strong>Follow Me!</strong> <a
href="http://twitter.com/davidwalshblog">Twitter</a> | <a
href="http://www.facebook.com/#!/pages/David-Walsh-Blog/186644584869">Facebook</a> | <a
href="http://www.linkedin.com/in/davidjameswalsh">LinkedIn</a> | <a
href="http://mootools.net/forge/profile/davidwalsh">MooTools Forge.</a><br/><br/>Full David Walsh Blog Post: <a
href="http://davidwalsh.name/override-windows-vista-xp-themed-buttons-scrollbars-meta-tag">Override Vista and XP&#8217;s Themed Buttons and Scrollbars Using a META&nbsp;Tag</a></p>Related posts:<ol><li><a
href='http://davidwalsh.name/meta-refresh-javascript' rel='bookmark' title='Permanent Link: META Refresh vs. JavaScript&nbsp;Refresh'>META Refresh vs. JavaScript&nbsp;Refresh</a></li><li><a
href='http://davidwalsh.name/github-css' rel='bookmark' title='Permanent Link: Create GitHub-Style Buttons with CSS and jQuery, MooTools, or Dojo&nbsp;JavaScript'>Create GitHub-Style Buttons with CSS and jQuery, MooTools, or Dojo&nbsp;JavaScript</a></li><li><a
href='http://davidwalsh.name/skype-mootools' rel='bookmark' title='Permanent Link: Skype-Style Buttons Using&nbsp;MooTools'>Skype-Style Buttons Using&nbsp;MooTools</a></li><li><a
href='http://davidwalsh.name/automatically-refresh-page-javascript-meta-tags' rel='bookmark' title='Permanent Link: Automatically Refresh a Page Using JavaScript or Meta&nbsp;Tags'>Automatically Refresh a Page Using JavaScript or Meta&nbsp;Tags</a></li><li><a
href='http://davidwalsh.name/dojo-twitter' rel='bookmark' title='Permanent Link: Create Twitter-Style Buttons with the Dojo&nbsp;Toolkit'>Create Twitter-Style Buttons with the Dojo&nbsp;Toolkit</a></li></ol>]]></description> <content:encoded><![CDATA[<p>The first thing I do to any fresh Windows XP or Vista install is change the theme to old-school &#8220;Windows Classic&#8221; theme.  Square gray boxes, in my opinion, are much better than the awful &#8220;rounded&#8221;, colored bars.  The XP and Vista theme settings also bleed into Internet Explorer, shaping and color buttons in ways I don&#8217;t want.</p><p>Luckily, using an HTML META tag, I can tell the browser to ignore the theme&#8217;s settings and show the standard, gray button.</p><pre  class="html">&lt;meta http-equiv="MSThemeCompatible" content="No"/&gt;</pre><p>I&#8217;m not advocating this, simply showing how it can be done.</p><p><strong>Follow Me!</strong> <a
href="http://twitter.com/davidwalshblog">Twitter</a> | <a
href="http://www.facebook.com/#!/pages/David-Walsh-Blog/186644584869">Facebook</a> | <a
href="http://www.linkedin.com/in/davidjameswalsh">LinkedIn</a> | <a
href="http://mootools.net/forge/profile/davidwalsh">MooTools Forge.</a><br/><br/>Full David Walsh Blog Post: <a
href="http://davidwalsh.name/override-windows-vista-xp-themed-buttons-scrollbars-meta-tag">Override Vista and XP&#8217;s Themed Buttons and Scrollbars Using a META&nbsp;Tag</a></p><p>Related posts:<ol><li><a
href='http://davidwalsh.name/meta-refresh-javascript' rel='bookmark' title='Permanent Link: META Refresh vs. JavaScript&nbsp;Refresh'>META Refresh vs. JavaScript&nbsp;Refresh</a></li><li><a
href='http://davidwalsh.name/github-css' rel='bookmark' title='Permanent Link: Create GitHub-Style Buttons with CSS and jQuery, MooTools, or Dojo&nbsp;JavaScript'>Create GitHub-Style Buttons with CSS and jQuery, MooTools, or Dojo&nbsp;JavaScript</a></li><li><a
href='http://davidwalsh.name/skype-mootools' rel='bookmark' title='Permanent Link: Skype-Style Buttons Using&nbsp;MooTools'>Skype-Style Buttons Using&nbsp;MooTools</a></li><li><a
href='http://davidwalsh.name/automatically-refresh-page-javascript-meta-tags' rel='bookmark' title='Permanent Link: Automatically Refresh a Page Using JavaScript or Meta&nbsp;Tags'>Automatically Refresh a Page Using JavaScript or Meta&nbsp;Tags</a></li><li><a
href='http://davidwalsh.name/dojo-twitter' rel='bookmark' title='Permanent Link: Create Twitter-Style Buttons with the Dojo&nbsp;Toolkit'>Create Twitter-Style Buttons with the Dojo&nbsp;Toolkit</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://davidwalsh.name/override-windows-vista-xp-themed-buttons-scrollbars-meta-tag/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>The First Year of IE7 &#8212; Still&#160;Hated</title><link>http://davidwalsh.name/first-year-ie7-hated</link> <comments>http://davidwalsh.name/first-year-ie7-hated#comments</comments> <pubDate>Fri, 07 Dec 2007 04:38:15 +0000</pubDate> <dc:creator>David Walsh</dc:creator> <category><![CDATA[Browsers]]></category> <category><![CDATA[Microsoft]]></category><guid
isPermaLink="false">http://davidwalsh.name/first-year-ie7-hated/</guid> <description><![CDATA[The IEBlog posted The First Year of IE7 today and lets just say that the comments are anything but positive. Check out the scathing comments: http://blogs.msdn.com/ie/archive/2007/11/30/the-first-year-of-ie7.aspxFollow Me! Twitter &#124; Facebook &#124; LinkedIn &#124; MooTools Forge. Full David Walsh Blog Post: The First Year of IE7 &#8212; Still&#160;Hated Related posts:Checking For Leap Year Using&#160;PHP Dear Developers, [...]<p><strong>Follow Me!</strong> <a
href="http://twitter.com/davidwalshblog">Twitter</a> | <a
href="http://www.facebook.com/#!/pages/David-Walsh-Blog/186644584869">Facebook</a> | <a
href="http://www.linkedin.com/in/davidjameswalsh">LinkedIn</a> | <a
href="http://mootools.net/forge/profile/davidwalsh">MooTools Forge.</a><br/><br/>Full David Walsh Blog Post: <a
href="http://davidwalsh.name/first-year-ie7-hated">The First Year of IE7 &#8212; Still&nbsp;Hated</a></p>Related posts:<ol><li><a
href='http://davidwalsh.name/checking-for-leap-year-using-php' rel='bookmark' title='Permanent Link: Checking For Leap Year Using&nbsp;PHP'>Checking For Leap Year Using&nbsp;PHP</a></li><li><a
href='http://davidwalsh.name/dear-developers-hardcode-copyright-year' rel='bookmark' title='Permanent Link: Dear Developers, Don&#8217;t Hardcode Copyright&nbsp;Years'>Dear Developers, Don&#8217;t Hardcode Copyright&nbsp;Years</a></li><li><a
href='http://davidwalsh.name/free-sitepoint-ruby-on-rails-book' rel='bookmark' title='Permanent Link: Free SitePoint Ruby on Rails&nbsp;Book!'>Free SitePoint Ruby on Rails&nbsp;Book!</a></li><li><a
href='http://davidwalsh.name/2009-year-in-review' rel='bookmark' title='Permanent Link: 2009 David Walsh Blog Year in&nbsp;Review'>2009 David Walsh Blog Year in&nbsp;Review</a></li><li><a
href='http://davidwalsh.name/one-year-anniversary' rel='bookmark' title='Permanent Link: One Year Anniversary&nbsp;Today!'>One Year Anniversary&nbsp;Today!</a></li></ol>]]></description> <content:encoded><![CDATA[<p>The IEBlog posted <em>The First Year of IE7</em> today and lets just say that the comments are anything but positive.  Check out the scathing comments:</p><p><a
href="http://blogs.msdn.com/ie/archive/2007/11/30/the-first-year-of-ie7.aspx" target="_blank" rel="nofollow">http://blogs.msdn.com/ie/archive/2007/11/30/the-first-year-of-ie7.aspx</a></p><p><strong>Follow Me!</strong> <a
href="http://twitter.com/davidwalshblog">Twitter</a> | <a
href="http://www.facebook.com/#!/pages/David-Walsh-Blog/186644584869">Facebook</a> | <a
href="http://www.linkedin.com/in/davidjameswalsh">LinkedIn</a> | <a
href="http://mootools.net/forge/profile/davidwalsh">MooTools Forge.</a><br/><br/>Full David Walsh Blog Post: <a
href="http://davidwalsh.name/first-year-ie7-hated">The First Year of IE7 &#8212; Still&nbsp;Hated</a></p><p>Related posts:<ol><li><a
href='http://davidwalsh.name/checking-for-leap-year-using-php' rel='bookmark' title='Permanent Link: Checking For Leap Year Using&nbsp;PHP'>Checking For Leap Year Using&nbsp;PHP</a></li><li><a
href='http://davidwalsh.name/dear-developers-hardcode-copyright-year' rel='bookmark' title='Permanent Link: Dear Developers, Don&#8217;t Hardcode Copyright&nbsp;Years'>Dear Developers, Don&#8217;t Hardcode Copyright&nbsp;Years</a></li><li><a
href='http://davidwalsh.name/free-sitepoint-ruby-on-rails-book' rel='bookmark' title='Permanent Link: Free SitePoint Ruby on Rails&nbsp;Book!'>Free SitePoint Ruby on Rails&nbsp;Book!</a></li><li><a
href='http://davidwalsh.name/2009-year-in-review' rel='bookmark' title='Permanent Link: 2009 David Walsh Blog Year in&nbsp;Review'>2009 David Walsh Blog Year in&nbsp;Review</a></li><li><a
href='http://davidwalsh.name/one-year-anniversary' rel='bookmark' title='Permanent Link: One Year Anniversary&nbsp;Today!'>One Year Anniversary&nbsp;Today!</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://davidwalsh.name/first-year-ie7-hated/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Prevent Double Margin &amp; Padding In IE6 When Using CSS&#160;Float</title><link>http://davidwalsh.name/prevent-double-margin-padding-ie6-css-float</link> <comments>http://davidwalsh.name/prevent-double-margin-padding-ie6-css-float#comments</comments> <pubDate>Wed, 28 Nov 2007 14:16:46 +0000</pubDate> <dc:creator>David Walsh</dc:creator> <category><![CDATA[Browsers]]></category> <category><![CDATA[CSS]]></category> <category><![CDATA[Microsoft]]></category><guid
isPermaLink="false">http://davidwalsh.name/prevent-double-margin-padding-ie6-css-float/</guid> <description><![CDATA[My thoughts on Internet Explorer have been well documented; for those that don&#8217;t already know, I think IE hinders the internet&#8217;s progress and represents another embarrassment for Microsoft. That said, a majority of users still browse with Internet Explorer 6 so it&#8217;s important to make sure our customers&#8217; websites look good in the browser. One [...]<p><strong>Follow Me!</strong> <a
href="http://twitter.com/davidwalshblog">Twitter</a> | <a
href="http://www.facebook.com/#!/pages/David-Walsh-Blog/186644584869">Facebook</a> | <a
href="http://www.linkedin.com/in/davidjameswalsh">LinkedIn</a> | <a
href="http://mootools.net/forge/profile/davidwalsh">MooTools Forge.</a><br/><br/>Full David Walsh Blog Post: <a
href="http://davidwalsh.name/prevent-double-margin-padding-ie6-css-float">Prevent Double Margin &#038; Padding In IE6 When Using CSS&nbsp;Float</a></p>Related posts:<ol><li><a
href='http://davidwalsh.name/create-double-border-image-effect-css' rel='bookmark' title='Permanent Link: Create a Double Border Image Effect Using&nbsp;CSS'>Create a Double Border Image Effect Using&nbsp;CSS</a></li><li><a
href='http://davidwalsh.name/css-print-javascript-double-click' rel='bookmark' title='Permanent Link: Advanced CSS Printing &#8211; Using JavaScript Double-Click To Remove Unwanted&nbsp;DIVs'>Advanced CSS Printing &#8211; Using JavaScript Double-Click To Remove Unwanted&nbsp;DIVs</a></li><li><a
href='http://davidwalsh.name/reset-css' rel='bookmark' title='Permanent Link: Advanced CSS &#8211; Using A Reset.css File To Gain Complete&nbsp;Control'>Advanced CSS &#8211; Using A Reset.css File To Gain Complete&nbsp;Control</a></li><li><a
href='http://davidwalsh.name/6-reasons-why-ie6-must-die' rel='bookmark' title='Permanent Link: 6 Reasons Why IE6 Must&nbsp;Die'>6 Reasons Why IE6 Must&nbsp;Die</a></li><li><a
href='http://davidwalsh.name/mootools-drag-drop-lock' rel='bookmark' title='Permanent Link: Drag. Drop.&nbsp;Lock.'>Drag. Drop.&nbsp;Lock.</a></li></ol>]]></description> <content:encoded><![CDATA[<p>My thoughts on Internet Explorer have been <a
href="http://davidwalsh.name/6-reasons-why-ie6-must-die/" target="_blank" rel="nofollow">well documented</a>;  for those that don&#8217;t already know, I think IE hinders the internet&#8217;s progress and represents another embarrassment for Microsoft.  That said, a majority of users still browse with Internet Explorer 6 so it&#8217;s important to make sure our customers&#8217; websites look good in the browser.</p><p>One of IE6&#8242;s glaring mistakes is producing double padding and/or double margin when using the respective property on two floating DIVs that fall next to each other.  Since I build websites using all DIVs, I run into this problem with every framework I create.</p><h2>The&nbsp;Problem</h2><p>The above title is misleading, as my code isn&#8217;t the problem &#8212; IE6 is.  That said, the following code alone isn&#8217;t good enough:</p><pre  class="css">#global-column-1			{ margin:0 0 0 33px; padding:0 20px 0 0; width:255px; float:left; }
#global-column-2			{ margin:0 0 30px 30px; width:250px; float:left; }</pre><p>The above code will result in double padding in IE6.</p><h2>The&nbsp;Solution</h2><p>Use IE6-only CSS code to fix the problem in that browser.</p><pre  class="css">#global-column-1			{ margin:0 0 0 33px; padding:0 20px 0 0; width:255px; float:left; } * html #global-column-1 { display:inline; }
#global-column-2			{ margin:0 0 30px 30px; width:250px; float:left; }</pre><p>The &#8220;* html #global-column-1&#8243; declaration is only viewed by IE6.  The&#8221;display:inline;&#8221; code actually corrects the double spacing.</p><p>Shouldn&#8217;t developers and the browser creators be working together?  Apparently not, as Microsoft never fixed this issue.</p><p><strong>Follow Me!</strong> <a
href="http://twitter.com/davidwalshblog">Twitter</a> | <a
href="http://www.facebook.com/#!/pages/David-Walsh-Blog/186644584869">Facebook</a> | <a
href="http://www.linkedin.com/in/davidjameswalsh">LinkedIn</a> | <a
href="http://mootools.net/forge/profile/davidwalsh">MooTools Forge.</a><br/><br/>Full David Walsh Blog Post: <a
href="http://davidwalsh.name/prevent-double-margin-padding-ie6-css-float">Prevent Double Margin &#038; Padding In IE6 When Using CSS&nbsp;Float</a></p><p>Related posts:<ol><li><a
href='http://davidwalsh.name/create-double-border-image-effect-css' rel='bookmark' title='Permanent Link: Create a Double Border Image Effect Using&nbsp;CSS'>Create a Double Border Image Effect Using&nbsp;CSS</a></li><li><a
href='http://davidwalsh.name/css-print-javascript-double-click' rel='bookmark' title='Permanent Link: Advanced CSS Printing &#8211; Using JavaScript Double-Click To Remove Unwanted&nbsp;DIVs'>Advanced CSS Printing &#8211; Using JavaScript Double-Click To Remove Unwanted&nbsp;DIVs</a></li><li><a
href='http://davidwalsh.name/reset-css' rel='bookmark' title='Permanent Link: Advanced CSS &#8211; Using A Reset.css File To Gain Complete&nbsp;Control'>Advanced CSS &#8211; Using A Reset.css File To Gain Complete&nbsp;Control</a></li><li><a
href='http://davidwalsh.name/6-reasons-why-ie6-must-die' rel='bookmark' title='Permanent Link: 6 Reasons Why IE6 Must&nbsp;Die'>6 Reasons Why IE6 Must&nbsp;Die</a></li><li><a
href='http://davidwalsh.name/mootools-drag-drop-lock' rel='bookmark' title='Permanent Link: Drag. Drop.&nbsp;Lock.'>Drag. Drop.&nbsp;Lock.</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://davidwalsh.name/prevent-double-margin-padding-ie6-css-float/feed</wfw:commentRss> <slash:comments>16</slash:comments> </item> <item><title>Microsoft&#8217;s Internet&#160;Atrocities</title><link>http://davidwalsh.name/microsofts-internet-atrocities</link> <comments>http://davidwalsh.name/microsofts-internet-atrocities#comments</comments> <pubDate>Mon, 24 Sep 2007 13:09:00 +0000</pubDate> <dc:creator>David Walsh</dc:creator> <category><![CDATA[Microsoft]]></category><guid
isPermaLink="false">http://davidwalsh.name/microsofts-internet-atrocities/</guid> <description><![CDATA[For better or worse, Microsoft has been a huge player in the way the internet has evolved. You would expect that considering Microsoft has had a virtual lock on the PC OS market as well as an overwhelming percentage of the browser market share. Unfortunately, however, Microsoft has lived up to its name as a [...]<p><strong>Follow Me!</strong> <a
href="http://twitter.com/davidwalshblog">Twitter</a> | <a
href="http://www.facebook.com/#!/pages/David-Walsh-Blog/186644584869">Facebook</a> | <a
href="http://www.linkedin.com/in/davidjameswalsh">LinkedIn</a> | <a
href="http://mootools.net/forge/profile/davidwalsh">MooTools Forge.</a><br/><br/>Full David Walsh Blog Post: <a
href="http://davidwalsh.name/microsofts-internet-atrocities">Microsoft&#8217;s Internet&nbsp;Atrocities</a></p>Related posts:<ol><li><a
href='http://davidwalsh.name/removing-internet-explorers-active-content-warning-on-flash-objects' rel='bookmark' title='Permanent Link: Removing Internet Explorer&#8217;s Active Content Warning on Flash&nbsp;Objects'>Removing Internet Explorer&#8217;s Active Content Warning on Flash&nbsp;Objects</a></li><li><a
href='http://davidwalsh.name/internet-explorer-cannot-open-internet-site' rel='bookmark' title='Permanent Link: IE Says &#8220;Internet Explorer cannot open the Internet Site ________. Operation Aborted.&#8221;  I Say&nbsp;&#8220;WTF?&#8221;'>IE Says &#8220;Internet Explorer cannot open the Internet Site ________. Operation Aborted.&#8221;  I Say&nbsp;&#8220;WTF?&#8221;</a></li><li><a
href='http://davidwalsh.name/chrome-frame' rel='bookmark' title='Permanent Link: Turn Internet Explorer into Chrome with Chrome&nbsp;Frame'>Turn Internet Explorer into Chrome with Chrome&nbsp;Frame</a></li><li><a
href='http://davidwalsh.name/the-7-major-roadblocks-that-cripple-web-developers-and-the-internet' rel='bookmark' title='Permanent Link: The 7 Major Roadblocks That Cripple Web Developers and The&nbsp;Internet'>The 7 Major Roadblocks That Cripple Web Developers and The&nbsp;Internet</a></li><li><a
href='http://davidwalsh.name/favorite-link-create-bookmark-link' rel='bookmark' title='Permanent Link: &#8220;Favorite&#8221; Link &#8212; How To Create a Bookmark&nbsp;Link'>&#8220;Favorite&#8221; Link &#8212; How To Create a Bookmark&nbsp;Link</a></li></ol>]]></description> <content:encoded><![CDATA[<p>For <strike>better or</strike> worse, Microsoft has been a huge player in the way the internet has evolved.  You would expect that considering Microsoft has had a virtual lock on the PC OS market as well as an overwhelming percentage of the browser market share.  Unfortunately, however, Microsoft has lived up to its name as a poor-quality company when you consider their internet <em>contributions.</em> I consider Microsoft&#8217;s internet-related products as absolute atrocities that may have set us back more than they&#8217;ve pushed us forward.</p><h2>Internet Explorer x.x</h2><p>In this age, a browser installed on an operating system should be standard.  That doesn&#8217;t mean the browser should be low quality, though.  Internet Explorer&#8217;s entrance into the browser market was initially great because you could escape from AOL&#8217;s grasps, up until Microsoft decided that following standards wasn&#8217;t important, especially when you could implement your own.</p><p>Internet Explorer 5 and 5.5 contained numerous CSS inconsistencies, most notably with floating.  Internet Explorer 6 was an improvement but Internet Explorer&#8217;s problems continued:</p><ul><li>Numerous, CSS issues</li><li>Lack of CSS functionality</li><li>Insufficient security features</li><li>Inconsistent or missing standards implementation</li></ul><p>Microsoft renewed its commitment to Internet Explorer in late 2005 after five years of being stagnant.  Internet Explorer 7 implements many improvements but problems still exist and Microsoft has a long way to go to prove it&#8217;s serious about creating a good browsing product.  Unfortunately, novice and beginner internet users will probably continue to use Internet Explorer for years to come.</p><h2>FrontPage</h2><p>Microsoft FrontPage debuted in 1997 and made every person with a computer think that they could make a website.  Good?  Hardly!  Many of my customers exude an attitude of &#8220;why do I pay you that much if I could just do it myself using FrontPage?&#8221;  People generally don&#8217;t understand the time, effort, and skill that go into creating a solid website and</p><p>Beyond how it affects me, FrontPage generates some pretty horrible code.  There&#8217;s nothing like a good chunk of: &lt;span&gt;&lt;span class=&#8221;MsoNormal&#8221; style=&#8221;font-size:12.pt&#8221;&gt;&lt;span&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  FrontPage also generates browser-specific code (guess which browser), but of course the FrontPage &#8220;web developer&#8221;.  And lets not forget that you need a server that allows FrontPage extensions.</p><h2>IIS Server</h2><p>IIS itself isn&#8217;t the worst of the evils.  Is does provide great support for ASP and .NET technologies but installing PHP on an IIS server and then getting it to work is a nightmare <em>(yes, I understand that IIS wasn&#8217;t meant for PHP).</em> I mention that because I believe PHP installation with others servers is pretty fluid.  IIS has also had more security issues than Apache but that&#8217;s no surprise, right?  IIS, to my knowledge, doesn&#8217;t allow for easy URL rewriting like Apache&nbsp;does.</p><h2>ActiveX</h2><p>Microsoft created ActiveX to allow for programmers to provide users functionality beyond the capabilities of the standard browser.  That&#8217;s fine and well most of the time but when malware creators get ignorant internet users to download their ActiveX control a world of hurt can ensue for the user.  Unfortunately Microsoft left IE untouched for years so no provisions were created to try to prevent the problem.  I&#8217;m on the internet more than the average user and I don&#8217;t visit any sites that require ActiveX functionality (I use Firefox, but never seem to encounter an ActiveX site).  ActiveX is clearly not a needed technology.</p><p>Microsoft has been a huge letdown, creating subpar technologies that stifle web developers.</p><p><strong>Follow Me!</strong> <a
href="http://twitter.com/davidwalshblog">Twitter</a> | <a
href="http://www.facebook.com/#!/pages/David-Walsh-Blog/186644584869">Facebook</a> | <a
href="http://www.linkedin.com/in/davidjameswalsh">LinkedIn</a> | <a
href="http://mootools.net/forge/profile/davidwalsh">MooTools Forge.</a><br/><br/>Full David Walsh Blog Post: <a
href="http://davidwalsh.name/microsofts-internet-atrocities">Microsoft&#8217;s Internet&nbsp;Atrocities</a></p><p>Related posts:<ol><li><a
href='http://davidwalsh.name/removing-internet-explorers-active-content-warning-on-flash-objects' rel='bookmark' title='Permanent Link: Removing Internet Explorer&#8217;s Active Content Warning on Flash&nbsp;Objects'>Removing Internet Explorer&#8217;s Active Content Warning on Flash&nbsp;Objects</a></li><li><a
href='http://davidwalsh.name/internet-explorer-cannot-open-internet-site' rel='bookmark' title='Permanent Link: IE Says &#8220;Internet Explorer cannot open the Internet Site ________. Operation Aborted.&#8221;  I Say&nbsp;&#8220;WTF?&#8221;'>IE Says &#8220;Internet Explorer cannot open the Internet Site ________. Operation Aborted.&#8221;  I Say&nbsp;&#8220;WTF?&#8221;</a></li><li><a
href='http://davidwalsh.name/chrome-frame' rel='bookmark' title='Permanent Link: Turn Internet Explorer into Chrome with Chrome&nbsp;Frame'>Turn Internet Explorer into Chrome with Chrome&nbsp;Frame</a></li><li><a
href='http://davidwalsh.name/the-7-major-roadblocks-that-cripple-web-developers-and-the-internet' rel='bookmark' title='Permanent Link: The 7 Major Roadblocks That Cripple Web Developers and The&nbsp;Internet'>The 7 Major Roadblocks That Cripple Web Developers and The&nbsp;Internet</a></li><li><a
href='http://davidwalsh.name/favorite-link-create-bookmark-link' rel='bookmark' title='Permanent Link: &#8220;Favorite&#8221; Link &#8212; How To Create a Bookmark&nbsp;Link'>&#8220;Favorite&#8221; Link &#8212; How To Create a Bookmark&nbsp;Link</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://davidwalsh.name/microsofts-internet-atrocities/feed</wfw:commentRss> <slash:comments>5</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 122/332 queries in 2.709 seconds using disk

Served from: davidwalsh.name @ 2010-09-02 23:32:04 -->