<?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; css</title> <atom:link href="http://www.leemunroe.com/tags/css/feed/" rel="self" type="application/rss+xml" /><link>http://www.leemunroe.com</link> <description>Freelance Web Design Belfast Northern Ireland</description> <lastBuildDate>Tue, 24 Aug 2010 18:37:07 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Start Experimenting With CSS3 Keyframe Animations</title><link>http://www.leemunroe.com/css3-animations/</link> <comments>http://www.leemunroe.com/css3-animations/#comments</comments> <pubDate>Wed, 28 Jul 2010 10:01:40 +0000</pubDate> <dc:creator>Lee</dc:creator> <category><![CDATA[Web Design]]></category> <category><![CDATA[animations]]></category> <category><![CDATA[css]]></category> <category><![CDATA[css3]]></category><guid
isPermaLink="false">http://www.leemunroe.com/?p=2052</guid> <description><![CDATA[You can now produce stunning animations with CSS3. Did you know that? Of course you did.
CSS3 animations are the new kid on the block. It&#8217;s a big step. Although they haven&#8217;t really taken centre stage yet as only the webkit browsers support them.
For this reason they&#8217;re used sparingly, in a lot of cases for experimental [...]]]></description> <content:encoded><![CDATA[<p>You can now produce stunning animations with CSS3. Did you know that? Of course you did.</p><p>CSS3 animations are the new kid on the block. It&#8217;s a big step. Although <strong>they haven&#8217;t really taken centre stage yet as only the webkit browsers support them.</strong></p><p>For this reason they&#8217;re used sparingly, in a lot of cases for <strong>experimental purposes or as &#8216;hidden gems&#8217;</strong>, but that doesn&#8217;t mean you should shy away from getting stuck in.</p><p>It was only recently I experimented myself so I thought I&#8217;d share a beginner&#8217;s demo with you.</p><p><span
id="more-2052"></span></p><h4>How to do CSS3 keyframe animations</h4><p>Keyframe animations involve you setting the object state (or property) at different stages of an animation.</p><h5>Setup the environment</h5><p>Let&#8217;s setup a little demo. I&#8217;m going to start with two basic boxes.</p><pre><code>&lt;div class="box1"&gt;&lt;/div&gt;
&lt;div class="box2"&gt;&lt;/div&gt;</code></pre><p>Now apply some basic styling so we can see them.</p><pre><code>.box1{
width:200px;
height:200px;
background:rgba(255,0,0,0.5);
position:absolute;
top:100px;
left:50%;
margin-left:-100px;
}

