<?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>Nick Cowie &#187; css and html</title>
	<atom:link href="http://nickcowie.com/category/css-and-html/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>
	<lastBuildDate>Wed, 19 May 2010 14:04:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>RGBa backgrounds in IE</title>
		<link>http://nickcowie.com/2009/rgba-backgrounds-in-ie/</link>
		<comments>http://nickcowie.com/2009/rgba-backgrounds-in-ie/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 04:54:41 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[css and html]]></category>
		<category><![CDATA[progressive enhancement]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[RGBA]]></category>

		<guid isPermaLink="false">http://nickcowie.com/?p=471</guid>
		<description><![CDATA[<p>RGBa is the new black, with support in most modern Safari 3, Firefox 3 and Opera 10, you can have semi transparent elements.  Only there is no support currently in IE for RGBa.</p>
<p>However, you can easily fake it for backgrounds of block elements in IE with 
<code>filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=1, StartColorStr='#aaRRBBGG', EndColorStr='#aaRRBBGG);</code> 
The filter gradient places a alpha channel colour gradient over the background. So as long the background is transparent, the start and end colours the same and the alpha (aa) channel a value greater than 0 (fully transparent) and FF (fully opaque), you get a block element in IE with a RGBa background. You can see an  example of <a href="http://nickcowie.com/proge/rgba-ie.html">RGBa in action in IE</a> &#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>RGBa is the new black, with support in most modern Safari 3, Firefox 3 and Opera 10, you can have semi transparent elements.  Only there is no support currently in IE for RGBa.</p>
<p>However, you can easily fake it for backgrounds of block elements in IE with<br />
<code>filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=1, StartColorStr='#aaRRBBGG', EndColorStr='#aaRRBBGG);</code><br />
The filter gradient places a alpha channel colour gradient over the background. So as long the background is transparent, the start and end colours the same and the alpha (aa) channel a value greater than 0 (fully transparent) and FF (fully opaque), you get a block element in IE with a RGBa background. You can see an  example of <a href="http://nickcowie.com/proge/rgba-ie.html">RGBa in action in IE</a></p>
<p>The simplest way is including in your CSS<br />
<code>background: transparent ;<br />
background: rgba(255,0,0,0.5) ;<br />
filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=1, StartColorStr='#88ff0000', EndColorStr='#88ff0000'); </code></p>
<p>Which is clean and simple, even it does deliver you invalid CSS. There are two problems,  if a browser does not support RGBa and is not IE, (eg FF2) the block element background will be transparent. I do not think that is a major issue right now. There are a handful of browsers outside IE in use that do not support RGBa. My main concern is future proofing, the next major version of IE (the beta is due within a year) will support RGBa (as well as HTML5 and some CSS3 according to sources) and as usual will maintain backwards compatibility with earlier versions of IE. So you will get a semi transparent background colour overlaid with a semi transparent gradient.</p>
<p>The solution, is to provide a stylesheet to all browsers and an extra stylesheet to IE8 and below with <a href="http://nickcowie.com/2005/conditional-comments/">conditional comments</a>. So your CSS will have:<br />
<code>background: fallback color RGB or hex ;<br />
/* background colour for browsers that are not IE that do not understand RGBa */<br />
background: rgba(R,G,B,a) ;</code><br />
Your HTML will include (note don’t try and cut and paste from here as grab <a href="http://nickcowie.com/proge/ie8cc.txt">the text file</a> instead):<br />
<code>&lt;!--[if lt IE 8]&gt;<br />
&lt;link rel="stylesheet" type="text/css" href="/xtras/ieonly.css" media="screen" /&gt;<br />
&lt;![endif]--&gt;</code><br />
And ieonly.css file include:<br />
<code>background: transparent ;<br />
/* needed to clear the background colour */<br />
filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=1, StartColorStr='#88ff0000', EndColorStr='#88ff0000'); </code></p>
<p>If you don’t believe me and do not have IE6, here is <a href="http://nickcowie.com/proge/ie6rgba.png">the screenshot</a>. And I was not the first one to suggest this method for implementing RGBa in IE, <a href="http://www.hedgerwow.com/360/dhtml/rgba/demo.php">Hedger Wang</a> did some time ago, and even suggested using canvas to provide the transparent background to FF2. I only found his example while finalising this post.</p>
]]></content:encoded>
			<wfw:commentRss>http://nickcowie.com/2009/rgba-backgrounds-in-ie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why use CSS Zen Garden for CSS3 demo</title>
		<link>http://nickcowie.com/2009/why-use-css-zen-garden-for-css3-demo/</link>
		<comments>http://nickcowie.com/2009/why-use-css-zen-garden-for-css3-demo/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 05:18:29 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Just geek]]></category>
		<category><![CDATA[css and html]]></category>
		<category><![CDATA[presentations]]></category>
		<category><![CDATA[progressive enhancement]]></category>
		<category><![CDATA[css zen garden]]></category>
		<category><![CDATA[css3]]></category>

		<guid isPermaLink="false">http://nickcowie.com/?p=461</guid>
		<description><![CDATA[<p>For those who have not seen my Edge of the Web <a href="http://nickcowie.com/eotw/">CSS3 demonstration</a> I used the <a href="http://csszengarden.com">CSS Zen Garden</a> HTML. Why, because I wanted to use somebody else's HTML, mainly because I wanted to show it works with any HTML and that most people would be familiar with the site.</p>
<p>I will not submit it, because Dave has not accepted any new submissions almost two year, my demo is far from the visual standard of most other design and I broke one <strong>major rule</strong> the CSS does not validate.</p>]]></description>
			<content:encoded><![CDATA[<p>For those who have not seen my Edge of the Web <a href="http://nickcowie.com/eotw/">CSS3 demonstration</a> I used the <a href="http://csszengarden.com">CSS Zen Garden</a> HTML. Why, because I wanted to use somebody else’s HTML, mainly because I wanted to show it works with any HTML and that most people would be familiar with the site.</p>
<p>I will not submit it, because Dave has not accepted any new submissions almost two year, my demo is far from the visual standard of most other design and I broke one <strong>major rule</strong> the CSS does not validate.</p>
<p>There are no hacks in the CSS just lots of browsers specific declarations like:</p>
<p><code>-moz-box-shadow: 5px 5px 7px rgba(0,0,0,0.66);</code></p>
<p>And even worse Microsoft specific declarations, which break the W3C rules for CSS</p>
<p><code>filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=5, OffY=5, Color='#AA666666', Positive='true');</code></p>
<p>As I said in my presentation, the important thing to know about validation, is why your code does not validate, if you know that, then validation is irrelevant.</p>
]]></content:encoded>
			<wfw:commentRss>http://nickcowie.com/2009/why-use-css-zen-garden-for-css3-demo/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>CSS3 presentations at EOTW09 and WebJam11</title>
		<link>http://nickcowie.com/2009/css3-presentations-at-eotw09-and-webjam11/</link>
		<comments>http://nickcowie.com/2009/css3-presentations-at-eotw09-and-webjam11/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 14:57:44 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[conferences]]></category>
		<category><![CDATA[css and html]]></category>
		<category><![CDATA[presentations]]></category>
		<category><![CDATA[progressive enhancement]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[eotw09]]></category>
		<category><![CDATA[webjam11]]></category>

		<guid isPermaLink="false">http://nickcowie.com/?p=454</guid>
		<description><![CDATA[<p>I really enjoyed developing my presentation for Edge of the Web. The research and experimentation was a lot of fun.  Explore the <a href="http://nickcowie.com/eotw">demo using CSS Zen Garden HTML</a>  and seriously try it in IE6, the<a href="http://nickcowie.com/webjam11"> WebJam presentation</a> with some even more outrageous transitions needs Safari4 <del>or FF3.7</del> and a little  exploring with a mouse.</p>
<div style="width:425px;text-align:left" id="__ss_2408884"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/nickobec/progressive-enhancement-with-css3" title="Progressive enhancement with CSS3">Progressive enhancement with CSS3</a><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=css3-091103025215-phpapp01&#038;stripped_title=progressive-enhancement-with-css3" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=css3-091103025215-phpapp01&#038;stripped_title=progressive-enhancement-with-css3" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object><div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">documents</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/nickobec">Nick Cowie</a>.</div></div>
<p>What I learnt is enough from probably a dozen blog posts, so hopefully I will be writing  lot in the next few weeks.</p>]]></description>
			<content:encoded><![CDATA[<p>I really enjoyed developing my presentation for Edge of the Web. The research and experimentation was a lot of fun.  Explore the <a href="http://nickcowie.com/eotw">demo using CSS Zen Garden HTML</a>  and seriously try it in IE6, the<a href="http://nickcowie.com/webjam11"> WebJam presentation</a> with some even more outrageous transitions needs Safari4 <del>or FF3.7</del> and a little  exploring with a mouse.</p>
<div style="width:425px;text-align:left" id="__ss_2408884"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/nickobec/progressive-enhancement-with-css3" title="Progressive enhancement with CSS3">Progressive enhancement with CSS3</a><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=css3-091103025215-phpapp01&#038;stripped_title=progressive-enhancement-with-css3" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=css3-091103025215-phpapp01&#038;stripped_title=progressive-enhancement-with-css3" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">documents</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/nickobec">Nick Cowie</a>.</div>
</div>
<p>What I learnt is enough from probably a dozen blog posts, so hopefully I will be writing  lot in the next few weeks.</p>
]]></content:encoded>
			<wfw:commentRss>http://nickcowie.com/2009/css3-presentations-at-eotw09-and-webjam11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The League of Moveable Type</title>
		<link>http://nickcowie.com/2009/the-league-of-moveable-type/</link>
		<comments>http://nickcowie.com/2009/the-league-of-moveable-type/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 01:04:55 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[css and html]]></category>
		<category><![CDATA[progressive enhancement]]></category>
		<category><![CDATA[@font-fact]]></category>
		<category><![CDATA[fonts]]></category>

		<guid isPermaLink="false">http://nickcowie.com/?p=447</guid>
		<description><![CDATA[<p>For those who have not seen my Edge of the Web <a href="http://nickcowie.com/eotw/">CSS3 demonstration</a> I used the <a href="http://csszengarden.com">CSS Zen Garden</a> HTML. Why, because I wanted to use somebody else's HTML, mainly because I wanted to show it works with any HTML and that most people would be familiar with the site.</p>
<p>I will not submit it, because Dave has not accepted any new submissions almost two year, my demo is far from the visual standard of most other design and I broke one <strong>major rule</strong> the CSS does not validate.</p>]]></description>
			<content:encoded><![CDATA[<p>I just admire <a href='http://www.theleagueofmoveabletype.com/'>The League of Moveable Type</a>. While a lot of font foundries are still working on licensing issues with embedding fonts in PDFs. here a couple of font designers discovered <a href="http://nickcowie.com/2008/font-face/">@font-face</a> and went lets make the world a better place. By creating <a href='http://www.theleagueofmoveabletype.com/'>The League of Moveable Type</a>, convincing a few fellow font designers to join them in releasing fonts with an open source licence suitable for embedding with @font-face.</p>
]]></content:encoded>
			<wfw:commentRss>http://nickcowie.com/2009/the-league-of-moveable-type/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I am on the Edge of the Web</title>
		<link>http://nickcowie.com/2009/i-am-on-the-edge-of-the-web/</link>
		<comments>http://nickcowie.com/2009/i-am-on-the-edge-of-the-web/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 00:58:07 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Just geek]]></category>
		<category><![CDATA[conferences]]></category>
		<category><![CDATA[css and html]]></category>
		<category><![CDATA[progressive enhancement]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[edge of the web]]></category>
		<category><![CDATA[eotw]]></category>
		<category><![CDATA[web conference]]></category>

		<guid isPermaLink="false">http://nickcowie.com/?p=444</guid>
		<description><![CDATA[<p>Well I am speaking at the Edge of the Web Conference in Perth in November. The title Progressive Enhancement with CSS: Or how I stopped worrying about IE6 and starting loving CSS3.</p>
<p>The aim is to show how you can use CSS2 and CSS3 to improve the experience of visitors using modern browsers, while not blocking access to those people still using older browsers like IE6 &#8230;</p> ]]></description>
			<content:encoded><![CDATA[<p>Well I am speaking at the Edge of the Web Conference in Perth in November. The title Progressive Enhancement with CSS: Or how I stopped worrying about IE6 and starting loving CSS3.</p>
<p>The aim is to show how you can use CSS2 and CSS3 to improve the experience of visitors using modern browsers, while not blocking access to those people still using older browsers like IE6.  I want to convince the audience, that you can build sites that do not have to look the same in all browsers.</p>
<p>I will be looking at what CSS2 and CSS3 you can safely implement now. The main provision it must not break IE6. It does not have to work in IE6, just have a safe fallback position.</p>
<p>The presentation is not aimed at people who read Surfin Safari, CSS3.info or similar sites and then go off an experiment with what they have been shown. That is what I do</p>
<p>I know I will be covering those I covered indepth before like <a href="http://mixedgrill.webindustry.asn.au/2008/opacity-vs-rgba-transparency-with-css">opacity/transparency</a> and &lt;a href=http://nickcowie.com/2008/font-face/”&gt;@font-face</a>. Are there any other CSS2 or CSS3 properties you would like to see me cover? Otherwise I might go all shock and awe with transitions ;-)</p>
]]></content:encoded>
			<wfw:commentRss>http://nickcowie.com/2009/i-am-on-the-edge-of-the-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cleaning up Word HTML</title>
		<link>http://nickcowie.com/2009/cleaning-up-word-html/</link>
		<comments>http://nickcowie.com/2009/cleaning-up-word-html/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 15:27:25 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[css and html]]></category>
		<category><![CDATA[clean]]></category>
		<category><![CDATA[word]]></category>
		<category><![CDATA[word html]]></category>

		<guid isPermaLink="false">http://nickcowie.com/?p=442</guid>
		<description><![CDATA[<p>If you are like me, on occasions you have people want to paste directly from Word into CMS or Wordpress. I was bemoaning the fact, that you either end up with Word HTML or lose all the formatting, when a colleague of mine, <a href="http://stevenmiles.com.au/">Steven Miles</a> suggest I use JavaScript to clean up the HTML and provide the some code.</p>
<p>So this is what I created to <a href="http://nickcowie.com/other/clean.html">clean up Word HTML</a>, you paste the HTML is to the editable div, hit the button and if you are using Internet Explorer the converted HTML is copied to your clipboard. So you can paste the clean HTML (note it is HTML code) straight into the CMS editor in HTML mode &#8230;</p>
<h3>*** does not currently work in IE8, I need to investigate further ***</h3>]]></description>
			<content:encoded><![CDATA[<p>If you are like me, on occasions you have people want to paste directly from Word into CMS or Wordpress. I was bemoaning the fact, that you either end up with Word HTML or lose all the formatting, when a colleague of mine, <a href="http://stevenmiles.com.au/">Steven Miles</a> suggest I use JavaScript to clean up the HTML and provide the some code.</p>
<p>So this is what I created to <a href="http://nickcowie.com/other/clean.html">clean up Word HTML</a>, you paste the HTML is to the editable div, hit the button and if you are using Internet Explorer the converted HTML is copied to your clipboard. So you can paste the clean HTML (note it is HTML code) straight into the CMS editor in HTML mode or WordPress.</p>
<p>Note, while you can use JavaScript to add to the clipboard with Internet Explorer, you need to use <a href="http://javascript.internet.com/forms/clipboard-copy.html">Flash to copy the contents</a> to the clipboard for other browsers. I have not do that yet. Mainly because Internet Explorer is the corporate browser and this was created for work.</p.</p>
<p>So have a look under the hood, see how it works, take the code  and modify it for your own use. It appears to be working for what I need, but maybe needed to be modified for your situation.</p>
<p><ins datetime="2009-10-05T04:41:53+00:00"><br />
<h3>*** does not currently work in IE8, I need to investigate further ***</h3>
]]></content:encoded>
			<wfw:commentRss>http://nickcowie.com/2009/cleaning-up-word-html/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</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, … ‘line-height’, … margin properties, padding properties  … 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>
		<slash:comments>4</slash:comments>
		</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>
		<slash:comments>2</slash:comments>
		</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’s reign of 5 years cemented it’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’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 &amp; 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>
		<slash:comments>9</slash:comments>
		</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…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>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
