<?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>Lee Munroe &#187; ie</title> <atom:link href="http://www.leemunroe.com/tags/ie/feed/" rel="self" type="application/rss+xml" /><link>http://www.leemunroe.com</link> <description>User Experience and Web Interface Designer Lee Munroe</description> <lastBuildDate>Thu, 09 Feb 2012 02:44:16 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3</generator> <item><title>A better way to deal with Internet Explorer conditional styles</title><link>http://www.leemunroe.com/ie-conditional-css-styles/</link> <comments>http://www.leemunroe.com/ie-conditional-css-styles/#comments</comments> <pubDate>Mon, 30 May 2011 09:01:03 +0000</pubDate> <dc:creator>Lee</dc:creator> <category><![CDATA[Web Design]]></category> <category><![CDATA[css]]></category> <category><![CDATA[ie]]></category> <category><![CDATA[ie6]]></category> <category><![CDATA[internet explorer]]></category><guid
isPermaLink="false">http://www.leemunroe.com/?p=2430</guid> <description><![CDATA[For a few years now I&#8217;ve been using one or two conditional stylesheets to help with cross browser support, or in other words &#8216;to help fix Internet Explorer&#8217;. But recently&#8230;<html><body><h1>400 Bad request</h1> Your browser sent an invalid request.</body></html> ]]></description> <content:encoded><![CDATA[<p>For a few years now <strong>I&#8217;ve been using one or two conditional stylesheets</strong> to help with cross browser support, or in other words &#8216;to help fix Internet Explorer&#8217;. But recently I&#8217;ve been trying out Paul Irish&#8217;s technique.</p><p><span
id="more-2430"></span></p><h4>HTML5 Boilerplate</h4><p>If you haven&#8217;t already go over to <a
href="http://html5boilerplate.com/">HTML5 Boilerplate</a> and take a look at the notes. In particular look through the code for each file.</p><p>HTML5 Boilerplate is a <strong>bare bones framework</strong> for any web project, with all the best practice resets, styles, htaccess settings etc. in place.</p><p>I&#8217;ve been using bits and pieces of the HTML5 boilerplate for a while now and one of the things I like in particular is <strong>how it deals with conditional styles for Internet Explorer</strong>.</p><h4>IE conditional stylesheets</h4><p>Most of the sites I work on usually include something like this:</p><pre><code>&lt;!--[if lt IE 7]&gt;
&lt;link rel="stylesheet" href="ie.css" /&gt; 
&lt;![endif]--&gt;</code></pre><p>This was to fix anything that looked out of place in IE6, usually fixes for pngs, floats, widths, positioning etc.</p><p>In some cases <strong>the site might have 2 or 3 of these conditional stylesheets</strong> for IE7 and IE8 fixes also.</p><h4>Adding conditional classes to the html tag</h4><p>Recently I&#8217;ve started using something like this instead:</p><pre><code>&lt;!--[if lt IE 7]&gt;&lt;html class="ie6" lang="en-GB"&gt;&lt;![endif]--&gt;
&lt;!--[if IE 7]&gt;&lt;html class="ie7" lang="en-GB"&gt;&lt;![endif]--&gt;
&lt;!--[if IE 8]&gt;&lt;html class="ie8" lang="en-GB"&gt;&lt;![endif]--&gt;
&lt;!--[if gt IE 8]&gt;&lt;!--&gt;&lt;html lang="en-GB"&gt;&lt;!--&lt;![endif]--&gt;</code></pre><p>This <strong>adds classes to the HTML tag</strong> in the different versions of IE, enabling you to target them with different CSS rules.</p><p>If the user isn&#8217;t using Internet Explorer then it only recognises the <strong>html lang=&#8221;en-GB&#8221;</strong> tag.</p><p>So you can do stuff like this in your core stylesheet:</p><pre><code>fieldset legend{background-color:#f6f6f6;}
.ie6 fieldset{position:relative;}
.ie6 fieldset legend{position: absolute;top: -.5em;left: .2em;}</code></pre><p>This works better for a couple of reasons:</p><ol><li>Less HTTP requests (calling 1 stylesheet rather than 2 or 3)</li><li>It keeps your CSS rule in one place</li></ol><p><strong><em>What do you think, nice technique?</em></strong></p><h4>Further reading</h4><ul><li><a
href="http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/">Conditional stylesheets vs CSS hacks? Answer: Neither!</a></li><li><a
href="http://html5boilerplate.com/">HTML5 Boilerplate</a></li></ul> ]]></content:encoded> <wfw:commentRss>http://www.leemunroe.com/ie-conditional-css-styles/feed/</wfw:commentRss> <slash:comments>10</slash:comments> </item> <item><title>Internet Explorer Users Don&#8217;t Care About Rounded Corners</title><link>http://www.leemunroe.com/ie-rounded-corners-css3/</link> <comments>http://www.leemunroe.com/ie-rounded-corners-css3/#comments</comments> <pubDate>Mon, 19 Oct 2009 14:30:39 +0000</pubDate> <dc:creator>Lee</dc:creator> <category><![CDATA[Web Design]]></category> <category><![CDATA[css]]></category> <category><![CDATA[css3]]></category> <category><![CDATA[firefox]]></category> <category><![CDATA[ie]]></category> <category><![CDATA[ie6]]></category> <category><![CDATA[safari]]></category><guid
isPermaLink="false">http://www.leemunroe.com/?p=1607</guid> <description><![CDATA[Internet Explorer users don&#8217;t care about rounded corners. Bold statement? Perhaps. But recently I&#8217;ve taken this approach to a few designs as I&#8217;m tired of having to use some sort&#8230;]]></description> <content:encoded><![CDATA[<p><strong>Internet Explorer users don&#8217;t care about rounded corners.</strong> Bold statement? Perhaps. But recently I&#8217;ve taken this approach to a few designs as I&#8217;m tired of having to use some sort of <a
href="http://www.cssjuice.com/25-rounded-corners-techniques-with-css/">rounded corner hack</a> to support IE. It&#8217;s a lot easier to just <strong>use the CSS 3 declaration</strong>.</p><p><span
id="more-1607"></span></p><p>If you&#8217;re up-to-date with your CSS knowledge, you&#8217;ll know that <strong>CSS 3 has introduced rounded corners</strong>, among other &#8216;goodies&#8217;. The problem is though that IE doesn&#8217;t support CSS 3 yet but Firefox, Safari and Chrome do.</p><p>Some CSS 3 techniques I&#8217;ve been using on <a
href="http://sharethrough.com">Sharethrough</a> and <a
href="http://lookaly.com">Lookaly</a>:</p><h4>CSS 3 rounded corners</h4><div
style="text-align:center;"><img
src="http://www.leemunroe.com/wp-content/uploads/rounded.jpg" border="0" alt="rounded.jpg" width="540" height="100" /></div><p>&nbsp;</p><div
style="text-align:center;"><img
src="http://www.leemunroe.com/wp-content/uploads/rounded2.jpg" border="0" alt="rounded2.jpg" width="540" height="100" /></div><p>&nbsp;</p><pre><code>div{
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
}</code></pre><h4>CSS 3 text shadow</h4><div
style="text-align:center;"><img
src="http://www.leemunroe.com/wp-content/uploads/shadow2.jpg" border="0" alt="shadow2.jpg" width="540" height="100" /></div><p>&nbsp;</p><div
style="text-align:center;"><img
src="http://www.leemunroe.com/wp-content/uploads/shadow.jpg" border="0" alt="shadow.jpg" width="540" height="100" /></div><p>&nbsp;</p><pre><code>div{
text-shadow: -1px -1px 3px rgba(0,0,0,0.25);
}</code></pre><h4>CSS 3 box shadow</h4><div
style="text-align:center;"><img
src="http://www.leemunroe.com/wp-content/uploads/shadow3.jpg" border="0" alt="shadow3.jpg" width="540" height="100" /></div><p>&nbsp;</p><pre><code>img{
-webkit-box-shadow:0 0 5px 5px rgba(34,34,34,0.3);
-moz-box-shadow:0 0 5px 5px rgba(34,34,34,0.3);
}</code></pre><h4>But how do you deal with clients?</h4><p>This is where it gets tricky. If you show a client a mockup with rounded corners and the final solution doesn&#8217;t have these (because they use IE) they&#8217;ll probably not be too happy.</p><p>If you&#8217;re working with computer savvy clients, who use Safari or Firefox, they should understand. If you&#8217;re working on your own personal or side project, happy days. If not, you can try Andy Clarke&#8217;s approach of <strong>designing in the browser</strong>. <a
href="http://stuffandnonsense.co.uk/blog/about/time_to_stop_showing_clients_static_design_visuals/">Time to stop showing clients static design visuals</a> is a very good article about skipping the static mockup stage.</p><h4>Conclusion</h4><p>The point I&#8217;m trying to make here is that <strong>as long as it looks OK in all browsers</strong>, we can afford to take liberties when it comes to making it look nicer for those who use Firefox and Safari. Most designers use Firefox or Safari and they&#8217;ll appreciate the rounded corners more. IE users <em>*probably*</em> don&#8217;t care.</p><p><strong><em>What do you think? Have you started using CSS 3 in your designs? Do you think IE users should get to see the rounded corners too? Share your thoughts below.</em></strong></p> ]]></content:encoded> <wfw:commentRss>http://www.leemunroe.com/ie-rounded-corners-css3/feed/</wfw:commentRss> <slash:comments>68</slash:comments> </item> <item><title>Connecting to MAMP in Windows using Parallels on a Mac</title><link>http://www.leemunroe.com/connecting-to-mamp-with-windows-using-parallels-on-a-mac/</link> <comments>http://www.leemunroe.com/connecting-to-mamp-with-windows-using-parallels-on-a-mac/#comments</comments> <pubDate>Sat, 29 Nov 2008 12:20:30 +0000</pubDate> <dc:creator>Lee</dc:creator> <category><![CDATA[General News]]></category> <category><![CDATA[Apple]]></category> <category><![CDATA[ie]]></category> <category><![CDATA[mac]]></category> <category><![CDATA[mamp]]></category> <category><![CDATA[parallels]]></category> <category><![CDATA[php]]></category> <category><![CDATA[Wordpress]]></category><guid
isPermaLink="false">http://www.leemunroe.com/?p=619</guid> <description><![CDATA[I use MAMP for running Apache, MySQL and PHP on the Mac. A simple click and all 3 are up and running in 5 seconds and you can easily configure&#8230;]]></description> <content:encoded><![CDATA[<p>I use <a
href="http://www.mamp.info">MAMP</a> for running Apache, MySQL and PHP on the Mac. A simple click and all 3 are up and running in 5 seconds and you can easily configure your ports and root folder.</p><p>However, I was having trouble accessing my MAMP server through Parallels. I use Parallels to <strong>test my sites on Internet Explorer</strong> and it&#8217;s pretty important that I&#8217;m able to do this in development before going live.</p><p>I found this <a
href="http://timothyfletcher.com/journal/posts/setup-guide-for-mamp-parallels-desktop-and-wordpress">excellent solution from Tim Fletcher</a> and thought I&#8217;d summarize it below so you too can get testing your <strong>Wordpess, CodeIgniter, PHP sites</strong> etc. through Parallels.<br
/> <span
id="more-619"></span></p><h4>1. Install Bonjour for Windows</h4><p>Download and install (in your Windows OS) Apple&#8217;s <a
href="http://www.apple.com/support/downloads/bonjourforwindows.html">Bonjour For Windows</a>.</p><h4>2. Enable file sharing</h4><p>Now back in Mac OSX, enable <strong>file sharing</strong>. System Preferences &gt; Sharing &gt; File Sharing.</p><div
class="blog-img"><img
src="http://www.leemunroe.com/wp-content/uploads/picture-6.png" border="0" alt="File Sharing" width="472" height="184" /></div><h4>3. Change your computer name</h4><p>From the &#8216;Sharing&#8217; window you have open, change your computers name to <strong>localhost.local</strong>.</p><div
class="blog-img"><img
src="http://www.leemunroe.com/wp-content/uploads/picture-15.png" border="0" alt="Computer Name" width="472" height="184" /></div><h4>4. Change your Apache and MySQL ports in MAMP</h4><p>Run MAMP and open up &#8216;Preferences&#8217;. Change the Apache Port to <strong>80</strong> and the MySQL Port to <strong>3306</strong></p><div
class="blog-img"><img
src="http://www.leemunroe.com/wp-content/uploads/picture-16.png" border="0" alt="Ports" width="338" height="229" /></div><p>N.B. Make sure there are no other instances of MySQL running.</p><h4>5. Configure your framework</h4><p>Change the settings on your framework to reflect the new settings.</p><p>The example I&#8217;ve used here is WordPress. Change your WordPress address (&amp; blog address) to <strong>http://localhost.local</strong> (Settings &gt; General).</p><div
class="blog-img"><img
src="http://www.leemunroe.com/wp-content/uploads/picture-17.png" border="0" alt="Settings" width="392" height="133" /></div><h4>Volia!</h4><p>You should now be able to access your site from your Parallels Windows environment using the URL http://localhost.local and you can test your site in IE.</p> ]]></content:encoded> <wfw:commentRss>http://www.leemunroe.com/connecting-to-mamp-with-windows-using-parallels-on-a-mac/feed/</wfw:commentRss> <slash:comments>18</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic (User agent is rejected)
Database Caching 20/30 queries in 0.195 seconds using disk: basic

Served from: www.leemunroe.com @ 2012-02-09 12:52:48 -->