.box2{
width:200px;
height:200px;
background:rgba(0,0,255,0.5);
position:absolute;
top:100px;
left:90%;
margin-left:-100px;
}</code></pre><p>And you&#8217;ve got yourself two boxes.</p><div
style="text-align:center;"><a
href="http://leemunroe.com/animation/animation1.html"><img
src="http://cdn.leemunroe.com/wp-content/uploads/demo1.gif" alt="demo1.gif" border="0" width="540" height="182" /></a></div><p><a
href="http://leemunroe.com/animation/animation1.html">View demo.</a></p><h5>Setup the animation affect</h5><p>Setup the animation affect and call it &#8216;movingbox&#8217;.</p><pre><code>@-webkit-keyframes movingbox{
0%{left:90%;}
50%{left:10%;}
100%{left:90%;}
}</code></pre><p><strong>movingbox</strong> is the name we&#8217;re giving the animation. It&#8217;s up to you what you want to call it.</p><p>The keyframes we&#8217;ve setup for this animation are at 0% (start), 50% (halfway through) and 100% (end). The properties we&#8217;ve set at these keyframes are different positions. You can set any properties you like here.</p><p>So far we still have two static boxes.</p><div
style="text-align:center;"><a
href="http://leemunroe.com/animation/animation1.html"><img
src="http://cdn.leemunroe.com/wp-content/uploads/demo11.gif" alt="demo1.gif" border="0" width="540" height="182" /></a></div><p><a
href="http://leemunroe.com/animation/animation2.html">View demo.</a></p><h5>Apply the keyframe animation</h5><p>Our last step applies the magic to the object of our choosing. We&#8217;re going to apply it to &#8216;box2&#8242;.</p><pre><code>.box2{
-webkit-animation:movingbox 5s infinite;
}</code></pre><p><strong>movingbox</strong> calls the animation we want to use, which we have already defined.</p><p><strong>5s</strong> states we want the animation movement to last 5 seconds.</p><p><strong>infinite</strong> means the animation will keep going and going.</p><p>We now have a CSS3 animation &#8211; box2 should be moving from right to left and back again. (Note: remember this only works in Safari and Chrome).</p><div
style="text-align:center;"><a
href="http://leemunroe.com/animation/animation3.html"><img
src="http://cdn.leemunroe.com/wp-content/uploads/demo3.gif" alt="demo3.gif" border="0" width="540" height="271" /></a></div><p><a
href="http://leemunroe.com/animation/animation3.html">View demo.</a></p><h4>More CSS3 animation properties</h4><p>This is a very simple example I have used here, and is just to help beginners get started.</p><p>For the -webkit-animation property, there are a number of other values you can try:</p><ul><li>-webkit-animation-name: [any name you like];</li><li>-webkit-animation-iteration-count: [number, infinite];</li><li>-webkit-animation-timing-function: [linear, ease,ease-in, ease-out];</li><li>-webkit-animation-duration: [time];</li><li>-webkit-animation-delay: [time];</li></ul><p>For the @-webkit-keyframes rule, instead of using percentage as keyframes, we can also declare a from and to state. You can also make it transform while animating.</p><pre><code>@-webkit-keyframes movingbox{
from{left:90%;-webkit-transform: rotate(0deg);}
to{left:10%;-webkit-transform: rotate(360deg);}
}</code></pre><p><a
href="http://leemunroe.com/animation/animation4.html">View demo.</a></p><h4>CSS3 animations in action</h4><p>See if you can spot the @keyframe animations on these sites (note: you&#8217;ll need to use a webkit browser like Safari or Chrome to see the animations in action).</p><h5><a
href="http://neography.com/experiment/circles/solarsystem/">Our Solar System</a></h5><div
style="text-align:center;"><a
href="http://neography.com/experiment/circles/solarsystem/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/solar.jpg" alt="solar.jpg" border="0" width="540" height="543" /></a></div><p>Our Solar System using pure CSS3 for planets and orbits.</p><h5><a
href="http://futureofwebdesign.com/404/">Future Of Web Design</a></h5><div
style="text-align:center;"><a
href="http://futureofwebdesign.com/404/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/fowd3.jpg" alt="fowd.jpg" border="0" width="540" height="295" /></a></div><p>404 pages are always a nice place to experiment with stuff that only us geeks will get.</p><h5><a
href="http://hardboiledwebdesign.com/">Hard Boiled Web Design</a></h5><div
style="text-align:center;"><a
href="http://hardboiledwebdesign.com/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/hardboiled.jpg" alt="hardboiled.jpg" border="0" width="540" height="301" /></a></div><p>If the teaser site is anything to go by this book from Andy Clarke should be a good CSS3 reference.</p><h5><a
href="http://massiveblue.com/">Massive Blue</a></h5><div
style="text-align:center;"><a
href="http://massiveblue.com/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/massive.jpg" alt="massive.jpg" border="0" width="540" height="362" /></a></div><p>Sam Brown&#8217;s portfolio animation is subtle but beautifully executed.</p><h5><a
href="http://eclipticlabs.com">Ecliptic</a></h5><div
style="text-align:center;"><a
href="http://eclipticlabs.com"><img
src="http://cdn.leemunroe.com/wp-content/uploads/ecliptic3.jpg" alt="ecliptic.jpg" border="0" width="540" height="400" /></a></div><p>This was my experiment, a hidden &#8216;Easter egg&#8217; on the Ecliptic website.</p><h4>Conclusion</h4><p>In regards to usefulness, the CSS3 animations above aren&#8217;t that. But <strong>they do let you, the designer, experiment</strong> with the latest techniques available.</p><p><strong>Make a point of working a CSS3 animation into your next project just so you can get a feel for how they work.</strong> Then in the near future, when more browsers adopt them, you&#8217;ll be able to make some <strong>really attractive user interfaces without a gif or Javascript effect in sight</strong>.</p><p><strong><em>Have you experimented with CSS3 animations yet?</em></strong></p><h4>Further reading</h4><ul><li><a
href="http://www.w3.org/TR/css3-animations">CSS3 animation properties on W3</a></li><li><a
href="http://24ways.org/2009/css-animations">Mr Max Voltar on CSS Animations</a></li><li><a
href="http://webkit.org/blog/324/css-animation-2/">CSS Animation on Surfin&#8217; Safari</a></li></ul> ]]></content:encoded> <wfw:commentRss>http://www.leemunroe.com/css3-animations/feed/</wfw:commentRss> <slash:comments>10</slash:comments> </item> <item><title>How To Setup A Reusable Framework For Your Next Website</title><link>http://www.leemunroe.com/reusable-website-framework/</link> <comments>http://www.leemunroe.com/reusable-website-framework/#comments</comments> <pubDate>Wed, 03 Mar 2010 10:01:05 +0000</pubDate> <dc:creator>Lee</dc:creator> <category><![CDATA[Web Design]]></category> <category><![CDATA[css]]></category> <category><![CDATA[framework]]></category> <category><![CDATA[html]]></category> <category><![CDATA[html5]]></category> <category><![CDATA[p52]]></category><guid
isPermaLink="false">http://www.leemunroe.com/?p=1891</guid> <description><![CDATA[You&#8217;ve done your research, sketched out the wireframes, designed a stunning mockup and now its time to markup. Where do you start?
Having your own reusable framework is a great way to save time and provide a basis for your next website.
Your own reusable framework is by no means perfect for every project that you work [...]]]></description> <content:encoded><![CDATA[<p>You&#8217;ve done your research, sketched out the wireframes, designed a stunning mockup and now its time to markup. Where do you start?</p><p>Having your own reusable framework is a great way to <strong>save time and provide a basis for your next website</strong>.</p><p>Your own reusable framework is by no means perfect for every project that you work on but it is a <strong>great starting point</strong> and it can <strong>evolve</strong> over time.</p><p><span
id="more-1891"></span></p><p>This post looks at the current framework I have in place and breaks it down. <strong><em>Please feel free to reuse this as you see fit and also point out anything that you feel would be beneficial to add (or remove).</em></strong></p><h4>Framework structure</h4><div
style="text-align:center;"><img
src="http://cdn.leemunroe.com/wp-content/uploads/Picture-3.png" alt="Picture 3.png" border="0" width="382" height="182" /></div><p>All files are kept in a folder simply named &#8216;<strong>NewSite</strong>&#8216; which contains the following:</p><p><strong>ie.css</strong ><br
/> A stylesheet specific for <strong>IE6</strong> (or sometimes 7) that at the end of a project will usually contain various <strong>CSS bug fixes</strong> and PNG transparency fixes.</p><p><strong>images/ directory</strong><br
/> For storing all images for the website.</p><p><strong>index.html</strong><br
/> The <strong>main template</strong> for the website. Depending on CMS or programming language I use this will be chopped up at some stage.</p><p><strong>print.css</strong><br
/> A stylesheet used when printing a document.</p><p><strong>scripts/ directory</strong><br
/> For placing all the project&#8217;s Javascript files.</p><p><strong>script.js</strong><br
/> A default script for placing most of the project&#8217;s Javascript code, stored in the scripts directory.</p><p><strong>style.css</strong><br
/> The main stylesheet.</p><p>Now lets look at what each file contains.</p><h4>index.html</h4><p>This is the main template for any website and the starting point for marking up.</p><pre><code>&lt;!doctype html&gt;
&lt;html lang="en"&gt;
&lt;head&gt;
	&lt;meta charset="utf-8"&gt;
	&lt;meta name="description" content=""&gt;
	&lt;meta name="keywords" content=""&gt;
	
	&lt;link rel="icon" type="image/x-icon" href="http://cdn.leemunroe.com/favicon.ico" /&gt;
	
	&lt;link rel="stylesheet" type="text/css" href="style.css" media="screen" /&gt;
	&lt;link rel="stylesheet" type="text/css" href="print.css" media="print" /&gt;
	
	&lt;!--[if lt IE 7]&gt;
	&lt;link rel="stylesheet" href="ie.css" type="text/css" /&gt;
	&lt;![endif]--&gt;
	
&lt;!-- 	&lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"&gt;&lt;/script&gt; --&gt;
	&lt;script type="text/javascript" src="scripts/script.js"&gt;&lt;/script&gt;
	
	&lt;title&gt;&lt;/title&gt;
&lt;/head&gt;

&lt;body&gt;

&lt;p id="skipto"&gt;&lt;a href="#main"&gt;Skip to content&lt;/a&gt;&lt;/p&gt;

&lt;div id="header" class="group"&gt;
	&lt;div id="logo"&gt;&lt;a href="/"&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
	&lt;ul id="nav"&gt;
		&lt;li class="selected"&gt;&lt;a href=""&gt;&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=""&gt;&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=""&gt;&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=""&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;
&lt;/div&gt;

&lt;div id="content" class="group"&gt;
	&lt;div id="main" class="main"&gt;
	
	&lt;/div&gt;
	
	&lt;div class="sidebar"&gt;
	
	&lt;/div&gt;
&lt;/div&gt;

&lt;div id="footer"&gt;
&lt;p&gt;Copyright &amp;copy;&lt;/p&gt;
&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;</code></pre><p>Notes about the markup used:</p><ul><li>The doctype is <strong>HTML 5</strong></li><li>There is a &#8216;<strong>skip to content</strong>&#8216; link for screen readers (the style sheet will hide this)</li><li>Uses a conditional statement to load <strong>ie.css for Internet Explorer browsers below version 7</strong></li><li>JQuery library is included using <strong>Google&#8217;s CDN</strong> (but is commented out until it is needed)</li><li>The bare bones of the markup has been added</li></ul><h4>styles.css</h4><p>Now lets look at the default stylesheet I&#8217;m using.</p><pre><code>/*
Author: Lee Munroe
*/


/* 
# CSS contents ###################
* 1 Reset defaults
* 2 Layout
* 3 Nav
* 4 Headings
* 5 Lists
* 6 Images
* 7 Links
* 8 Forms
* 9 Tables
* 10 Typography 
* 11 Other
*/


/* 
# Colour reference ###################


*/
 
/*
# Reset defaults ################### 
*/

html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote, pre, form, fieldset, table, th, td { margin: 0; padding: 0; } 
a:link, a:visited{text-decoration:none;outline:none;}
html {overflow: -moz-scrollbars-vertical;}
#skipto{position:absolute;left:-9999px;top:-9999px;}
.group:after {content: ".";display: block;height: 0;clear: both;visibility: hidden;}

/*
# Layout ################### 
*/

body{font:75%/1.5  "Helvetica Neue", Helvetica, Arial, sans-serif;color:#222;background:#fff;}

/*
# Nav ################### 
*/



/*
# Headings ################### 
*/

h1{}

h2{}

h3{}

h4{}

#logo{width:;height:;background:url(images/logo.gif) no-repeat;}
#logo a{display:block;height:100%;width:100%;}
#logo a span{position:absolute;left:-9999px;top:-9999px;}

/*
# Lists ################### 
*/



/*
# Images ################### 
*/

img{border:none;}
img.left{margin:0 10px 10px 0;}
img.right{margin:0 0 10px 10px;}

/*
# Links ################### 
*/

a{}
a:hover{}

/*
# Forms ################### 
*/



/*
# Tables ################### 
*/



/*
# Typography ################### 
*/

p{margin:0 0 1.5em;}

/*
# Other ################### 
*/

.right{float:right;}
.left{float:left;}
.clear{clear:both;}
.alignleft{text-align: left;}
.alignright{text-align: right;}
.aligncenter{text-align: center;}</code></pre><p>Notes for the stylesheet:</p><ul><li><strong>Author name</strong> at the top. I&#8217;ll also include the <strong>project name and date</strong> here. This is mainly for the records of anyone the site is handed over to.</li><li>Using <strong>comments</strong> to break down the stylesheet into <strong>sections</strong> making it easier to scan down and find styles. Larger projects may have a different structure.</li><li>A general <strong>reset</strong> for margins and padding. There are lots of more advanced resets out there but I find this basic one works well. <a
href="http://meyerweb.com/eric/tools/css/reset/">Read about CSS reset here</a></li><li>.group:after &#8211; the group class is applied to <strong>any element that needs cleared right after</strong>. Usually where there are 2 or more floats side by side.</li></ul><h4>ie.css</h4><pre><code>.group {zoom: 1;}</code></pre><p>Notes:</p><ul><li>As it stands, only contains a fix for the .group class</li></ul><h4>print.css</h4><pre><code>#header, #footer{display:none;}</code></pre><p>Notes:</p><ul><li>Removes the header and the footer when printing. The final file will need tinkering with though.</li></ul><h4>script.js</h4><pre><code>/*
$(document).ready(function() {
	
});
*/</code></pre><p>Notes:</p><ul><li>The document ready function is for JQuery Javascript functions that you want to run when your page loads. This is commented out until needed.</li></ul><h4>Conclusion</h4><p><a
href="http://cdn.leemunroe.com/wp-content/uploads/NewSite.zip" class="button cta"  onClick="javascript: pageTracker._trackPageview('/downloads/framework'); ">Download framework as zip file</a></p><p>Please feel free to use these templates in your own projects.</p><p>Again, this is just a framework I&#8217;ve put together over time. I recommend you adapt it to suit your own environment.</p><p><strong><em>What does your framework look like? Anything useful I&#8217;ve missed?</em></strong></p><h4>Further reading</h4><p>More useful templates/frameworks to check out:</p><ul><li><a
href="http://960.gs/">960 Grid System</a></li><li><a
href="http://www.blueprintcss.org/">Blueprint</a></li></ul> ]]></content:encoded> <wfw:commentRss>http://www.leemunroe.com/reusable-website-framework/feed/</wfw:commentRss> <slash:comments>59</slash:comments> </item> <item><title>Book Review: Handcrafted CSS</title><link>http://www.leemunroe.com/handcrafted-css-book/</link> <comments>http://www.leemunroe.com/handcrafted-css-book/#comments</comments> <pubDate>Tue, 02 Feb 2010 09:02:19 +0000</pubDate> <dc:creator>Lee</dc:creator> <category><![CDATA[Web Design]]></category> <category><![CDATA[book]]></category> <category><![CDATA[css]]></category> <category><![CDATA[css3]]></category> <category><![CDATA[dan cederholm]]></category> <category><![CDATA[p52]]></category> <category><![CDATA[review]]></category><guid
isPermaLink="false">http://www.leemunroe.com/?p=1779</guid> <description><![CDATA[Handcrafted CSS is by one of the web design industries&#8217; most established authors, Dan Cederholm. He is the man behind Bulletproof Web Design, Web Standards Solutions, Simple Bits and most recently Dribbble.Dan is well known for his clean markup, embracing advanced CSS and his love of ampersands so I was really looking forward to this [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://www.amazon.co.uk/gp/product/0321643380?ie=UTF8&amp;tag=10homepa-21&amp;linkCode=as2&amp;camp=1634&amp;creative=19450&amp;creativeASIN=0321643380">Handcrafted CSS</a> is by one of the web design industries&#8217; most established authors, <a
href="http://twitter.com/simplebits">Dan Cederholm</a>. He is the man behind <a
href="http://www.amazon.co.uk/gp/product/0321509021?ie=UTF8&amp;tag=10homepa-21&amp;linkCode=as2&amp;camp=1634&amp;creative=19450&amp;creativeASIN=0321509021">Bulletproof Web Design</a>, <a
href="http://www.amazon.co.uk/gp/product/1430219203?ie=UTF8&amp;tag=leemunroe-21&amp;linkCode=as2&amp;camp=1634&amp;creative=19450&amp;creativeASIN=1430219203">Web Standards Solutions</a>, <a
href="http://simplebits.com/">Simple Bits</a> and most recently <a
href="http://dribbble.com/">Dribbble</a>.</p><p><span
id="more-1779"></span></p><p>Dan is well known for his clean markup, embracing advanced CSS and his love of ampersands so I was really looking forward to this book.</p><div
style="text-align:center;"><p><a
href="http://www.amazon.co.uk/gp/product/0321643380?ie=UTF8&amp;tag=10homepa-21&amp;linkCode=as2&amp;camp=1634&amp;creative=19450&amp;creativeASIN=0321643380"><img
src="http://cdn.leemunroe.com/wp-content/uploads/css.jpg" border="0" alt="css.jpg" width="410" height="500" /></a></p></div><blockquote><p>Handcrafted CSS is for the CSS designer who wants to go the extra mile.</p></blockquote><h4>Who is it for?</h4><p>This book would be more for <strong>intermediate/advanced designers</strong>, which is great as there are so many &#8216;beginner&#8217; books out there it was nice to read a book that just got stuck in.</p><p><strong>It&#8217;s for designers who care about the little things &#8211; the clean markup, the grid, the 1 pixels and the ampersands.</strong></p><h4>What&#8217;s in it?</h4><ul><li>Simple tricks for dealing with everyday CSS obstacles</li><li>Bulletproof CSS3 techniques</li><li>The fluid grid</li><li>Floats (and clearing them)</li><li>Frameworks (and crafting your own)</li><li>Small details that can make a great design</li><li>Stuff about ampersands</li></ul><h4>Verdict</h4><p>I <em>really</em> enjoyed this book. <strong>I was able to learn from it, advance current techniques and be inspired by it.</strong></p><p>It&#8217;s easy to relate to everything outlined in the book. Some things were a reminder while others I had never thought of before. Truly inspired to go away and start crafting something special.</p><p>Not only is the content good, even how the book is laid out is gorgeous with well spaced pages, nice formatting and an embossed front cover.</p><p><strong>Highly recommended.</strong></p><h4>Pull quotes</h4><p><blockquote>&#8230;the larger the target, the quicker and easier it is to get there.</p></blockquote><p><blockquote>but the important thing to remember here is that this method degrades beautifully&#8230;The design is intact. It&#8217;s functional and readable.</p></blockquote><p><blockquote>&#8230;the rounded corners in Mozilla- and WebKit- based browsers are visual rewards rather than necessary requirements.</p></blockquote><p><blockquote>The problem with the fixed-width approach to interface design is that it&#8217;s asking the user to adapt to the design rather than the reverse.</p></blockquote> ]]></content:encoded> <wfw:commentRss>http://www.leemunroe.com/handcrafted-css-book/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>How To Design A Sexy Button Using CSS</title><link>http://www.leemunroe.com/css-button/</link> <comments>http://www.leemunroe.com/css-button/#comments</comments> <pubDate>Tue, 26 Jan 2010 09:02:24 +0000</pubDate> <dc:creator>Lee</dc:creator> <category><![CDATA[Web Design]]></category> <category><![CDATA[buttons]]></category> <category><![CDATA[css]]></category> <category><![CDATA[css3]]></category> <category><![CDATA[p52]]></category> <category><![CDATA[tutorial]]></category><guid
isPermaLink="false">http://www.leemunroe.com/?p=1753</guid> <description><![CDATA[Last week I launched a holding page for Ecliptic Labs, an iPhone development company based in Belfast (keep an eye on them, there&#8217;s going to be some great stuff from them this year).
Here is the holding page in all it&#8217;s glory.One thing you&#8217;ll notice is the big &#8216;Notify me&#8217; button. One of the great things [...]]]></description> <content:encoded><![CDATA[<p>Last week I launched a holding page for <a
href="http://eclipticlabs.com/">Ecliptic Labs</a>, an iPhone development company based in Belfast (keep an eye on them, there&#8217;s going to be some great stuff from them this year).</p><p>Here is the holding page in all it&#8217;s glory.</p><p><span
id="more-1753"></span></p><div
style="text-align:center;"><a
href="http://eclipticlabs.com/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/ecliptic.jpg" alt="ecliptic.jpg" border="0" width="540" height="362" /></a></div><p>One thing you&#8217;ll notice is the big <strong>&#8216;Notify me&#8217; button</strong>. One of the great things about this button is that <strong>it isn&#8217;t a graphic</strong>. It&#8217;s simply <strong>styled using CSS</strong>.</p><p>Advantages of using CSS instead of a graphic:</p><ol><li><strong>Optimisation</strong> &#8211; less file size, less http requests</li><li><strong>Reusable</strong> &#8211; button can be used over and over again for different actions</li><li><strong>Flexible</strong> &#8211; the button can stretch or compact depending on length of the text</li></ol><h4>Styling the button element</h4><p>I&#8217;m going to be using Firefox 3.6 for the previews below.</p><h5>The markup</h5><pre><code>&lt;button&gt;Notify me&lt;/button&gt;</code></pre><p>This is how the default button looks.</p><div
style="text-align:center;"><img
src="http://cdn.leemunroe.com/wp-content/uploads/1.jpg" alt="1.jpg" border="0" width="92" height="55" /></div><h5>Basic styling</h5><p>First apply some basic styling to get started.</p><pre><code>button{
color:#08233e;
font:2.4em Futura, ‘Century Gothic’, AppleGothic, sans-serif;
padding:14px;
}</code></pre><p>Nothing strange or startling about these styles. This is what we have now.</p><div
style="text-align:center;"><img
src="http://cdn.leemunroe.com/wp-content/uploads/2.jpg" alt="2.jpg" border="0" width="163" height="68" /></div><h5>Background</h5><p>Let&#8217;s add a background. Remember, we want to make the button reusable for any colour.</p><ol><li>Go into Photoshop and create a new image 10px x 100px</li><li>Create a white rectangular shape that covers the top half of the canvas on a new layer</li><li>Give that layer 30% opacity and make the background transparent</li><li>Save that image as <a
href="http://cdn.leemunroe.com/wp-content/uploads/overlay.png">overlay.png</a></li></ol><div
style="text-align:center;"><img
src="http://cdn.leemunroe.com/wp-content/uploads/3.jpg" alt="3.jpg" border="0" width="161" height="194" /></div><p>Decide what background colour you want to use and apply it to the button along with the overlay you just made.</p><pre><code>background:url(overlay.png) repeat-x center #ffcc00;</code></pre><p>This gives us a nice yellow background with a glossy overlay.</p><div
style="text-align:center;"><img
src="http://cdn.leemunroe.com/wp-content/uploads/4.jpg" alt="4.jpg" border="0" width="178" height="84" /></div><h5>Border</h5><p>Now get rid of that horrible outset border. Let&#8217;s give it a fine border that matches the background colour.</p><pre><code>border:1px solid #ffcc00;</code></pre><div
style="text-align:center;"><img
src="http://cdn.leemunroe.com/wp-content/uploads/5.jpg" alt="5.jpg" border="0" width="187" height="92" /></div><h5>Rounded corners</h5><p>Make your button a bit friendlier by giving it rounded corners. This is where Webkit and Mozilla browser users will take advantage, while IE browsers will be stuck with sharp corners.</p><pre><code>-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;</code></pre><div
style="text-align:center;"><img
src="http://cdn.leemunroe.com/wp-content/uploads/6.jpg" alt="6.jpg" border="0" width="182" height="89" /></div><p>Starting to look good eh? But a good designer likes to pay attention to detail.</p><h5>Pixel perfection</h5><p>Now finish off the button with some pixel perfect embossing. We&#8217;re going to give it a 1 pixel border and a 1 pixel inset shadow.</p><pre><code>border-bottom:1px solid #9f9f9f;
-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.5);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.5);box-shadow:inset 0 1px 0 rgba(255,255,255,0.5);</code></pre><p>Notice how we&#8217;re using RGBA colours here. This allows us to apply alpha opacity to the colour. In this case, we&#8217;re giving white a 50% opacity.</p><div
style="text-align:center;"><img
src="http://cdn.leemunroe.com/wp-content/uploads/7.jpg" alt="7.jpg" border="0" width="179" height="86" /></div><div
style="text-align:center;"><img
src="http://cdn.leemunroe.com/wp-content/uploads/8.jpg" alt="8.jpg" border="0" width="179" height="86" /></div><h5>Make it clickable</h5><p>We know it&#8217;s a button and that it can be clicked but users might not. Change the cursor to a pointer so users know they can click it.</p><pre><code>cursor:pointer;</code></pre><h5>Hover state</h5><p>We now have a pretty sexy looking button. But what about a hover state?</p><p>To save us from thinking about a colour for the hover state, we can use the RGBA approach. Let&#8217;s revisit the background style. Add this after your background declaration.</p><pre><code>background-color:rgba(255,204,0,1);</code></pre><p>Nothing changes. All we did was change it to the same colour but using RGBA.</p><p>But how for the button&#8217;s hover state, give it the same background colour but alter the opacity slightly.</p><pre><code>button:hover{background-color:rgba(255,204,0,0.8);}</code></pre><p>This gives us a slightly different shade of background on hover, giving the user some feedback so they know they&#8217;ve hovered over a clickable button.</p><h5>Put it all together</h5><p>The final code.</p><pre><code>button{
color:#08233e;
font:2.4em Futura, ‘Century Gothic’, AppleGothic, sans-serif;
padding:14px;
background:url(images/splash/button.png) repeat-x center #ffcc00;background-color:rgba(255,204,0,1);
border:1px solid #ffcc00;
-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;
border-bottom:1px solid #9f9f9f;
-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.5);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.5);box-shadow:inset 0 1px 0 rgba(255,255,255,0.5);
cursor:pointer;
}

