<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.3" -->
<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/"
	>

<channel>
	<title>Just a Coder - nickfitz.co.uk</title>
	<link>http://www.nickfitz.co.uk</link>
	<description>Actively seeking a pithy tagline...</description>
	<pubDate>Sat, 10 Nov 2007 08:22:32 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.3</generator>
	<language>en</language>
			<item>
		<title>Why &#8220;left: -9999px;&#8221; is Better For Accessibility Than &#8220;display: none;&#8221;</title>
		<link>http://www.nickfitz.co.uk/2007/02/14/why-left-9999px-is-better-for-accessibility-than-display-none/</link>
		<comments>http://www.nickfitz.co.uk/2007/02/14/why-left-9999px-is-better-for-accessibility-than-display-none/#comments</comments>
		<pubDate>Wed, 14 Feb 2007 18:17:20 +0000</pubDate>
		<dc:creator>nickfitz</dc:creator>
		
	<category>General</category>
	<category>Internet Explorer</category>
	<category>Web Development</category>
	<category>Web Standards</category>
	<category>CSS</category>
	<category>Microsoft</category>
	<category>Accessibility</category>
		<guid isPermaLink="false">http://www.nickfitz.co.uk/2007/02/14/why-left-9999px-is-better-for-accessibility-than-display-none/</guid>
		<description><![CDATA[(Update: Thierry Koblentz points out in the comments that either technique may be appropriate, depending on circumstances. I mention this in the last pargraph, but just to be clear, there should have been a &#8220;usually&#8221; or &#8220;often&#8221; or some such word in front  of the &#8220;better&#8221; of the title. That, or a different title.)
A [...]]]></description>
			<content:encoded><![CDATA[<p>(<strong>Update:</strong> <a href="http://www.nickfitz.co.uk/2007/02/14/why-left-9999px-is-better-for-accessibility-than-display-none/#comment-21146">Thierry Koblentz points out</a> in the comments that either technique may be appropriate, depending on circumstances. I mention this in the last pargraph, but just to be clear, there should have been a &#8220;usually&#8221; or &#8220;often&#8221; or some such word in front  of the &#8220;better&#8221; of the title. That, or a different title.)</p>
<p>A recurring question on various mailing lists such as the <a href="http://webstandardsgroup.org/">Web Standards Group</a> discussion list is &#8220;How can I hide content but still have it accessible?&#8221; This is usually asked in the context of <a href="http://www.access-matters.com/2005/05/08/quiz-114-image-replacement-techniques/">image replacement techniques</a>, where one might for example wish to display a heading in a fancy typeface, but still have the content accessible to users of assistive technologies such as screen reading software.</p>
<p>Two techniques, both reliant on CSS, tend to come up in these discussions: hiding the text by the use of <code>display: none</code> or <code>visibility: hidden</code>, and positioning the text off-screen, using absolute positioning and <code>left: -9999px</code>, or <code>margin-left: -9999px</code>.</p>
<p><a href="http://access-matters.com/">Access Matters</a> determined back in June 2005 that the <code>display</code> and <code>visibility</code> techniques appeared to be inaccessible to screen readers, whereas the offscreen positioning method was accessible. The <a href="http://access-matters.com/screen-reader-test-results/">full results</a> go into more detail.</p>
<p>One thing that nobody seemed to have bothered to explain was just <em>why</em> this was the case. Inspired by yet another thread on the subject, I finally decided to do some digging; if I don&#8217;t know <em>why</em> I&#8217;m doing something, I can&#8217;t be sure that I <em>should</em> be doing it, which leads to the risk of <a href="http://catb.org/jargon/html/C/cargo-cult-programming.html">Cargo Cult coding</a>.</p>
<h3>Ask the people who know</h3>
<p>To my astonishment, a search of the <a href="http://msdn.microsoft.com/library">Microsoft Developer Network Library</a> quickly brought me to the explanation I sought. (I was astonished because the MSDN library search is notorious for returning swathes of irrelevant results for even the simplest search; I have heard anecdotal evidence that Microsoft&#8217;s own developers search the library using Google with the <code>site:msdn.microsoft.com</code> specifier.)</p>
<p>The library&#8217;s section on <a href="http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/accessibility/accessibility_node_entry.asp">accessibility support in Internet Explorer</a> is extensive, but the information about <a href="https://msdn.microsoft.com/workshop/browser/accessibility/overview/invisible.asp">invisible objects</a> told me all I needed to know. To quote:</p>
<blockquote cite="https://msdn.microsoft.com/workshop/browser/accessibility/overview/invisible.asp"><p>With Internet Explorer 6 and later, the <code>pvarState</code> parameter of the <code>IAccessible::get_accState</code> property receives <code>STATE_SYSTEM_OFFSCREEN</code> when the object is invisible because of scrolling and receives <code>STATE_SYSTEM_INVISIBLE</code> when the object is invisible because its <code>IHTMLStyle::visibility</code> property is set to <code>hidden</code>, or its <code>IHTMLStyle::display</code> property is set to <code>none</code>.</p></blockquote>
<h3>Again, in English?</h3>
<p>A screen reader doesn&#8217;t load an HTML page: the browser (usually Internet Explorer) does that. What the screen reader does is to ask IE about the content, using an API called <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msaa/msaastart_9w2t.asp">Microsoft Active Accessibility</a> (MSAA). MSAA allows the screen reader to interrogate the browser as to the contents of a page; the dialog, insofar as I understand it, would go something like:</p>
<dl>
<dt>Internet Explorer:</dt>
<dd>Hey, I&#8217;ve just loaded a page.</dd>
<dt>Screen reader:</dt>
<dd>Cool, what&#8217;s it got on it?</dd>
<dt>Internet Explorer:</dt>
<dd>There&#8217;s a heading, then some links, then a few paragraphs.</dd>
<dt>Screen reader:</dt>
<dd>OK; give us the heading.</dd>
<dt>Internet Explorer:</dt>
<dd>It says &#8220;Welcome to HyperGlobalMegaCorp&#8221;.</dd>
<dt>Screen reader:</dt>
<dd>Right, hang on a moment. <em>(Speaks the given text to the user.)</em>  </dd>
</dl>
<p>&#8230; and so on; you get the general idea.</p>
<p>The key is that IE doesn&#8217;t just return content to be spoken in some way; it also returns information <em>about</em> that content. This includes information that goes by the snappy name of <code>pvarState</code>, and one of the aspects of this information is that it can tell the screen reader whether or not the content of the thing it&#8217;s asking about (for example, the heading in the above dialogue) is actually displayed on the screen - that is, whether it&#8217;s visible or invisible. (Note that these terms aren&#8217;t being used here in exactly the same way as they are in CSS.)</p>
<p>There are three ways that IE comes to regard something as being invisible:</p>
<ol>
<li>It has the CSS property <code>display</code> set to the value <code>none</code>;</li>
<li>It has the CSS property <code>visibility</code> set to the value <code>hidden</code>;</li>
<li>It is in a position where the window would need to be scrolled for it to become visible.</li>
</ol>
<p>IE further distinguishes these three forms of invisibility by dividing them into two kinds. The first two forms of invisibility are denoted by the <code>pvarState</code> value <code>STATE_SYSTEM_INVISIBLE</code>, and the final form is denoted by the value <code>STATE_SYSTEM_OFFSCREEN</code>.</p>
<p>So finally it all becomes clear: screen readers will treat content with the state <code>STATE_SYSTEM_OFFSCREEN</code> as being content that it should read, because it&#8217;s only invisible by virtue of not being within the visible region of the window: after all, a screen reader that required the user to scroll the window to read all of the content would be of very little value to anybody. The only reason that the content can&#8217;t actually be scrolled into view when using the off-left or off-top positioning technique is that Internet Explorer itself doesn&#8217;t support the concept of scrolling the window by a negative amount, although I believe this isn&#8217;t a limitation of the Windows scrolling mechanism <span lang="la">per se</span>.</p>
<p>If, however, the screen reader finds that the state of the content is <code>STATE_SYSTEM_INVISIBLE</code> it apparently concludes that it must have been concealed for a reason, and doesn&#8217;t speak it.</p>
<p>So there you go: use one of the offscreen methods and the screen reader will treat your content as being there; use the <code>display</code> or <code>visibility</code> method and the screen reader will discard it, meaning that this is a reliable way of concealing content from both a normal user and a screen reader user, should you have a reason to do so. But armed with the information above, you&#8217;ll at least know <em>why</em> you&#8217;re using whichever method you apply.</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.nickfitz.co.uk/2007/02/14/why-left-9999px-is-better-for-accessibility-than-display-none/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>WebDD: Microsoft&#8217;s Reality Distortion Field is Fully Functional</title>
		<link>http://www.nickfitz.co.uk/2007/02/06/webdd-microsofts-reality-distortion-field-is-fully-functional/</link>
		<comments>http://www.nickfitz.co.uk/2007/02/06/webdd-microsofts-reality-distortion-field-is-fully-functional/#comments</comments>
		<pubDate>Tue, 06 Feb 2007 17:10:33 +0000</pubDate>
		<dc:creator>nickfitz</dc:creator>
		
	<category>General</category>
	<category>Web Development</category>
	<category>Photography</category>
	<category>WebDD</category>
	<category>Conferences</category>
	<category>Microsoft</category>
	<category>Macintosh</category>
	<category>Me</category>
		<guid isPermaLink="false">http://www.nickfitz.co.uk/2007/02/06/webdd-microsofts-reality-distortion-field-is-fully-functional/</guid>
		<description><![CDATA[
 
 
 
  A designer?
  
  Originally uploaded by writerus drivelus.
 


Last Saturday I went to the WebDD conference at Microsoft Campus, Reading. Following my standard conference procedure, I checked in, obtained coffee, and fired up my MacBook.


At this point one of the official photographers (only authorised individuals may take photos [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin-left: 10px; margin-bottom: 10px; padding: 10px; border: 1px solid #000;">
 <a href="http://www.flickr.com/photos/43663754@N00/380482052/" title="photo sharing"><img src="http://farm1.static.flickr.com/167/380482052_1a4999424a_m.jpg" alt="" style="border: solid 2px #000000;" /></a><br />
 <br />
 <span style="font-size: 0.9em; margin-top: 0px;"><br />
  <a href="http://www.flickr.com/photos/43663754@N00/380482052/">A designer?</a><br />
  <br />
  Originally uploaded by <a href="http://www.flickr.com/people/43663754@N00/">writerus drivelus</a>.<br />
 </span>
</div>
<p>
Last Saturday I went to the <a href="http://www.webdd.org.uk/">WebDD</a> conference at <a href="http://www.microsoft.com/uk/about/map-reading.mspx">Microsoft Campus, Reading</a>. Following my standard conference procedure, I checked in, obtained coffee, and fired up my <a href="http://www.apple.com/macbook/">MacBook</a>.
</p>
<p>
At this point one of the official photographers (only authorised individuals may take photos at MS) rushed over to me and asked, &#8220;Is it all right if I take a photograph of you?&#8221;
</p>
<p>
&#8220;Yeah, fine,&#8221; I replied. As he raised his camera, I asked, &#8220;Is it the Mac?&#8221; &#8220;Yes,&#8221; he said.
</p>
<p>
I&#8217;d only been at Microsoft five minutes, but the Reality Distortion Field had already cast me into a <a href="http://www.hmbateman.com/">Bateman cartoon</a>: &#8220;The Man Who Used a Macintosh on Microsoft Campus.&#8221;
</p>
<p>
(And no, I&#8217;m not a designer.)
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.nickfitz.co.uk/2007/02/06/webdd-microsofts-reality-distortion-field-is-fully-functional/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Forget Second Life&#8230;</title>
		<link>http://www.nickfitz.co.uk/2007/01/22/forget-second-life/</link>
		<comments>http://www.nickfitz.co.uk/2007/01/22/forget-second-life/#comments</comments>
		<pubDate>Mon, 22 Jan 2007 21:09:52 +0000</pubDate>
		<dc:creator>nickfitz</dc:creator>
		
	<category>General</category>
	<category>satire</category>
		<guid isPermaLink="false">http://www.nickfitz.co.uk/2007/01/22/forget-second-life/</guid>
		<description><![CDATA[
Get a First Life!

]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://www.getafirstlife.com/">Get a First Life!</a>
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.nickfitz.co.uk/2007/01/22/forget-second-life/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>BarCamp London 2.0</title>
		<link>http://www.nickfitz.co.uk/2007/01/22/barcamp-london-20/</link>
		<comments>http://www.nickfitz.co.uk/2007/01/22/barcamp-london-20/#comments</comments>
		<pubDate>Mon, 22 Jan 2007 19:25:27 +0000</pubDate>
		<dc:creator>nickfitz</dc:creator>
		
	<category>General</category>
	<category>Web Development</category>
	<category>Web Standards</category>
	<category>barcamp</category>
	<category>barcamplondon</category>
	<category>Conferences</category>
	<category>barcamplondon07</category>
	<category>barcamplondon2</category>
		<guid isPermaLink="false">http://www.nickfitz.co.uk/2007/01/22/barcamp-london-20/</guid>
		<description><![CDATA[BarCamp London 2 is coming up]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://barcamp.org/BarCampLondon2"><img src="http://barcamp.org/f/barcamplondon2%20tiny.jpg" alt="BarCampLondon2 Feb 17-18" /></a>
</p>
<p>
It&#8217;s back! <a href="http://barcamp.org/BarCampLondon2">BarCamp London 2</a> will be hosted by <a href="http://www.bt.com">BT</a> on February 17th - 18th. Check out the BarCamp site (above) for signup details.
</p>
<p>
I&#8217;ve got my place, and now have to decide what subject to present about. One thing I&#8217;m certain of: I&#8217;m not going to leave it until the last minute this time. I missed a lot of good stuff at the last <abbr title="BarCamp London">BCL</abbr> because I was tucked away in a spare office, frantically hacking together a demo to illustrate my points about underused aspects of <a href="http://www.w3.org/Protocols/rfc2616/rfc2616.html">HTTP</a>. This time, I&#8217;ll be ready.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.nickfitz.co.uk/2007/01/22/barcamp-london-20/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>WebDD: February 3 2007</title>
		<link>http://www.nickfitz.co.uk/2007/01/22/webdd-february-3-2007/</link>
		<comments>http://www.nickfitz.co.uk/2007/01/22/webdd-february-3-2007/#comments</comments>
		<pubDate>Mon, 22 Jan 2007 18:41:48 +0000</pubDate>
		<dc:creator>nickfitz</dc:creator>
		
	<category>General</category>
	<category>Scripting</category>
	<category>Web Development</category>
	<category>Web Standards</category>
	<category>WebDD</category>
	<category>Conferences</category>
		<guid isPermaLink="false">http://www.nickfitz.co.uk/2007/01/07/webdd-february-3-2007/</guid>
		<description><![CDATA[
WebDD is a web design and development conference to be held at the Microsoft Campus in Reading, UK this coming 3 February (a Saturday). There is, naturally, a certain emphasis on Microsoft technologies, but not exclusively. Actually, although there are several presentations involving MS technologies, I was wrong to think that Microsoft were somehow involved [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://www.webdd.org.uk/">WebDD</a> is a web design and development conference to be held at the Microsoft Campus in Reading, UK this coming 3 February (a Saturday). <del>There is, naturally, a certain emphasis on Microsoft technologies, but not exclusively.</del> <ins>Actually, although there are several presentations involving MS technologies, I was wrong to think that Microsoft were somehow involved in <em>organising</em> WebDD: they are providing sponsorship and hosting the event, but it is indeed a <a href="http://weblogs.asp.net/plip/archive/2007/01/12/webdd-is-not-being-organized-by-microsoft.aspx">community-organised conference</a>.</ins> Thanks must go to <a href="http://webdd.backnetwork.com/people/person.aspx?person=philwinstanley">Phil Winstanley</a> and <a href="http://webdd.backnetwork.com/people/person.aspx?person=davesussman">Dave Sussman</a> for organising this. With sessions covering Accessibility, CSS, <a href="http://microformats.org">Microformats</a> and much more it promises to be an interesting event. Best of all, it&#8217;s &#8220;free as in beer&#8221;! Registration is <del>opening Real Soon Now</del> <ins>now <a href="http://webdd.backnetwork.com/feeds/post.aspx?postid=201">full</a></ins>; my badge arrived in the post a few days ago.
</p>
<p>
Already up and running is <a href="http://webdd.backnetwork.com/">the Backnetwork</a>. This is the same system that <a href="http://madgex.com/">Madgex</a> developed for <a href="http://2006.dconstruct.org">d.Construct 2006</a> (Glenn Jones of Madgex is giving a presentation on Microformats), and proved itself to be an excellent system for keeping track of contacts and following the general <a href="http://flickr.com">Flickr</a> and blogging buzz around the event.
</p>
<p>
See you there, <del>if my car has been healed by then. (I dread to think what the train would cost.)</del> <ins>the car having been healed through the miracle of a few hundred pounds.</ins> (Broken trailing arm, whatever one of those is.)
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.nickfitz.co.uk/2007/01/22/webdd-february-3-2007/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Not This One Again</title>
		<link>http://www.nickfitz.co.uk/2007/01/06/not-this-one-again/</link>
		<comments>http://www.nickfitz.co.uk/2007/01/06/not-this-one-again/#comments</comments>
		<pubDate>Sat, 06 Jan 2007 21:02:04 +0000</pubDate>
		<dc:creator>nickfitz</dc:creator>
		
	<category>General</category>
	<category>Urban Legends</category>
		<guid isPermaLink="false">http://www.nickfitz.co.uk/2007/01/06/not-this-one-again/</guid>
		<description><![CDATA[
I thought this particular urban legend had died a death some years ago, but it surfaced again down the pub last night. So, as a Public Service Announcement, let me make it clear that:


Bob Holness did not play saxophone on Gerry Rafferty&#8217;s song Baker Street.


The musician responsible for the legendary riff was in fact Raphael [...]]]></description>
			<content:encoded><![CDATA[<p>
I thought this particular urban legend had died a death some years ago, but it surfaced again down the pub last night. So, as a Public Service Announcement, let me make it clear that:
</p>
<p class="shout">
<a href="http://en.wikipedia.org/wiki/Bob_Holness">Bob Holness</a> <strong>did not</strong> play saxophone on <a href="http://en.wikipedia.org/wiki/Gerry_Rafferty">Gerry Rafferty</a>&#8217;s song <a href="http://en.wikipedia.org/wiki/Baker_Street_(song)">Baker Street</a>.
</p>
<p>
The musician responsible for the legendary riff was in fact <a href="http://en.wikipedia.org/wiki/Raphael_Ravenscroft">Raphael Ravenscroft</a>, and the whole Bob Holness thing started life as a joke by journalist and BBC presenter <a href="http://en.wikipedia.org/wiki/Stuart_Maconie">Stuart Maconie</a> in the <a href="http://www.nme.com/">New Musical Express</a>.
</p>
<p>
In other late-breaking news:
</p>
<ul>
<li>
The late <a href="http://en.wikipedia.org/wiki/Richard_Whiteley">Richard Whiteley</a> <strong>did not</strong> play washboard with <a href="http://en.wikipedia.org/wiki/Slayer">Slayer</a> in their early days as a Doncaster <a href="http://en.wikipedia.org/wiki/Skiffle">skiffle band</a>.
</li>
<li>
<a href="http://en.wikipedia.org/wiki/Valerie_Singleton">Valerie Singleton</a> and <a href="http://en.wikipedia.org/wiki/Muffin_the_mule">Muffin the Mule</a> <strong>did not</strong> co-star in the series <i class="fictional title">Lesbian Lavatory Lust Volumes I - XVIII</i>.
</li>
<li>
And, just to be positive for a change, Monkee <a href="http://en.wikipedia.org/wiki/Michael_Nesmith">Michael Nesmith</a>&#8217;s <a href="http://en.wikipedia.org/wiki/Bette_Nesmith_Graham">mother</a> <strong>did</strong>, in fact, invent <a href="http://www.liquidpaper.com/">Liquid Paper</a>.
</li>
</ul>
<p>
Thank you. You may now return to consuming your <a href="http://www.snopes.com/horrors/food/friedrat.htm">Kentucky Fried Rat</a>, with lashings of <a href="http://www.snopes.com/cokelore/green.asp">green cola</a>. (This means you, Gaz.)</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.nickfitz.co.uk/2007/01/06/not-this-one-again/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>d.Construct 2006 Coming Up</title>
		<link>http://www.nickfitz.co.uk/2006/09/07/dconstruct-2006-coming-up/</link>
		<comments>http://www.nickfitz.co.uk/2006/09/07/dconstruct-2006-coming-up/#comments</comments>
		<pubDate>Thu, 07 Sep 2006 12:39:41 +0000</pubDate>
		<dc:creator>nickfitz</dc:creator>
		
	<category>Web Development</category>
	<category>Web Standards</category>
	<category>dconstruct</category>
	<category>dconstruct06</category>
	<category>barcamp</category>
	<category>barcamplondon</category>
	<category>barcamplondon06</category>
		<guid isPermaLink="false">http://www.nickfitz.co.uk/2006/09/07/dconstruct-2006-coming-up/</guid>
		<description><![CDATA[I&#8217;m just about to set off for d.Construct 2006, and I still haven&#8217;t blogged about any of the stuff I got up to at BarCamp London yet. Things are just too busy at the moment, but hopefully some nice sea air will help me chill out and post something. Now for the motorway&#8230;

]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m just about to set off for <a href="http://2006.dconstruct.org/">d.Construct 2006</a>, and I still haven&#8217;t blogged about any of the stuff I got up to at <a href="http://barcamp.org/BarCampLondon">BarCamp London</a> yet. Things are just too busy at the moment, but hopefully some nice sea air will help me chill out and post something. Now for <a href="http://en.wikipedia.org/wiki/M1_motorway">the motorway</a>&#8230;
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.nickfitz.co.uk/2006/09/07/dconstruct-2006-coming-up/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>BarCamp London, September 2 - 3 2006</title>
		<link>http://www.nickfitz.co.uk/2006/08/11/barcamp-london-september-2-3-2006/</link>
		<comments>http://www.nickfitz.co.uk/2006/08/11/barcamp-london-september-2-3-2006/#comments</comments>
		<pubDate>Fri, 11 Aug 2006 14:22:03 +0000</pubDate>
		<dc:creator>nickfitz</dc:creator>
		
	<category>General</category>
		<guid isPermaLink="false">http://www.nickfitz.co.uk/2006/08/11/barcamp-london-september-2-3-2006/</guid>
		<description><![CDATA[
After a tense 24 hours or so, I got bumped up from the waiting list to become the bottom of the list of attendees at BarCamp London next month. I&#8217;m not sure what I&#8217;ll be offering in the way of a presentation yet, but there&#8217;s a good chance it&#8217;ll have something to do with XSLT [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://barcamp.org/BarCampLondon"><img alt="BarCampLondon Sep 2-3" src="/res/img/barcamplondon_button.gif" /></a></p>
<p>After a tense 24 hours or so, I got bumped up from the waiting list to become the bottom of the list of attendees at <a href="http://barcamp.org/BarCampLondon">BarCamp London</a> next month. I&#8217;m not sure what I&#8217;ll be offering in the way of a presentation yet, but there&#8217;s a good chance it&#8217;ll have something to do with XSLT and/or DOM Scripting.</p>
<p>If you&#8217;re going to be there, I look forward to seeing you. If you&#8217;re interested in going, you can sign up to <a title="BarCamp London 2006 waiting list" href="http://www.benmetcalfe.com/wiki/BarCampLondon">the waiting list</a> - and then hope for a virulent plague to sweep through the UK web development community sometime in the next fortnight.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.nickfitz.co.uk/2006/08/11/barcamp-london-september-2-3-2006/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Quirks or Strict: a Quick Way to Tell</title>
		<link>http://www.nickfitz.co.uk/2006/06/04/quirks-or-strict-a-quick-way-to-tell/</link>
		<comments>http://www.nickfitz.co.uk/2006/06/04/quirks-or-strict-a-quick-way-to-tell/#comments</comments>
		<pubDate>Sun, 04 Jun 2006 18:17:12 +0000</pubDate>
		<dc:creator>nickfitz</dc:creator>
		
	<category>General</category>
	<category>DOM</category>
	<category>Scripting</category>
	<category>Web Development</category>
	<category>Web Standards</category>
	<category>CSS</category>
	<category>JavaScript</category>
		<guid isPermaLink="false">http://www.nickfitz.co.uk/2006/04/30/quirks-or-strict-a-quick-way-to-tell/</guid>
		<description><![CDATA[A useful bit of JavaScript for web developers]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re working with <a href="http://www.w3.org/MarkUp/#recommendations">(X)HTML</a> and <a href="http://www.w3.org/Style/CSS/">CSS</a> you&#8217;ll be aware - or you <em>need</em> to be aware - that browsers render pages differently depending on whether they are in Strict or Quirks mode. (There are explanations of what these terms mean from <a href="http://msdn.microsoft.com/library/en-us/dnie60/html/cssenhancements.asp?frame=true#cssenhancements_topic2">Microsoft</a> and <a href="http://developer.mozilla.org/en/docs/Mozilla%27s_DOCTYPE_sniffing">Mozilla</a>.) It can be useful to have a way of making certain which mode you&#8217;re in when tracking down inconsistencies in browser behaviour.</p>
<p>A quick and easy way to tell is to type the following snippet of JavaScript into the location bar:</p>
<p><code><a href="javascript:alert(document.compatMode);">javascript:alert(document.compatMode);</a></code></p>
<p>which will pop up a box stating either &#8220;BackCompat&#8221; for Quirks mode, or &#8220;CSS1Compat&#8221; for Strict mode.</p>
<p>If you&#8217;re using Firefox and have the Bookmarks toolbar visible, you can drag the following link on to it to create a handy little button you can use to check which rendering mode the browser is in on any page you visit. In Internet Explorer, right-click on the link and select &#8220;Add to Favorites&#8230;&#8221; to achieve the same thing. (You&#8217;ll get a warning that the link &#8220;may not be safe&#8221;; at that point you have to decide how much you trust me. Believe me, it&#8217;s safe.)<br />
<code><a href="javascript:alert(document.compatMode);">Rendering mode</a></code></p>
<p>I find this tremendously useful for doing checks on pages, particularly when editing pages by hand, where a simple typo might throw a page into Quirks mode, with resultant frustration as CSS which previously worked suddenly goes completely to pot.</p>
<p>(Note that the &#8220;CSS1Compat&#8221; actually means &#8220;CSS2Compat&#8221; in browsers with support for CSS 2.1.)
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.nickfitz.co.uk/2006/06/04/quirks-or-strict-a-quick-way-to-tell/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Keith Cooper in Colorado</title>
		<link>http://www.nickfitz.co.uk/2006/04/30/keith-cooper-in-colorado/</link>
		<comments>http://www.nickfitz.co.uk/2006/04/30/keith-cooper-in-colorado/#comments</comments>
		<pubDate>Sun, 30 Apr 2006 16:23:56 +0000</pubDate>
		<dc:creator>nickfitz</dc:creator>
		
	<category>General</category>
	<category>Elsewhere...</category>
	<category>Photography</category>
		<guid isPermaLink="false">http://www.nickfitz.co.uk/?p=15</guid>
		<description><![CDATA[Keith Cooper of <a href="http://www.northlight-images.co.uk/">Northlight Images</a> is keeping an online photographic diary of his travels through Colorado.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.northlight-images.co.uk/">Northlight Images</a> photographer Keith Cooper is currently travelling through Colorado with his trusty <a href="http://www.canon.com/camera-museum/camera/digital/data/2002_eos-1ds.html">Canon 1Ds</a>, and is posting <a href="http://www.northlight-images.co.uk/article_pages/landscape_photo_travels.html">regular updates on his travels</a> with some brilliant photographs. There&#8217;s no commenting so it&#8217;s <a href="http://www.codinghorror.com/blog/archives/000538.html">not strictly a blog</a>, but it offers an enjoyable look at a leading landscape photographer at work.</p>
<p>If only my work involved driving wherever the spirit took me, through the Rocky Mountains in the springtime - including a visit to <a href="http://www.northlight-images.co.uk/article_pages/landscape_photo_travels.html#South_Park">the real South Park</a>.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.nickfitz.co.uk/2006/04/30/keith-cooper-in-colorado/feed/</wfw:commentRSS>
		</item>
	</channel>
</rss>
