<?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>simon r jones &#187; CSS</title>
	<atom:link href="http://www.simonrjones.net/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.simonrjones.net</link>
	<description></description>
	<lastBuildDate>Tue, 24 Jan 2012 00:06:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Standards marching on</title>
		<link>http://www.simonrjones.net/2010/04/standards-marching-on/</link>
		<comments>http://www.simonrjones.net/2010/04/standards-marching-on/#comments</comments>
		<pubDate>Sun, 11 Apr 2010 22:31:53 +0000</pubDate>
		<dc:creator>Simon R Jones</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web standards]]></category>

		<guid isPermaLink="false">http://www.simonrjones.net/?p=97</guid>
		<description><![CDATA[With the launch of the iPad one of the striking things to me is its reliance on web standards. Apple&#8217;s own Technical Note on preparing websites for the iPad specifically states web developers should be using web standards for audio and video, specifically the HTML5 video and audio tags. If a large corporation like Apple [...]]]></description>
			<content:encoded><![CDATA[<p>With the launch of the iPad one of the striking things to me is its reliance on web standards. Apple&#8217;s own Technical Note on <a href="http://developer.apple.com/safari/library/technotes/tn2010/tn2262.html">preparing websites for the iPad</a> specifically states web developers should be using web standards for audio and video, specifically the HTML5 video and audio tags. If a large corporation like Apple is basically forcing web developers to use standards-based techniques to deliver content like video, chances are people will listen. </p>
<p>In this day and age you&#8217;d think standards was the assumed approach for all web agencies. From my experience, hardly so. Only last week I encountered two appalling coded sites via potential clients. One using tables for layout with no meaningful ALT text for images, the other a single image in a page with no text behind it (a 100% wide image too, which technically would work on an iPhone or iPad but be pretty much unreadable to everyone!). Both of which were from companies who claim to build websites as part of their professional services.</p>
<p>After following tweets from what sounded like an excellent <a href="http://aneventapart.com/">An Event Apart</a>, I heard about <a href="http://meyerweb.com/">Eric Meyer&#8217;s</a> talk on using media queries to deliver specific CSS depending on the device width or orientation. This means it&#8217;s possible to create flexible layouts for desktop and mobile simply with CSS (i.e. switching between a three column layout for desktop and a one column for mobile). Another great reason for using standards when developing for mobile or the iPad. </p>
<p>You can find out more about <a href="http://www.quirksmode.org/blog/archives/2010/04/the_orientation.html">device orientation</a> on Peter-Paul Koch&#8217;s site. There&#8217;s a <a href="http://www.lukew.com/ff/entry.asp?1053">summary of Eric&#8217;s talk</a> over at Luke Wroblewski&#8217;s blog.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simonrjones.net/2010/04/standards-marching-on/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>rebooted, html5 and css3</title>
		<link>http://www.simonrjones.net/2009/09/rebooted-html5-and-css3/</link>
		<comments>http://www.simonrjones.net/2009/09/rebooted-html5-and-css3/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 07:36:35 +0000</pubDate>
		<dc:creator>Simon R Jones</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.simonrjones.net/?p=19</guid>
		<description><![CDATA[After the excellent dConstruct HTML5 and CSS3 workshop on Wednesday run by Jeremy, Natalie and Richard, I wanted to try out some of the things I learnt from the day. 
The workshop itself was a fascinating delve into the current state of HTML5 and the various CSS 3 modules, including what you can do today [...]]]></description>
			<content:encoded><![CDATA[<p>After the excellent dConstruct HTML5 and CSS3 workshop on Wednesday run by <a href="http://adactio.com">Jeremy</a>, <a href="http://natbat.net">Natalie</a> and <a href="http://clagnut.com">Richard</a>, I wanted to try out some of the things I learnt from the day. <span id="more-19"></span></p>
<p>The workshop itself was a fascinating delve into the current state of HTML5 and the various CSS 3 modules, including what you can do today with these emerging technologies. The morning, led by Jeremy, was a vibrant exploration of the state of HTML5 (no space), its complex politics and the encouraging news that everyone appears to now be working together to get the latest version of HTML agreed. </p>
<p>It&#8217;s my first direct experience of HTML5 and I&#8217;m glad to say I like what I see. HTML5 has a bunch of interesting semantic tags like &lt;header&gt;, &lt;nav&gt; and &lt;time&gt; and clever form input types such as calendar, email and website. However, a few of the semantic tags confusingly seem to do essentially the same thing like article/section and aside/figure. The solution, presumably, is to trim the  unnecessary ones. Deciding on which should go is the tricky part.</p>
<p>Although Jeremy explained a few ways you can use HTML5 today (use its simple doctype, the tags with a JS fallback for IE, or simply use the tag names as class names) there&#8217;s not a lot you can use on production sites today. To be honest, it&#8217;s much the same for CSS 3 though that has a little more support in modern browsers. However, the development process at <a href="http://www.whatwg.org/"><abbr title="Web Hypertext Application Technology Working Group">WHAT WG</abbr></a> seems really open, anyone can join the mailing list and talk in the IRC channels. So if there&#8217;s something you don&#8217;t like, just speak up. This is the biggest thing I took away from the HTML5 workshop: if you&#8217;re interested in the development of HTML, then get involved.</p>
<p>CSS 3 was really interesting, with a range of mad new possibilities eagerly explored by Natalie and Richard. Many of which you can use here and now (if you&#8217;re not worried about IE). Some of the new selectors (nth-child and other selectors verging on regular expression matching) and features like curved borders, multiple background images and layout modules are very interesting and offer exciting possibilities for the future of web design. The <a href="http://www.w3.org/TR/css3-layout/">Template Layout module</a>, especially, was really interesting. Totally theoretical at present, but a way to define blocks of horizontal and vertical columns that you assign content to and allegedly will just work in the browsers of tomorrow.</p>
<p>Most of the examples, although often theoretical or little-supported at present, seem to make our job building websites easier and more efficient. Things that take many lines of code today are either one tag or smarter, more elegant CSS rules. I welcome the day most modern browsers support this be it 2, 3 or many more years away.</p>
<p>I&#8217;ve been wanting to reboot my personal blog for some time, though always seem too busy with client and project work. Before <a href="http://2009.dconstruct.org">dconstruct</a> I registered the new domain (simonrjones.net) and yesterday afternoon in the accommodating Cafe Delice I managed to cobble a design together to update WordPress from its default settings. And all without a single image.</p>
<p>I have to admit I only experimented a little with CSS3 and didn&#8217;t delve into HTML5. The main reason is I wanted to use our new CSS Starter Kit which the team have developed in-house to help us with new projects. And that, of course, is good old practical XHTML 1.0.</p>
<p>As Natalie wisely said in the workshop, when using CSS3 &#8220;only add what you can afford to lose&#8221;, so I basically constrained myself to the following CSS 3 magic dust:</p>
<dl>
<dt>border-radius</dt>
<dd>a wonderful new tool, used for the curved search box, nav rollovers, and the secondary content box</dd>
<dt>nth-child selector</dt>
<dd>used to grab the second para in the footer and indent it</dd>
<dt>box-shadow</dt>
<dd>the box counterpart to text-shadow, used to give an inset shadow to the search box and a drop-shadow to the search button (changing to an inset on active, i.e. mouse click)</dd>
</dl>
<p>Needless to say a lot of this doesn&#8217;t work on all browsers. Support is a bit sketchy with Safari and Firefox leading the way. For my experiments above a quick summary of which browsers support this progressive enrichment appears below. </p>
<dl>
<dt>border-radius</dt>
<dd>Supported: Safari 4, Firefox 3.5</dd>
<dd>Not supported: Opera 10, IE8</dd>
<dt>nth-child selector</dt>
<dd>Supported: Safari 4, Firefox 3.5, Opera 10</dd>
<dd>Not supported: IE8</dd>
<dt>box-shadow</dt>
<dd>Supported: Firefox 3.5</dd>
<dd>Partially supported: Safari 4 (can&#8217;t handle inset shadows)</dd>
<dd>Not supported: Opera 10, IE8</dd>
</dl>
<p>If you want to get involved head over to the <a href="http://www.whatwg.org/">WHAT WG</a> site, read the spec or join the mailing list, check out <a href="http://html5doctor.com/">HTML5 Doctor</a> and <a href="http://html5gallery.com/">HTML5 Gallery</a>. For CSS try <a href="http://www.css3.info/">CSS3.info</a>, <a href="http://www.w3.org/Style/CSS/current-work">W3C</a> and <a href="http://www.quirksmode.org/css/contents.html">CSS compatibility guide</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simonrjones.net/2009/09/rebooted-html5-and-css3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