button:hover{background-color:rgba(255,204,0,0.8);}

button:active{position:relative;top:2px;}</code></pre><p>I&#8217;ve slipped in an active state as well for the button so the user knows when they&#8217;ve clicked it.</p><p>This is how it looks in Firefox:</p><div
style="text-align:center;"><img
src="http://cdn.leemunroe.com/wp-content/uploads/9.jpg" alt="9.jpg" border="0" width="181" height="89" /></div><p><strong>And this is an active preview.</strong></p><style type="text/css">button.preview{
color:#08233e;
font:2.4em Futura, ‘Century Gothic’, AppleGothic, sans-serif;
padding:14px;
background:url(http://www.leemunroe.com/wp-content/uploads/overlay.png) repeat-x center #ffcc00;background-color:rgba(255,204,0,1);
border:1px solid #ffcc00;
-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;
border-bottom:1px solid #9f9f9f;
-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.5);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.5);box-shadow:inset 0 1px 0 rgba(255,255,255,0.5);
cursor:pointer;
}button:hover{background-color:rgba(255,204,0,0.8);}button.preview:active{position:relative;top:2px;}</style><div
style="text-align:center"> <button
class="preview">Notify me</button></div><p>Remember the button is reusable so if you apply a class to the button, e.g. class=&#8221;save&#8221;, you can apply a different colour to this button.</p><pre><code>button.save{
background-color:#a7dd32;background-color:rgba(167,221,50,1);
border-color:#a7dd32;
}

