<?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/"
	>

<channel>
	<title>Nick Cowie</title>
	<atom:link href="http://nickcowie.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://nickcowie.com</link>
	<description>Web standards, accessibility  and such like with a bias toward  Government web sites</description>
	<pubDate>Fri, 05 Jun 2009 07:25:08 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Crumpler Yee Ross Review</title>
		<link>http://nickcowie.com/2009/crumpler-yee-ross-review/</link>
		<comments>http://nickcowie.com/2009/crumpler-yee-ross-review/#comments</comments>
		<pubDate>Wed, 20 May 2009 12:30:51 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
		
		<category><![CDATA[Just geek]]></category>

		<category><![CDATA[cycling]]></category>

		<category><![CDATA[crumpler]]></category>

		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://nickcowie.com/?p=420</guid>
		<description><![CDATA[<p>Then purely by accident I saw the Crumpler Yee Ross on the Crumpler web site, a Crumpler backpack that can be used as a hydration pack. So I went to my local Crumpler store, check it out and walked away after purchasing last year's model (more on that later) &#8230;</p>]]></description>
			<content:encoded><![CDATA[<p><img src="http://nickcowie.com/wp-content/uploads/2009/05/cr_backpack.jpg" alt="Crumpler Yee Ross Backpack" title="Crumpler Yee Ross Backpack" width="600" height="800" style="float:right; margin: 0 0 1.5em 1.5em;" /></p>
<p>I have been using an inexpensive no name backpack to carry the necessary baggage (work clothes but not shoes, cycling clothes for trip home, tools and spare tube) for the ride to work for the last couple of years, and it has done the job.</p>
<p>However, I start riding the recycled single speed to work and that did not have mounts for drinks bottle. One of the reason I bought that specific noname backpack was it could also be used as a hydration pack. So I tried to use it as a hydration pack, and it did not work for me. The tubing was in the wrong spot, the provided bladder pack was difficult to use, the mouthpiece leaked and my CamelBak 1.5l bladders did not fit the pack.</p>
<p>Then purely by accident I saw the Crumpler Yee Ross on the Crumpler web site, a Crumpler backpack that can be used as a hydration pack. So I went to my local Crumpler store, check it out and walked away after purchasing last year&#8217;s model (more on that later).</p>
<p>A few days later it was pressed into service as a hydration pack with a CamelBak 1.5l bladder and it performed exceptional well, the routing put the mouth piece in the right spot and the CamelBak 1.5l bladder did it&#8217;s job providing me hydration. It was also far more comfortable to ride in than the noname backpack. The weight was well distributed, the shoulder straps where in the right spot for me and did not dig in.</p>
<p>I  started using the Yee Ross as a regular backpack for all my other commutes and I am completely sold on it. The comfort factor has it.</p>
<h2>Pros</h2>
<ul>
<li>Comfortable, even with a moderate load.</li>
<li>Works as a hydration pack with a variety of bladders.</li>
<li>It is a Crumpler it will be durable.</li>
</ul>
<h2>Cons</h2>
<ul>
<li>Smaller than most backpacks, need to pack carefully.</li>
<li>Tight squeeze sliding a MacBook Pro in, not a problem with the Acer Aspire One though.</li>
<li>It is a Crumpler ;-)</li>
</ul>
<p>There is a difference between last year&#8217;s model which is made from thicker more durable material, has a waterproof pocket and wider belt straps than this year&#8217;s model which comes in more funky colours. So if you want one and I recommend last year&#8217;s model for durability and practically I would head into your local crumpler store now. I have owned mine for 8 weeks and I would highly recommend it.</p>
]]></content:encoded>
			<wfw:commentRss>http://nickcowie.com/2009/crumpler-yee-ross-review/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Crumpler Part and Parcel Courier Bag review</title>
		<link>http://nickcowie.com/2009/crumpler-part-and-parcel-courier-bag-review/</link>
		<comments>http://nickcowie.com/2009/crumpler-part-and-parcel-courier-bag-review/#comments</comments>
		<pubDate>Sun, 10 May 2009 15:15:19 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
		
		<category><![CDATA[Just geek]]></category>

		<category><![CDATA[cycling]]></category>

		<category><![CDATA[crumpler]]></category>

		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://nickcowie.com/?p=411</guid>
		<description><![CDATA[<img src="http://nickcowie.com/wp-content/uploads/2009/05/crumpler_part_parcel200.jpg" alt="Crumpler Part and Parcel Courier Bag" title="crumpler_part_parcel200" width="200" height="160" class="size-full wp-image-416"  style="float: right; margin: 1.5em 0 0 1.5em;" /><p>This is my infamous bag that has been <em>reported</em> to the local Crumpler store on more than one occasion, because I had the audacity to stencil my blog URL on it, to clearly identify as mine.</p>
<p>Three years ago, I bought a Crumpler bag on &#8230;</p>]]></description>
			<content:encoded><![CDATA[<p><img src="http://nickcowie.com/wp-content/uploads/2009/05/crumpler_part_parcel.jpg" alt="Crumpler Part and Parcel Courier Bag" title="crumpler_part_parcel" width="600" height="480"  />
<p>This is my infamous bag that has been <em>reported</em> to the local Crumpler store on more than one occasion, because I had the audacity to stencil my blog URL on it, to clearly identify as mine.</p>
<p>Three years ago, I bought a Crumpler bag on the recommendation of a couple of friends, to protect my then laptop, an ancient and battered Ti Powerbook from my daily adventures. I had used at least four other bags, but none had the durability, protection or usefulness offered by the Part and Parcel. The fact it was a full blown courier bag, that I could use while cycling really swung it for me.</p>
<p>Shortly after purchasing the Part and Parcel, I was heading to Web Directions 06, so to clearly identify my bag from the other crumpler loving geeks at the conference. I created a stencil and using a small foam roller and acrylic paint put my blog URL on the top flap. I did not even get to the first workshop on the first day, without seeing an identical bag. I sat down to breakfast at a nearby cafe and at the next table was an identical bag sans URL.</p>
<p>Over the three years, I have used the bag with a number of different laptops, including the current MacBook Pro. The Part and Parcel must be doing a good job, because the MacBook Pro is far less battered than Ti Powerbook was at the same stage of it&#8217;s life.</p>
<p>The bag has been used on an almost daily basis to take a laptop to work. Except when I am riding most or all of the way in. I started using the Part and Parcel to carry clothes (a change of clothes for work, no shoes and cycling clothes for the return trip) and emergency tools for my 90 minute plus, 42km commute into work. The problem was after an hour or so, I would start losing sensation in my left shoulder, which had the bag slung over.  This is the shoulder that has suffered a couple of major fractures and nerve damage in the past dozen years, so it should not be the same for you.</p>
<p>I bought an inexpensive backpack for the long cycling commute and continue to use the Part and Parcel for everything else, including the regular ride to the station with laptop.</p>
<p>I have used the Part and Parcel for a lot more than lugging a laptop, it has been used to carry a variety of objects various distances by foot and by bike and it does the job well.</p>
<h2>Pros</h2>
<ul>
<li>Durable</li>
<li>Practical</li>
<li>Looks good</li>
</ul>
<h2>Cons</h2>
<ul>
<li>Not that comfortable after an hour with moderate load.</li>
<li>Too popular.</li>
<li>Brand fanatics</li>
</ul>
<h2>Conclusion</h2>
<p>I am very happy with the Part and Parcel, it is a practical and durable courier bag that doubles as a laptop bag. And yes I would recommend it to anybody who needs a laptop bag and  particularly anybody who cycles.</p>
]]></content:encoded>
			<wfw:commentRss>http://nickcowie.com/2009/crumpler-part-and-parcel-courier-bag-review/feed/</wfw:commentRss>
		</item>
		<item>
		<title>It has been awfully quiet round here</title>
		<link>http://nickcowie.com/2009/it-has-been-awfully-quiet-round-here/</link>
		<comments>http://nickcowie.com/2009/it-has-been-awfully-quiet-round-here/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 05:22:35 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<category><![CDATA[blogging]]></category>

		<guid isPermaLink="false">http://nickcowie.com/?p=409</guid>
		<description><![CDATA[<p>It has been three months since my last post, and while I have not posted here or at my other blog, I have not abandoned either site.</p>
<p>As I have only worked 50 of the last 100 days, this blog should be full of interesting posts on CSS and other web geekery. Instead nothing, why?</p>]]></description>
			<content:encoded><![CDATA[<p>It has been three months since my last post, and while I have not posted here or at <a href="http://gov2.info">my other blog</a>, I have not abandoned either site.</p>
<p>As I have only worked 50 of the last 100 days, this blog should be full of interesting posts on CSS and other web geekery. Instead nothing, why?</p>
<ul>
<li>Most of my blog posts are written on the train to and from work. Working less and cycling more has reduced this time from five hours a week to less than two.</li>
<li>Work often provides inspiration for posts, however, instead of working with HTML, CSS or web 2.0, I have been working with JavaScript, jQuery and the intricacies of MySource Matrix workflows. While this keeps me busy, it is not pushing any boundaries or providing material to blog about.</li>
<li>I am spending more time on my other passion, cycling, including acquiring a couple of project bikes to build.  While I am happy and confident in my web mechanic skills to blog about building anything web related. My bicycle mechanic skills are limited and I rather not exposed them to the everybody.</li>
</ul>
<p>So what does this future hold for this blog, well until I my interest in CSS, HTML and web 2.0 topics is fired up, you will see a few cycling related posts. Most will be reviews of cycling related products (I have a couple of c<br />
Crumpler bags to review) as well as some progress reports on my project bikes. It will not be another 100 days of silence.</p>
]]></content:encoded>
			<wfw:commentRss>http://nickcowie.com/2009/it-has-been-awfully-quiet-round-here/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Drop caps, first-letter and Firefox</title>
		<link>http://nickcowie.com/2009/drop-caps-first-letter-and-firefox/</link>
		<comments>http://nickcowie.com/2009/drop-caps-first-letter-and-firefox/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 12:57:11 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
		
		<category><![CDATA[css and html]]></category>

		<category><![CDATA[css2]]></category>

		<category><![CDATA[firefox bashing]]></category>

		<category><![CDATA[first-letter]]></category>

		<category><![CDATA[pseudo element]]></category>

		<guid isPermaLink="false">http://nickcowie.com/?p=401</guid>
		<description><![CDATA[<p>I have been experimenting with the :first-letter pseudo-element to try and write up a tutorial on using first-letter, adjacent selectors and @font-face to produce drop caps and I have run into a problem in the form of Firefox. Because you need to apply the property float: left to stop first-letter being an inline element and Firefox applies different rules to floated :first-letter pseudo-element than the other browsers, making it difficult to vertically align a floated :first-letter pseudo-element and the the remaining text.</p>]]></description>
			<content:encoded><![CDATA[<p>I have been experimenting with the :first-letter pseudo-element to try and write up a tutorial on using first-letter, adjacent selectors and @font-face to produce drop caps and I have run into a problem in the form of Firefox. Because you need to apply the property float: left to stop first-letter being an inline element and Firefox applies different rules to floated :first-letter pseudo-element than the other browsers, making it difficult to vertically align a floated :first-letter pseudo-element and the the remaining text.</p>
<p>The <a href="http://www.w3.org/TR/CSS21/selector.html#first-letter">specs for :first-letter pseudo-element</a> state:</p>
<blockquote><p>These are the properties that apply to :first-letter pseudo-elements: font properties, &#8230; &#8216;line-height&#8217;, &#8230; margin properties, padding properties  &#8230; UAs may apply other properties as well.</p></blockquote>
<p>Width and height are not properties that have to be applied to first-letter. Only the WebKit family (Safari, Chrome etc.) apply these properties. The main issue is line-height which could be used to control the vertical size of the first-letter pseudo-element, as according to the specs.</p>
<blockquote><p>To allow UAs to render a typographically correct drop cap or initial cap, the UA may choose a line-height, width and height based on the shape of the letter</p></blockquote>
<p>Internet Explorer, Webkit and Opera have chosen not to apply line-height and unless one is specified, a :first-letter pseudo-element will inherit line-height from the parent element. Firefox has chosen to apply a line-height to all first-letter elements equal to the height of the element and you have no method of changing it. This automatically aligns the top of the floated :first-letter pseudo-element in the parent block element.</p>
<p>Because the line-height is the height of the type, you get different line-height for different characters eg a, t and p. Which makes it virtually impossible to use lower case letters to produce drop caps like effects.</p>
<p>So you need to reduce the line-height of first-letter to the cap height of your chosen typeface then use margin-top or padding-top to vertically align the top of first-letter with the top of the remaining text. Not only is this more complicated than just changing line-height, you need to do two calculations instead of one. Internet Explorer applies margin and padding to floated :first-letter pseudo-elements differently than other browsers. By fixing the :first-letter pseudo-element in place after applying line-height then applying margin and padding to it, which does not effect surrounding elements.</p>
<p><a href="http://www.flickr.com/photos/nickobec/3209726958/" title=":first-letter pseudo element by nickobec, on Flickr"><img src="http://farm4.static.flickr.com/3120/3209726958_dbf2f0e461.jpg" width="500" height="193" alt=":first-letter pseudo element" /></a></p>
<p>Five different browsers rendering  <a href="http://nickcowie.com/proge/fletter.html">floated :first-letter pseudo-elements</a> with slightly different properties. Chrome produces the same results as Safari. Note IE8b2 does strange things to backgrounds both colour and images of the:first-letter pseudo-element.</p>
<p>So to get a cross browser drop cap effect using :first-letter pseudo-element that vertically aligns, you need to apply float: left, then find the height of the typeface cap height, reduce the line-height to that, adjust margin-top so it aligns correctly in Firefox and in Opera or a WebKit browser, and then using conditional comments for an IE only stylesheet remove margin-top and change line-height to correctly vertically align the type.
<p>It would of been a lot easier if Mozilla Corporation and  Microsoft read the CSS specifications the same way as everybody else and applied the same rules.</p>
]]></content:encoded>
			<wfw:commentRss>http://nickcowie.com/2009/drop-caps-first-letter-and-firefox/feed/</wfw:commentRss>
		</item>
		<item>
		<title>I am not the only one playing with CSS3</title>
		<link>http://nickcowie.com/2009/i-am-not-the-only-one-playing-with-css3/</link>
		<comments>http://nickcowie.com/2009/i-am-not-the-only-one-playing-with-css3/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 12:01:13 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
		
		<category><![CDATA[css and html]]></category>

		<category><![CDATA[progressive enhancement]]></category>

		<guid isPermaLink="false">http://nickcowie.com/?p=399</guid>
		<description><![CDATA[<p>There are a number of people demonstrating what is possible is possible with CSS3, here are a few of the better ones I have found.</p>]]></description>
			<content:encoded><![CDATA[<p>Andy Clarke got me interested in what you could do with CSS3 with <a href="http://forabeautifulweb.com/blog/about/five_css_design_browser_differences_i_can_live_with/">Five CSS design browser differences I can live with</a> over at <a href="http://forabeautifulweb.com/blog/">For A Beautiful Web blog</a>.  I realised what I was missing and start looking at what CSS3 properties that could be applied now,  <a href="http://www.css3.info/">css3.info</a> was an invaluable resource.</p>
<p>Then on December 1 <a href="http://24ways.org/">24 Ways</a> showed what could be done and <a href="http://nickcowie.com/2008/24ways-not-to-impress-people/">how not to do it with regards to graceful degradation</a>. After problems with the initial design, there was a couple of great articles on using CSS3 for progressive enhancement by <a href="http://24ways.org/2008/shiny-happy-buttons">John Allsopp</a> and <a href="http://24ways.org/2008/a-christmas-hcard-from-me-to-you">Elliot Jay Stocks</a>.</p>
<p>A few days ago, Smashing Magazine published <a href="http://www.smashingmagazine.com/2009/01/08/push-your-web-design-into-the-future-with-css3/">Push Your Web Design Into The Future With CSS3</a>, which is a general introduction to CSS3. It also lead me to the <a href="http://www.zenelements.co.uk/blog/">Zen Elements blog</a> of Alex Mitchell, which like me is experimenting with CSS3 properties and putting it on display for everyone to learn from.</p>
<p>I have not forgotten my demonstration of @font-face, first-letter and adjacent selectors. I am having issues with vertical alignment cross browsers. You will see that demonstration is the near future.</p>
]]></content:encoded>
			<wfw:commentRss>http://nickcowie.com/2009/i-am-not-the-only-one-playing-with-css3/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Browsers I rather not support</title>
		<link>http://nickcowie.com/2009/browsers-i-rather-not-support/</link>
		<comments>http://nickcowie.com/2009/browsers-i-rather-not-support/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 03:54:26 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
		
		<category><![CDATA[css and html]]></category>

		<category><![CDATA[chrome]]></category>

		<category><![CDATA[chrome bashing]]></category>

		<category><![CDATA[firefox 2]]></category>

		<category><![CDATA[google chrome]]></category>

		<category><![CDATA[IE for WM6]]></category>

		<category><![CDATA[ie6]]></category>

		<category><![CDATA[ie7]]></category>

		<category><![CDATA[internet explorer]]></category>

		<guid isPermaLink="false">http://nickcowie.com/?p=395</guid>
		<description><![CDATA[My wish list of browsers I would like not to support in 2009. One might surprise you and top of my list is not IE6]]></description>
			<content:encoded><![CDATA[<p>There has been a little bit of noise about the <a href="http://ajaxian.com/archives/i-wont-support-ie-6-in-2009">blogsphere</a> recently about wanting to drop browser support for a certain browser this year. So here are the browsers I would like to stop supporting, why and why I will continue to support them.</p>
<h2>Internet Explorer 7</h2>
<p>This would of been a great browser if it was released in 2003, instead it was released in 2006. The improvements over IE6 were good but not worth waiting 5 years for. It still has a number of the IE6 idiosyncrasies that require work arounds. It is the most popular browser is common use today, and likely to remain so for another year, before succumbing to IE8. Still you and I will supporting it for a few years to come.</p>
<h2>Google Chrome</h2>
<p>A fast, lightweight browser, which I was happy to use while in beta. Since it reached 1.0 release, I have become aware of a few short comings. It branched from the webkit evolution far too early and has not included recent improvements that other webkit browsers have. For example the <a href="http://nickcowie.com/2008/google-chrome-is-frustrating-me/">problem with border-radius and box-shadow</a>, lack of support for <a href="http://nickcowie.com/2008/font-face/">@font-face</a>. In addition the <a href="http://nickcowie.com/2009/cambria-and-chrome/">Chrome renders type differently</a> from all other browsers.  Still while it has a decent market share for a new browser and the opportunity to improve exists, so it needs to be supported.</p>
<h2>Internet Explorer 6</h2>
<p>A great browser in 2001, which should of been replaced in 2003 and disappeared from view by 2006. It has a number of idiosyncrasies that require work arounds, and you have to spend considerable time after getting a design to work in IE6 after you had it working in more modern browsers. However, over two years after being replaced it still commands around 20% of the IE market share. This has very little to do with computers not being able to support IE7. Less that 5% of all IE6 users are on an OS other than XP.</p>
<p>Unfortunately IE6&#8217;s reign of 5 years cemented it&#8217;s position in the corporate market and their intranet systems. A large number of corporate networks could not upgrade to IE7, because major tools like the finance and human resources system (in our office) would not work with IE7. These are not quick and dirty locally built tools, but major applications built by vendors like Oracle, IBM and the ilk. However, more than 2 years after it&#8217;s release, IE7 is now getting support from these applications and as corporates upgrade these system, most are also upgrading their corporate browser to IE7. Unfortunately this will take a couple more years, before IE7 or IE8 rule the corporate sector.</p>
<p>A more disturbing trend is the netbooks and inexpensive laptops that connect to the free wifi at work, over 50% of the machines running XP use IE6, compared to less than 25% of the XP machines accessing the regular website. I do not know if this is because IE6 is the preferred browser for low spec machine running XP or something to do with the large number of Chinese and Korean language devices.</p>
<p>Still while IE6 is our corporate browser, I will have to support it, no questions asked. As I will while it remains popular in either in the corporate or low end netbook/laptop sectors.</p>
<h2>Internet Explorer for Windows Mobile 6</h2>
<p>If you thought supporting IE6 or the old IE5 was painful, you have never had to support IE for WM5 or WM6. It does not know if is a mobile browser or a full blown browser for the small screen, it loads both screen and mobile profile stylesheets, it only supports XHTML-MP which is missing a few key elements from HTML4. JavaScript support is interesting, some scripts work, other do not and some just crash the browser. Unfortunately it is one of the major mobile browsers and Windows Mobile is popular in the corporate sectors. Around 10 times more popular than the iPhone and Mobile Safari and a lot more than Opera Mobile, my favourite small screen browsers.</p>
<h2>Browsers I will stop supporting this year</h2>
<p>I have already made a decision not to worry about getting the new website I just launched for work, perfect in Firefox 2 and Safari 2. they accounts for less than 1% of all traffic. So as long as it functions correctly that is all I am concerned about. Minor defects are acceptable. On the other hand, Firefox 2 support will be a concern if I every get round to redesigning this blog because it accounts for 5% of all traffic. Apparently web geeks are twice as likely to stick with Firefox 2 than the average Firefox user, probably something to do with the trusty web developer toolbar. Still I will review that later in the year.</p>
<p>I am a little more ruthless than the <a href="http://developer.yahoo.com/yui/articles/gbs/">Yahoo browser support chart</a>, I have already dropped Windows 2000 support. I currently only worry about XP, Vista, OSX 10.4 and 10.5 and Ubuntu as OSes and IE6, IE7, Safari 3, Chrome, Opera 9.5, Firefox 2 &#038; 3 as browsers for computers. Though I am looking at dropping Chrome and Firefox 2 to functional only, while adding IE8 and Opera 10 to supported. I also support Mobile Safari, Opera Mobile, Internet Explorer for Windows Mobile 6 and would support the latest S60 browser if I had access to a test device.</p>
<p><small>edited 17 February 2009 for grammatical reasons</small></p>
]]></content:encoded>
			<wfw:commentRss>http://nickcowie.com/2009/browsers-i-rather-not-support/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Cambria and Chrome</title>
		<link>http://nickcowie.com/2009/cambria-and-chrome/</link>
		<comments>http://nickcowie.com/2009/cambria-and-chrome/#comments</comments>
		<pubDate>Sat, 10 Jan 2009 12:48:40 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
		
		<category><![CDATA[css and html]]></category>

		<category><![CDATA[browsers]]></category>

		<category><![CDATA[cambria]]></category>

		<category><![CDATA[chrome]]></category>

		<category><![CDATA[chrome bashing]]></category>

		<category><![CDATA[font-stack]]></category>

		<category><![CDATA[google chrome]]></category>

		<category><![CDATA[typography]]></category>

		<guid isPermaLink="false">http://nickcowie.com/?p=392</guid>
		<description><![CDATA[<p>A little experiment with a two popular windows fonts and a number of different browsers, and one painful result</p>]]></description>
			<content:encoded><![CDATA[<p>After reading <a href="http://www.sitepoint.com/article/eight-definitive-font-stacks/">Eight Definitive Font Stacks</a> over a SitePoint, I decided to have a look at the differences between the font choices, particularly the use of the Vista fonts (Cambria, Constantia, Calibri, Corbel, Segoe UI and Consolas) so I fired up the Vista virtual machine to have a look at the differences between Cambria and Times New Roman, the two windows fonts in the first stack at 50px for closer inspection. If you have Cambria and Times New Roman installed this is the <a href="/proge/fontstackvista.html">test page</a> I used.</p>
<p>On close inspection, I like Cambria and the idea of using it for body copy. Just need to find a suitable Mac font and a fallback for those XP machines without it. Times New Roman has never cut it as a body copy font for me. On the other hand Times New Roman looks so elegant at large text sizes, that I could not bear to use Cambria as a display text(Title and headings) if Times New Roman was available.</p>
<p>Mindful of the recent <a href="http://www.mail-archive.com/wsg@webstandardsgroup.org/msg37914.html">Chrome and Safari render the same&#8230;or do they?</a> discussion on the WSG mailing list. I fired up all the test browsers on that machine to see if there are any differences in font rendering between IE8, Firefox3.1 beta, Safari 3.1, Opera 10 alpha and Chrome. The results have been combined into <a href="/proge/cambriaVista.png">single image</a>.</p>
<p>The shock was how differently Chrome rendered the text to all the other browsers. The type is significantly heavier with Chrome, looking more like a semibold version of the typeface, when compared to all the  other browsers, which rendered the type identical to my untrained eye.</p>
<p>I have always known that type on the web is far from perfect. But by selecting the right fonts and using relative sizes, you could deliver a fairly consistent typographical experience to most users no matter what OS, browser, installed fonts and user settings they had. Chrome takes your carefully constructed typography and makes it darker and dramatically changing your design. <a href="http://informationarchitects.jp/the-web-is-all-about-typography-period/">Oliver Reichenstein</a> said <em>Web design is 95% typography</em> that is because Google Chrome now has a 5% market share.</p>
]]></content:encoded>
			<wfw:commentRss>http://nickcowie.com/2009/cambria-and-chrome/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The State of the Web survey</title>
		<link>http://nickcowie.com/2009/the-state-of-the-web-survey/</link>
		<comments>http://nickcowie.com/2009/the-state-of-the-web-survey/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 14:04:54 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
		
		<category><![CDATA[Just geek]]></category>

		<category><![CDATA[css and html]]></category>

		<category><![CDATA[survey]]></category>

		<guid isPermaLink="false">http://nickcowie.com/?p=387</guid>
		<description><![CDATA[<h3>aka thoughts on what everybody else is doing</h3><p>I have just finished reading <a href="http://www.webdirections.org/blog/the-state-of-the-web-survey-results/">The State of the Web survey results</a>. I was surprised by the results of the survey of current web practices, I always considered myself an early adopter of design and development practices and technologies when it comes to HTML, CSS and the ilk. With an early adopter audience, I expected to be in the middle of the pack of the survey with my design and development practices.</p>]]></description>
			<content:encoded><![CDATA[<h2>aka thoughts on what everybody else is doing</h2>
<p>I have just finished reading <a href="http://www.webdirections.org/blog/the-state-of-the-web-survey-results/">The State of the Web survey results</a>. I was surprised by the results of the survey of current web practices, I always considered myself an early adopter of design and development practices and technologies when it comes to HTML, CSS and the ilk. With an early adopter audience for this survey, I expected to be in the middle of the pack of with my design and development practices.</p>
<p>Well I am with my choice of OS, Tiger on the laptop, XP (not my choice) at work, browser of choice Firefox 3 (well 3.1 beta) and even our work environment with linux, apache, PHP, PostgreSQL and MySQL. But then things do take a surprising turn.</p>
<p>Around 25% of respondents test sites in a mobile browser,  33% use microformats, 4% use RDFA (it has been in my footer for a couple of years now), 4% use @font-face (I was one of the six respondents to use both TTF/OTF and EOT formats), all things I do and most for a year or two (@font-face excluded).
<p>So I am ahead of the early adopters  and this scares me. Because for the last two years I have not been pushing my craft, I have been reading less, particularly leading edge web development blogs and up until a few weeks ago not experimenting.</p>
<p>So if I have lazy for the last couple of years, why am I still ahead of the pack. Wishful thinking is that most people have been gaining knowledge with javascript libraries and frameworks, as well as back-end frameworks. A couple of areas I need to invest some time in, but looking at the survey results I could still be classed as an early adopter with javascript libraries and frameworks and my back-end skills have never been good.</p>
<p>Instead I believe not enough people are pushing their skills, not spending enough time seeking out what other people are doing, learning new and cool stuff and just having fun experimenting. Well I am not going to be one of them, so I hope you will at least join me for the ride if you are not going to push yourself.</p>
]]></content:encoded>
			<wfw:commentRss>http://nickcowie.com/2009/the-state-of-the-web-survey/feed/</wfw:commentRss>
		</item>
		<item>
		<title>!important keyword and IE</title>
		<link>http://nickcowie.com/2009/important-keyword-and-ie/</link>
		<comments>http://nickcowie.com/2009/important-keyword-and-ie/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 08:52:36 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
		
		<category><![CDATA[css and html]]></category>

		<category><![CDATA[!important]]></category>

		<category><![CDATA[css]]></category>

		<category><![CDATA[ie7]]></category>

		<category><![CDATA[IE8]]></category>

		<category><![CDATA[internet explorer]]></category>

		<guid isPermaLink="false">http://nickcowie.com/?p=382</guid>
		<description><![CDATA[<p>Yeah in a  <a href="http://nickcowie.com/2008/font-face#comment-37444">comment to my recent @font-face post</a> suggested that you should place the conditional comments last because how IE6 does not handle the !important keyword correctly.</p>
<p>I will stick with my original decision of placing conditional comments first, because while IE7 and below do not handle the !important keyword as per the W3C specifications, they do apply !important consistently. </p>]]></description>
			<content:encoded><![CDATA[<p>Yeah in a  <a href="http://nickcowie.com/2008/font-face#comment-37444">comment to my recent @font-face post</a> suggested that you should place the conditional comments last because how IE6 does not handle the !important keyword correctly.</p>
<p>I will stick with my original decision of placing conditional comments first, because while IE7 and below do not handle the !important keyword as per the W3C specifications, they do apply !important consistently. </p>
<p>IE7 and below does apply !important correctly in all but one circumstance: </p>
<p><code>&lt;style type=&quot;text/css&quot; media=&quot;all&quot;&gt;<br />
  .class1 {<br />
  color: red !important;<br />
  color: blue;<br />
  }</code></p>
<p>IE6 ignores the !important keyword when a property with !important keyword is given another value in the same declaration. However, IE does apply !important correctly, when the property is given a another value in a second declaration, such as: </p>
<p><code>  .class2 {<br />
  color: red !important;<br />
  }<br />
  .class2 {<br />
  color: blue;<br />
  }<br />
  &lt;/style&gt;</code></p>
<p>If you have access to IE7 or below <a href="http://nickcowie.com/proge/important_demo.html">view  a demonstration</a>, otherwise here are the screenshots.</p>
<p>IE7 </p>
<p><img src="/proge/ie7important.png" alt="IE7 and !important" /></p>
<p>IE8 (which does apply the !important keyword correctly.</p>
<p><img src="/proge/ie8important.png" alt="IE8 and !important" /></p>
]]></content:encoded>
			<wfw:commentRss>http://nickcowie.com/2009/important-keyword-and-ie/feed/</wfw:commentRss>
		</item>
		<item>
		<title>first-letter pseudo element</title>
		<link>http://nickcowie.com/2008/first-letter-pseudo-element/</link>
		<comments>http://nickcowie.com/2008/first-letter-pseudo-element/#comments</comments>
		<pubDate>Sun, 28 Dec 2008 09:09:51 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
		
		<category><![CDATA[css and html]]></category>

		<category><![CDATA[progressive enhancement]]></category>

		<category><![CDATA[css2]]></category>

		<category><![CDATA[first-letter]]></category>

		<category><![CDATA[initial caps]]></category>

		<category><![CDATA[pseudo element]]></category>

		<category><![CDATA[tutorial]]></category>

		<category><![CDATA[typography]]></category>

		<guid isPermaLink="false">http://nickcowie.com/?p=379</guid>
		<description><![CDATA[I adore the printed page and those little refinements such as Initial Caps, that use to only be possible in print.  Here is an explanation of the  first-letter pseudo element which allows you to replicate that using HTML and CSS. ]]></description>
			<content:encoded><![CDATA[<h2>What it does:</h2>
<p>Lets you style the first letter of any element.</p>
<h2>Supported by:</h2>
<p>Firefox, Safari, Chrome, Opera, IE5.5+</p>
<h3>Known bugs</h3>
<p>They are detailed at <a href="http://www.satzansatz.de/cssd/pseudocss.html#first-letter">pseudo-class, pseudo-element, pseudo-CSS</a>. IE6 &amp; 7 has more than a few, negative margins and vertical-align separating from the <em>box</em> are the most frustrating for me.  As well as Safari and Firefox handling the text-indent property differently (sorry but I can not get my head around the specs today).</p>
<h2>Not support by:</h2>
<p>Old browsers and some mobile browsers.</p>
<h3>What happens when first-letter is not supported:</h3>
<p>The first letter is not individually styled, instead it has the same styling as the rest of the element.</p>
<h2>Properties</h2>
<p>Only a limited number of properties can be applied to first-letter: </p>
<ul>
<li>color properties</li>
<li>border properties</li>
<li>font properties</li>
<li>text-transform</li>
<li>line-height</li>
<li>background properties</li>
<li>margin properties, though it appears only margin-top and margin-bottom works when combined with float.</li>
<li>padding properties, note padding-bottom does not affect the size or text flow of the holding container unless combined with float. </li>
<li>text-decoration</li>
<li>letter-spacing, only when floated</li>
<li>clear, only when floated</li>
<li>vertical-align, only when not floated</li>
<li>float</li>
<li>clear</li>
</ul>
<p>If you want to see the properties in action here is an <a href="http://nickcowie.com/proge/firstletter_example.html">example</a>.</p>
<p>Screenshots from <a href="http://nickcowie.com/proge/ie7-fl.png">IE7</a>, <a href="http://nickcowie.com/proge/firefox-fl.png">Firefox 3.1b</a> and <a href="http://nickcowie.com/proge/safari-fl.png">Safari 3</a> (note the differences in the last second and third last items in Firefox and Safari, otherwise it is the usual IE vs everybody else.) </p>
<h2>Issues</h2>
<p>If you look at the examples, you will see two choices. After working out what properties you can use with IE, you will either spend a time tweaking margin-top and padding-top when combined with float or learning the difference between vertical alignment: baseline, centerline, mathline and topline (another experiment for me) and adjusting line-height, depending on your desired results. </p>
<h2>Example</h2>
<p>Not yet, I will combine it adjacent selectors for an example shortly. </p>
<h2>Will I use it now?</h2>
<p>I will definitely look at combining first-letter, adjacent selectors and @font-face when I redesign this blog and for any other project. </p>
]]></content:encoded>
			<wfw:commentRss>http://nickcowie.com/2008/first-letter-pseudo-element/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