button.save:hover{
background-color:rgba(167,221,50,0.8);
}</code></pre><p>And you&#8217;d get something like this.</p><div
style="text-align:center;"><img
src="http://cdn.leemunroe.com/wp-content/uploads/10.jpg" alt="10.jpg" border="0" width="180" height="91" /></div><h5>But what about Internet Explorer?</h5><p>Yes, unfortunately IE users won&#8217;t get the full benefits of the sexy button. However, it doesn&#8217;t look that bad and to IE users it will seem like there is nothing wrong.</p><div
style="text-align:center;"><img
src="http://cdn.leemunroe.com/wp-content/uploads/11.jpg" alt="11.jpg" border="0" width="171" height="70" /></div><p>And IE6? It doesn&#8217;t support PNG transparency so you can remove the overlay background image with an IE6 conditional stylesheet.</p><pre><code>&lt;!--[if lt IE 7]&gt;
&lt;link rel="stylesheet" href="ie.css" type="text/css" /&gt;
&lt;![endif]--&gt;</code></pre><p>Then in ie.css:</p><pre><code>button{background-image:none !important;}</code></pre><p>And there you have it. A beautifully designed button using (pretty much) only CSS.</p><p><a
href="http://eclipticlabs.com"><img
src="http://cdn.leemunroe.com/wp-content/uploads/field.jpg" alt="field" title="field" width="540" height="102" class="alignnone size-full wp-image-1770" /></a></p><h4>Further reading</h4><p>I highly recommend you check out this great tutorial by Zurb on <a
href="http://www.zurb.com/article/266/super-awesome-buttons-with-css3-and-rgba">super awesome buttons with CSS3 and RGBA</a>. A handy tutorial for styling reusable buttons.</p> ]]></content:encoded> <wfw:commentRss>http://www.leemunroe.com/css-button/feed/</wfw:commentRss> <slash:comments>15</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 of rounded corner hack to support IE. It&#8217;s a lot easier to just use the CSS 3 declaration.If you&#8217;re up-to-date with your CSS knowledge, you&#8217;ll [...]]]></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://cdn.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://cdn.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://cdn.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://cdn.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://cdn.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>62</slash:comments> </item> <item><title>Book Review: HTML and CSS Web Standards Solutions: A Web Standardistas&#8217; Approach</title><link>http://www.leemunroe.com/web-standardistas-book/</link> <comments>http://www.leemunroe.com/web-standardistas-book/#comments</comments> <pubDate>Mon, 28 Sep 2009 11:27:15 +0000</pubDate> <dc:creator>Lee</dc:creator> <category><![CDATA[Web Design]]></category> <category><![CDATA[book]]></category> <category><![CDATA[css]]></category> <category><![CDATA[html]]></category> <category><![CDATA[standardistas]]></category> <category><![CDATA[standards]]></category><guid
isPermaLink="false">http://www.leemunroe.com/?p=1587</guid> <description><![CDATA[Every so often I will receive an email that asks the following:
How can I learn how to build websites?There are two approaches you can take to learning how to build websites.Learn how to build websites
Learn how to build websites the right way, aka the Web Standardistas&#8217; wayI built my first website over 10 years ago [...]]]></description> <content:encoded><![CDATA[<p>Every so often I will receive an email that asks the following:</p><blockquote><p>How can I learn how to build websites?</p></blockquote><p>There are two approaches you can take to learning how to build websites.</p><ol><li>Learn how to build websites</li><li>Learn <strong>how to build websites the right way</strong>, aka <em>the Web Standardistas&#8217; way</em></li></ol><p><span
id="more-1587"></span></p><div
style="text-align:center;"><a
href="http://www.amazon.co.uk/exec/obidos/ASIN/1430216069/leemunroe-21"><img
src="http://cdn.leemunroe.com/wp-content/uploads/book1.jpg" alt="Web Standardistas" title="Web Standardistas" width="201" height="240" class="alignnone size-full wp-image-1590" /></a></div><p>I built my first website over 10 years ago but it wasn&#8217;t until final year of my University degree course Interactive Multimedia Design (IMD) that I discovered how to <strong>build sites properly using well structured HTML and CSS</strong>. Before this I was using tables, unstructured markup and invalid HTML. Who do I have to thank for this? <a
href="http://mcmxc.org/">Chris Murphy</a> and <a
href="http://takete.com/">Nicklas Persson</a>, two lecturers on the IMD course.</p><p>Now you don&#8217;t have to take a University course to be taught by these two world renowned mentors. They have branded themselves as the <a
href="http://twitter.com/standardistas">Standardistas</a> and have put all their years of wisdom and knowledge on paper in the form of <a
href="http://astore.amazon.co.uk/leemunroe-21/detail/1430216069">HTML and CSS Web Standards Solutions: A Web Standardistas&#8217; Approach</a>.</p><p>This book will teach you how to build websites from scratch. Starting with the basics of <strong>semantic markup and how web pages work moving onto styling your first web page with CSS</strong>. It&#8217;s a one stop shop for putting together your first web site.</p><h4>Who is it for?</h4><ul><li>People who want to learn how to build websites</li><li>Developers who need to brush up their front end markup skills</li><li>Designers who are using outdated techniques e.g. tables, to build websites</li><li>Professionals who want to earn the badge of a Web Standardista</li></ul><h4>Benefits of the Web Standardistas&#8217; approach</h4><ul><li>Separates content and presentation (easier to update layouts)</li><li>Reduced markup (reducing page download times)</li><li>Increased accessibility (for screen readers and other platforms)</li><li>Cross browser compatibility</li><li>Forward compatibility</li></ul><h4>Recommended</h4><p>It&#8217;s an easily read book, clearly laid out with lots of code examples to help you get started. After reading this you&#8217;ll be able to build websites with your eyes closed.</p><ul><li><a
href="http://www.amazon.co.uk/exec/obidos/ASIN/1430216069/leemunroe-21">The Book</a></li><li><a
href="http://webstandardistas.com/">Web Standardistas website</a></li><li><a
href="http://twitter.com/standardistas">@standardistas on Twitter</a></li></ul> ]]></content:encoded> <wfw:commentRss>http://www.leemunroe.com/web-standardistas-book/feed/</wfw:commentRss> <slash:comments>12</slash:comments> </item> <item><title>Web Design Trends: Designing Out Of The Box</title><link>http://www.leemunroe.com/designing-out-of-the-box/</link> <comments>http://www.leemunroe.com/designing-out-of-the-box/#comments</comments> <pubDate>Tue, 07 Apr 2009 09:00:49 +0000</pubDate> <dc:creator>Lee</dc:creator> <category><![CDATA[Trends & Inspiration]]></category> <category><![CDATA[box]]></category> <category><![CDATA[container]]></category> <category><![CDATA[css]]></category> <category><![CDATA[trends]]></category> <category><![CDATA[tutorial]]></category> <category><![CDATA[Web Design]]></category><guid
isPermaLink="false">http://www.leemunroe.com/?p=1224</guid> <description><![CDATA[This is a creative trend catching on. It&#8217;s very simple to do but adds an extra element of character and uniqueness to a design.
Take a look at how to implement this &#8216;out of the box&#8217; technique and a list of creative websites that are using it.Setup
First setup your page and graphic. I&#8217;m using this graphic.The [...]]]></description> <content:encoded><![CDATA[<p>This is a creative trend catching on. It&#8217;s very simple to do but adds an extra element of character and uniqueness to a design.</p><p>Take a look at how to implement this &#8216;out of the box&#8217; technique and a list of creative websites that are using it.</p><p><span
id="more-1224"></span></p><h4>Setup</h4><p>First setup your page and graphic. I&#8217;m using this graphic.</p><div
style="text-align:center;"><img
src="http://cdn.leemunroe.com/wp-content/uploads/logo.png" border="0" alt="Logo" width="237" height="99" /></div><p>The HTML for my page is like so:</p><pre><code>&lt;div id="container"&gt;
&lt;img id="logo" src="logo.png" alt="Lee Munroe" /&gt;
&lt;/div&gt;</code></pre><p>And the CSS looks like this:</p><pre><code>body{
background:#999999;
}

#container{
width:960px;
background:#fff;
margin:20px auto;
padding:10px;
}</code></pre><p>Here&#8217;s a preview of what we have so far:</p><div
style="text-align:center;"><img
src="http://cdn.leemunroe.com/wp-content/uploads/b-11.jpg" border="0" alt="Inside box" width="540" height="150" /></div><h4>Positioning is relative</h4><p>When we position the logo we want the positioning to be relative to the container, therefore make the position relative:</p><pre><code>#container{
width:960px;
background:#fff;
margin:20px auto;
padding:10px;
position:relative;
}</code></pre><h4>Position it outside the box</h4><p>Now all you have to do is position your logo. Place it horizontally so the tag sticks out of the container.</p><pre><code>#logo{
position:absolute;
left:-15px;
}</code></pre><p>Now we have our logo sitting outside the box. Easy!</p><div
style="text-align:center;"><img
src="http://cdn.leemunroe.com/wp-content/uploads/b-2.jpg" border="0" alt="Outside box" width="540" height="150" /></div><h4>15 creative designs using the &#8216;out of the box&#8217; technique</h4><h5><a
href="http://www.changeincommand.com/">Change in Command</a></h5><div
style="text-align:center;"><a
href="http://www.changeincommand.com/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/b-12.jpg" border="0" alt="Change in Command" width="512" height="384" /></a></div><h5><a
href="http://www.icondesigner.net/">Icon Designer</a></h5><div
style="text-align:center;"><a
href="http://www.icondesigner.net/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/snap-212.jpg" border="0" alt="Icon Designer" width="512" height="384" /></a></div><h5><a
href="http://yoast.com/">Yoast</a></h5><div
style="text-align:center;"><a
href="http://yoast.com/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/snap-312.jpg" border="0" alt="Yoast" width="512" height="384" /></a></div><h5><a
href="http://www.twiistup.com/">Twiistup</a></h5><div
style="text-align:center;"><a
href="http://www.twiistup.com/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/snap-67.jpg" border="0" alt="Twiistup" width="512" height="384" /></a></div><h5><a
href="http://thedesignsuperhero.com/">The Design Superhero</a></h5><div
style="text-align:center;"><a
href="http://thedesignsuperhero.com/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/snap-93.jpg" border="0" alt="The Design Superhero" width="512" height="384" /></a></div><h5><a
href="http://www.ericryananderson.com/">Eric Ryan Anderson</a></h5><div
style="text-align:center;"><a
href="http://www.ericryananderson.com/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/snap-412.jpg" border="0" alt="Eric Ryan Anderson" width="512" height="384" /></a></div><h5><a
href="http://www.rockwerchter.be/en/home/">Rock Werchter</a></h5><div
style="text-align:center;"><a
href="http://www.rockwerchter.be/en/home/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/rock.jpg" border="0" alt="Rock Werchter" width="512" height="384" /></a></div><h5><a
href="http://www.freelancesuite.com/demo/">Freelance Suite</a></h5><div
style="text-align:center;"><a
href="http://www.freelancesuite.com/demo/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/snap-73.jpg" border="0" alt="Freelance Suite" width="512" height="384" /></a></div><h5><a
href="http://hipsterist.com/">Hipsterist</a></h5><div
style="text-align:center;"><a
href="http://hipsterist.com/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/snap-82.jpg" border="0" alt="Hipsterist" width="512" height="384" /></a></div><h5><a
href="http://creamscoop.com/">CreamScoop</a></h5><div
style="text-align:center;"><a
href="http://creamscoop.com/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/snap-104.jpg" border="0" alt="CreamScoop" width="512" height="384" /></a></div><h5><a
href="http://brightkite.com/">Bright Kite</a></h5><div
style="text-align:center;"><a
href="http://brightkite.com/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/snap-123.jpg" border="0" alt="Bright Kite" width="512" height="384" /></a></div><h5><a
href="http://www.from-the-couch.com/">From The Couch</a></h5><div
style="text-align:center;"><a
href="http://www.from-the-couch.com/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/couch.jpg" border="0" alt="From The Couch" width="512" height="384" /></a></div><h5><a
href="http://designm.ag/">DesignM.ag</a></h5><div
style="text-align:center;"><a
href="http://designm.ag/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/snap-133.jpg" border="0" alt="DesignM.ag" width="512" height="384" /></a></div><h5><a
href="http://ma.tt/">Matt Mullenweg</a></h5><div
style="text-align:center;"><a
href="http://ma.tt/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/matt.jpg" border="0" alt="Matt Mullenweg" width="512" height="384" /></a></div><p><strong><em>Feel free to share your thoughts on this and other emerging trends.</em></strong></p> ]]></content:encoded> <wfw:commentRss>http://www.leemunroe.com/designing-out-of-the-box/feed/</wfw:commentRss> <slash:comments>35</slash:comments> </item> <item><title>5 Quick and Easy Ways to Optimise Your Website</title><link>http://www.leemunroe.com/optimise-website/</link> <comments>http://www.leemunroe.com/optimise-website/#comments</comments> <pubDate>Mon, 16 Mar 2009 09:00:30 +0000</pubDate> <dc:creator>Lee</dc:creator> <category><![CDATA[Web Design]]></category> <category><![CDATA[css]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[optimisation]]></category> <category><![CDATA[optimization]]></category> <category><![CDATA[web]]></category><guid
isPermaLink="false">http://www.leemunroe.com/?p=1154</guid> <description><![CDATA[Performance is something you don&#8217;t often think about. You assume that if it loads quickly enough for you then everyone&#8217;s happy. Someone commented a while back saying that it takes quite long for my pages to load so I optimised it a tad and thought I&#8217;d share a few quick tips with you.1. Use CSS [...]]]></description> <content:encoded><![CDATA[<p>Performance is something you don&#8217;t often think about. You assume that if it loads quickly enough for you then everyone&#8217;s happy. Someone commented a while back saying that it takes quite long for my pages to load so I optimised it a tad and thought I&#8217;d share a few quick tips with you.</p><p><span
id="more-1154"></span></p><h4>1. Use CSS sprites</h4><p>Rather than having multiple CSS background images for your page, you can use CSS sprites to <strong>combine multiple images into one graphic</strong>. This <strong>reduces overall filesize</strong> and the amount of <strong>HTTP requests</strong>.</p><p>Once you do this you can use CSS to control the background images.</p><pre><code>#services ol li{
background:url(images/homeicons.gif) no-repeat;
}

#services ol li.design{
background-position:0px -460px;
}</code></pre><p>And as you can see the size and http requests are reduced considerably.</p><div
class="blog-img"><img
src="http://cdn.leemunroe.com/wp-content/uploads/sprites.gif" alt="Sprites" border="0" width="540" height="250" /></div><h4>2. Use an external CDN</h4><p>A CDN is a content delivery network and it basically means <strong>use scripts that are hosted on other sites</strong>. Why? Because users might not have to download the script when they visit your site as it&#8217;s already cached.</p><p>Google has an <a
href="http://code.google.com/apis/ajaxlibs/documentation/index.html">AJAX Libraries API</a> that you can use.</p><pre><code>&lt;script src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js" type="text/javascript"&gt;&lt;/script&gt;</code></pre><h4>3. Install YSlow</h4><p>YSlow is a very <strong>useful optimisation tool for Firefox</strong>. YSlow will report on any page you load up and will give you information about the amount of HTTP requests, CDNs used, CSS and JS compression and will give you a grade for each and tell you how to improve the page so it loads quicker.</p><ul><li>First you need to <a
href="https://addons.mozilla.org/en-US/firefox/addon/1843">install Firebug</a>. YSlow runs alongside this add-on.</li><li>Now <a
href="https://addons.mozilla.org/en-US/firefox/addon/5369">install YSlow</a>.</li><li><a
href="http://developer.yahoo.net/blog/archives/2007/08/yslow-podcast-screencast.html">Watch this screencast</a> on how to use YSlow</li></ul><div
class="blog-img"><img
src="http://cdn.leemunroe.com/wp-content/uploads/yslow.gif" alt="YSlow" border="0" width="409" height="201" /></div><h4>4. Put JavaScript at the bottom</h4><p>Put any JS requests that you can at the bottom of your code, <strong>allowing your content to load first</strong>. This includes any <strong>Twitter</strong> or <strong>Analytics</strong> requests. This way your site content can load before trying to load external JS files.</p><h4>5. Optimise graphics for web</h4><p><strong>Save your images for the web in Photoshop</strong> and you can alter the image quality, reducing the file size considerably. Of course I&#8217;d like to think you were doing this already <img
src='http://cdn.leemunroe.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /></p><p>In Photoshop, File &gt; Save for web &amp; devices</p><div
class="blog-img"><img
src="http://cdn.leemunroe.com/wp-content/uploads/saveforweb.jpg" alt="Save for web" border="0" width="540" height="200" /></div><h4>More tips</h4><ul><li>Cache your pages &#8211; <a
href="http://wordpress.org/extend/plugins/wp-cache/installation/">Wordpress cache plugin</a></li><li>Make sure all your Javascript and CSS is external (not inline)</li><li><a
href="http://www.cssdrive.com/index.php/main/csscompressor/">Compress your CSS</a></li><li><a
href="http://javascriptcompressor.com/">Compress your Javascript</a></li></ul><p><strong><em>How else can you optimise your website?</em></strong></p> ]]></content:encoded> <wfw:commentRss>http://www.leemunroe.com/optimise-website/feed/</wfw:commentRss> <slash:comments>26</slash:comments> </item> <item><title>Valid (X)HTML &#8211; Is it important?</title><link>http://www.leemunroe.com/how-important-is-valid-html-web-standards/</link> <comments>http://www.leemunroe.com/how-important-is-valid-html-web-standards/#comments</comments> <pubDate>Tue, 02 Dec 2008 09:00:04 +0000</pubDate> <dc:creator>Lee</dc:creator> <category><![CDATA[Web Design]]></category> <category><![CDATA[css]]></category> <category><![CDATA[html]]></category> <category><![CDATA[validation]]></category> <category><![CDATA[w3c]]></category> <category><![CDATA[web standards]]></category> <category><![CDATA[xhtml]]></category><guid
isPermaLink="false">http://www.leemunroe.com/?p=651</guid> <description><![CDATA[As a web designer you&#8217;re encouraged to write valid code, but is it really important?
I&#8217;ve took a look at the reasons behind validation and checked out 25 of the web&#8217;s most popular websites to see if they bother validating their code.What is validation?
Validation is a process of checking your documents against a formal Standard, [...]]]></description> <content:encoded><![CDATA[<p>As a web designer you&#8217;re encouraged to write <strong>valid code</strong>, but is it really important?</p><p>I&#8217;ve took a look at the reasons behind validation and checked out <strong>25 of the web&#8217;s most popular websites</strong> to see if they bother validating their code.</p><p><a
href="http://www.leemunroe.com/how-important-is-valid-html-web-standards"><img
src="http://cdn.leemunroe.com/wp-content/uploads/cm-capture-29.png" alt="Validation" title="Validation" /></a></p><p><span
id="more-651"></span></p><h4>What is validation?</h4><blockquote><p> Validation is a process of checking your documents against a formal Standard, such as those published by the World Wide Web Consortium (W3C)  for HTML and XML-derived Web document types, or by the WapForum for WML, etc. It serves a similar purpose to spell checking&#8230;<a
href="http://validator.w3.org/docs/why.html">W3C</a></p></blockquote><h4>Why validate, what are the benefits?</h4><h5>1. Non uniform browser correction</h5><p>Non valid pages rely on the browser to <strong>auto-correct your code</strong>, and each browser does this differently. So if you forget to close a tag, Firefox might ignore this but Safari doesn&#8217;t and you end up with a <strong>broken layout</strong>.</p><h5>2. Rendering time</h5><p>If your code is valid the browser has to do less thinking as it doesn&#8217;t have to correct any code, therefore the <strong>page will render faster</strong>.</p><h5>3. Future proofing</h5><p>You never know what&#8217;s around the corner in regards to technology but the chances are that if you have valid (X)HTML, you&#8217;re ensuring that your <strong>website will work with future technologies</strong>.</p><h5>4. Google prefers valid code</h5><p>Shaun Anderson conducted an interesting validation test; <a
href="http://www.hobo-web.co.uk/seo-blog/index.php/official-google-prefers-valid-html-css/">Does Google like valid code?</a>.</p><p>This experiment included 4 pages with the same content but a mixture of valid and non-valid HTML and CSS. The result was that <strong>Google picked up the page that had valid HTML</strong> and valid CSS and indexed this page over the rest.</p><h5>5. Accessibility</h5><p>A valid site is more likely to be <strong>accessible to all types of browsers</strong>, platforms and screen readers.</p><h5>6. Self satisfaction</h5><p>If <strong>feels good</strong> when you <a
href="http://validator.w3.org/">run a validation check</a> on your site and you see the green bar appear <img
src='http://cdn.leemunroe.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><h4>What are the common validation errors and how to fix them?</h4><h5>a. Ampersands</h5><p>This always catches me out. Ampersands must be written &#8216;<strong>&amp;amp;</strong>&#8216; and not just &#8216;&amp;&#8217;. This is true for writing urls too.</p><pre><code>&lt;a href="http://images.google.com/imghp?hl=en&amp;amp;tab=wi"&gt;</code></pre><h5>b. Quotations</h5><p>Element property values must be put within quotes.</p><pre><code>&lt;body bgcolor="#ffffff"&gt;</code></pre><h5>c. Closing tags</h5><p>All elements must be closed off, even image tags if you&#8217;re using a XHTML DTD.</p><pre><code>&lt;img src="image.jpg" alt="Image" /&gt;</code></pre><h5>d. Doctypes</h5><p>Your page must have a valid Document Type Definition (DTD) at the top of the page, and take note that it is case sensitive.</p><pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;</code></pre><h5>e. Nesting elements incorrectly</h5><p>Elements must be opened and closed in order.</p><pre><code>&lt;p&gt;&lt;strong&gt;&lt;em&gt;Paragraph&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;</code></pre><h4>Do the web&#8217;s biggest sites validate?</h4><p>So do all the big and popular websites out there validate? Below I&#8217;ve put together a selection of some of the most popular websites and ordered them from best(valid) to worst.</p><h5><a
href="http://www.bbc.co.uk/">BBC</a></h5><div
style="text-align:center;"><a
href="http://www.bbc.co.uk/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/cm-capture-13.png" alt="BBC" border="0" width="540" height="100" /></a></div><h5><a
href="http://wikipedia.org/">Wikipedia</a></h5><div
style="text-align:center;"><a
href="http://wikipedia.org/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/cm-capture-15.png" alt="Wikipedia" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.apple.com/">Apple</a></h5><div
style="text-align:center;"><a
href="http://www.apple.com/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/cm-capture-12.png" alt="CM Capture 12.png" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.facebook.com/">Facebook</a></h5><div
style="text-align:center;"><a
href="http://www.facebook.com/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/cm-capture-9.png" alt="Facebook" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.number10.gov.uk/">Number 10</a></h5><div
style="text-align:center;"><a
href="http://www.number10.gov.uk/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/cm-capture-21.png" alt="Number 10" border="0" width="540" height="100" /></a></div><h5><a
href="http://digg.com/">Digg</a></h5><div
style="text-align:center;"><a
href="http://digg.com/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/cm-capture-8.png" alt="Digg" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.yahoo.com/">Yahoo</a></h5><div
style="text-align:center;"><a
href="http://www.yahoo.com/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/cm-capture-4.png" alt="Yahoo" border="0" width="540" height="100" /></a></div><h5><a
href="http://twitter.com/">Twitter</a></h5><div
style="text-align:center;"><a
href="http://twitter.com/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/cm-capture-19.png" alt="Twitter" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.timesonline.co.uk/tol/news/">Times Online</a></h5><div
style="text-align:center;"><a
href="http://www.timesonline.co.uk/tol/news/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/cm-capture-20.png" alt="Times" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.google.com/">Google</a></h5><div
style="text-align:center;"><a
href="http://www.google.com/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/cm-capture-3.png" alt="Google" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.youtube.com/">YouTube</a></h5><div
style="text-align:center;"><a
href="http://www.youtube.com/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/cm-capture-17.png" alt="YouTube" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.barackobama.com/index.php">Barack Obama</a></h5><div
style="text-align:center;"><a
href="http://www.barackobama.com/index.php"><img
src="http://cdn.leemunroe.com/wp-content/uploads/cm-capture-18.png" alt="Barack Obama" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.microsoft.com/en/us/default.aspx">Microsoft</a></h5><div
style="text-align:center;"><a
href="http://www.microsoft.com/en/us/default.aspx"><img
src="http://cdn.leemunroe.com/wp-content/uploads/cm-capture-16.png" alt="Microsoft" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.ebay.com/">eBay</a></h5><div
style="text-align:center;"><a
href="http://www.ebay.com/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/cm-capture-14.png" alt="eBay" border="0" width="540" height="100" /></a></div><h4>What about the design community?</h4><p>Looking at some of the biggest sites (and authors) in the design and technology community.</p><h5><a
href="http://www.alistapart.com/">A List Apart</a></h5><div
style="text-align:center;"><a
href="http://www.alistapart.com/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/cm-capture-5.png" alt="A List Apart" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.smashingmagazine.com/">Smashing Magazine</a></h5><div
style="text-align:center;"><a
href="http://www.smashingmagazine.com/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/cm-capture-7.png" alt="Smashing Magazine" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.webstandardistas.com/">Web Standardistas</a></h5><div
style="text-align:center;"><a
href="http://www.webstandardistas.com/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/cm-capture-23.png" alt="Web Standardistas" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.zeldman.com/">Zeldman</a></h5><div
style="text-align:center;"><a
href="http://www.zeldman.com/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/cm-capture-24.png" alt="Zeldman" border="0" width="540" height="100" /></a></div><h5><a
href="http://futureofwebdesign.com/">Future of Web Design</a></h5><div
style="text-align:center;"><a
href="http://futureofwebdesign.com/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/cm-capture-27.png" alt="FOWD" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.useit.com/">Use It</a></h5><div
style="text-align:center;"><a
href="http://www.useit.com/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/cm-capture-6.png" alt="Use It" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.37signals.com/">37 Signals</a></h5><div
style="text-align:center;"><a
href="http://www.37signals.com/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/cm-capture-26.png" alt="37 Signals" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.simplebits.com/">Simple Bits</a></h5><div
style="text-align:center;"><a
href="http://www.simplebits.com/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/cm-capture-25.png" alt="Simple Bits" border="0" width="540" height="100" /></a></div><h5><a
href="http://freelanceswitch.com/">Freelance Switch</a></h5><div
style="text-align:center;"><a
href="http://freelanceswitch.com/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/cm-capture-28.png" alt="Freelance Switch" border="0" width="540" height="100" /></a></div><h5><a
href="http://slashdot.org/">Slashdot</a></h5><div
style="text-align:center;"><a
href="http://slashdot.org/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/cm-capture-11.png" alt="Slashdot" border="0" width="540" height="100" /></a></div><h5><a
href="http://www.techcrunch.com/">TechCrunch</a></h5><div
style="text-align:center;"><a
href="http://www.techcrunch.com/"><img
src="http://cdn.leemunroe.com/wp-content/uploads/cm-capture-22.png" alt="TechCrunch" border="0" width="540" height="100" /></a></div><h4>Conclusion</h4><p>I think it&#8217;s worthwhile validating your websites and it&#8217;s good practice. From looking at the sites above however (which are all great sites and designs), it&#8217;s obvious that not having a validated website is not the end of the world.</p><p>If you&#8217;re like me though <strong>you&#8217;ll sleep better at night knowing your website validates</strong>.</p><h4>Does your site validate?</h4><p>It was very hard work trying to track down valid websites for this post so it would be great to see some examples. Use the <a
href="http://validator.w3.org/">W3C Validator to check your site</a> then submit your link and comments below.</p><p>It would also be good to hear your points about validation and if you think it&#8217;s worthwhile.</p><h4>Further Reading</h4><ul><li><a
href="http://www.w3.org/">W3C</a></li><li><a
href="http://validator.w3.org/">W3C Validator</a></li><li><a
href="http://xhtml-css.com/">XHTML-CSS Validator</a></li><li><a
href="http://www.hobo-web.co.uk/seo-blog/index.php/official-google-prefers-valid-html-css/">Google SEO test</a></li><li><a
href="https://addons.mozilla.org/en-US/firefox/addon/60">Web Developer Toolbar for Firefox</a></li></ul> ]]></content:encoded> <wfw:commentRss>http://www.leemunroe.com/how-important-is-valid-html-web-standards/feed/</wfw:commentRss> <slash:comments>47</slash:comments> </item> <item><title>Site launch: Web Designire</title><link>http://www.leemunroe.com/site-launch-web-designire/</link> <comments>http://www.leemunroe.com/site-launch-web-designire/#comments</comments> <pubDate>Mon, 10 Nov 2008 14:14:29 +0000</pubDate> <dc:creator>Lee</dc:creator> <category><![CDATA[General News]]></category> <category><![CDATA[css]]></category> <category><![CDATA[Flash]]></category> <category><![CDATA[gallery]]></category> <category><![CDATA[ireland]]></category> <category><![CDATA[northern ireland]]></category> <category><![CDATA[showcase]]></category> <category><![CDATA[Work]]></category><guid
isPermaLink="false">http://www.leemunroe.com/?p=505</guid> <description><![CDATA[Irish Web Design Gallery
My latest mini-project is a web design gallery for websites and designers from Ireland and Northern Ireland &#8211; www.webdesignire.com.I use galleries all the time and they&#8217;re great for getting a daily dose of inspiration and as a web designer they&#8217;re a great way to help promote your website.
Why another gallery?
There are 100s [...]]]></description> <content:encoded><![CDATA[<h4>Irish Web Design Gallery</h4><p>My latest mini-project is a <a
href="http://www.webdesignire.com">web design gallery</a> for websites and designers from Ireland and Northern Ireland &#8211; <a
href="http://www.webdesignire.com">www.webdesignire.com</a>.</p><div
style="text-align:center;"><a
href="http://www.webdesignire.com"><img
src="http://cdn.leemunroe.com/wp-content/uploads/web2.jpg" alt="web.jpg" border="0" width="540" height="200" /></a></div><p><span
id="more-505"></span></p><p>I use galleries all the time and they&#8217;re great for getting a daily dose of inspiration and as a web designer they&#8217;re a great way to help promote your website.</p><h5>Why another gallery?</h5><p>There are 100s of galleries online, <a
href="http://cssmania.com">CSS Mania</a>, <a
href="http://bestwebgallery.com/">Best Web Gallery</a>, <a
href="http://cssdrive.com/">CSS Drive</a> to name a few, but there isn&#8217;t a niche gallery for Ireland.</p><p>The aim for Web Designire is to:</p><ol><li>Help to promote Irish websites</li><li>Showcase the best designs coming out of Ireland and Northern Ireland to the rest of the world</li><li>Provide inspiration for other web designers</li></ol><p>Visit <a
href="http://www.webdesignire.com">Web Designire</a> and if you&#8217;re from Ireland or Northern Ireland remember to suggest any sites you&#8217;ve designed. If not, feel free to vote on the sites showcased.</p> ]]></content:encoded> <wfw:commentRss>http://www.leemunroe.com/site-launch-web-designire/feed/</wfw:commentRss> <slash:comments>8</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 (user agent is rejected)
Database Caching 6/13 queries in 0.266 seconds using disk
Content Delivery Network via cdn.leemunroe.com

Served from: www.leemunroe.com @ 2010-09-07 23:30:18 -->