<?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; elastic design</title>
	<atom:link href="http://nickcowie.com/category/elastic-design/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>Thu, 18 Feb 2010 12:54:55 +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>Elastic or not?</title>
		<link>http://nickcowie.com/2008/elastic-or-not/</link>
		<comments>http://nickcowie.com/2008/elastic-or-not/#comments</comments>
		<pubDate>Sat, 24 May 2008 06:03:01 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[accessibilty]]></category>
		<category><![CDATA[css and html]]></category>
		<category><![CDATA[elastic design]]></category>
		<category><![CDATA[accessibility]]></category>
		<category><![CDATA[font size]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[usability]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://nickcowie.com/2008/elastic-or-not/</guid>
		<description><![CDATA[I am looking for your views on an issue I am having with a design for a new website at work. I am a fan of elastic design (which you might of noticed if you are reading this via my blog).  The original intention was to have a basic design for the smaller (&#60; [...]]]></description>
			<content:encoded><![CDATA[<p>I am looking for your views on an issue I am having with a design for a new website at work. I am a fan of elastic design (which you might of noticed if you are reading this via my blog).  The original intention was to have a basic design for the smaller (&lt; 900px wide browser windows) and use javascript to provide a 3 column elastic site, where the overall width of the site is relative to the font size. So the design remain consistent across various font sizes, line length remains readable and the site works in large screens with high density pixels, ie those 1920px by 1200px, 17″ laptop screens. This works well with my blog (though I do need to fix they way the javascript works), because the audience, is generally tech savy, makes use of large screens (10%+  1600px+) and I assume most have reasonable vision.</p>
<p>However, with the State Library website, the audience is very different, &lt; 1% use 1600px+ screen, over 10% use 800px by 600px (though half of these are within the library and due to be replaced soon), less tech savy, are generally older and more likely to need larger font sizes. Which is more likely to push the width of the design larger than the user’s screen and force the user to scroll horizontally or miss some of the content.</p>
<p>I am thinking  instead of using ems for horizontal measurements, use percentages. With the exception of the page container, which is sized in ems. Then use javascript to reduce the width of the page container, to the width of the browser, if the user’s font size is larger than normal and would force the page wider than the browser window.</p>
<p>In theory it would work like this:</p>
<ul>
<li>If the browser is less 900px wide, or no javascript the user gets the base stylesheet.</li>
<li>If the browser is great than 900px wide, an elastic design based on the user’s font size.
<li>If  the user’s font size would force the page wider than the browser width. The page and design, scale to fit the browser width.</li>
</ul>
<p>Or am I just over designing the issue, should I just use one design either for 800px or 1024px screens  and use that? Your thoughts?</p>
]]></content:encoded>
			<wfw:commentRss>http://nickcowie.com/2008/elastic-or-not/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Blueprint a CSS framework</title>
		<link>http://nickcowie.com/2007/blueprint-a-css-framework/</link>
		<comments>http://nickcowie.com/2007/blueprint-a-css-framework/#comments</comments>
		<pubDate>Fri, 10 Aug 2007 01:01:04 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[css and html]]></category>
		<category><![CDATA[elastic design]]></category>

		<guid isPermaLink="false">http://nickcowie.com/2007/blueprint-a-css-framework/</guid>
		<description><![CDATA[<p><a href="http://bjorkoy.com/">Olav Bjørkøy</a> has created <a href="http://code.google.com/p/blueprintcss/">Blueprint a CSS framework</a> which has received a lot of attention is the blogsphere in the past couple of days&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://bjorkoy.com/">Olav Bjørkøy</a> has created <a href="http://code.google.com/p/blueprintcss/">Blueprint a CSS framework</a> which has received a lot of attention is the blogsphere in the past couple of days.</p>
<p>Most web designers and developers have their own adhoc CSS frameworks, but they are usually fairly rough, subject to change and often include bugs.</p>
<p>So a good consistent and bug free CSS framework is a useful tool for a good number of web designers and developers, if they are willing to embrace it. So is Blueprint a framework that could gain acceptance by a large number, well maybe.</p>
<h2>What I like about Blueprint:</h2>
<ul>
<li>Solid typography</li>
<li>Grid structure, to form basis of site building.</li>
</ul>
<h2>What I don&#8217;t like about Blueprint:</h2>
<ul>
<li>Font size is based on pixels, I prefer ems because of problems with fixed font size IE6 and below and text zoom in IE7.</li>
<li>Grid size is fixed in pixels and not related to vertical rhythm.</li>
</ul>
<p>I hope Blueprint will continue to grow and develop into a solid framework. In the meantime I will keep using <a href="http://nickcowie.com/other/adhoc_css_elastic.zip">my adhoc framework</a>. It is far less mature that Blueprint, so if you need a base to develop your own framework while using ems and a grid based on a vertical rhythm, use it at your own risk.</p>
<h2>Tips</h2>
<ul>
<li>The base font size 12px and grid size 18px is set is layout.css, delete those lines and site will be elastic.</li>
<li>Vertical and horizontal spacings should be in units of 1.5em.</li>
<li><a href="http://nickcowie.com/2005/elastic-images/">Elastic images</a> should be in multiples of 1.5em.</li>
<li><a href="http://nickcowie.com/2006/flash-and-the-fluid-elastic-design/">Elastic flash</a> should be in multiples of 1.5em.</li>
<li>Add a little javascript and you can <a href="http://nickcowie.com/2006/the-fluid-elastic-reboot/">have a fluid elastic site</a>.</li>
</ul>
<p>I will try and keep developing my adhoc framework, just don’ expect the same speed and determination of Olav. I have a <a href="http://webjam.com.au/">WebJam</a> presentation to prepare this weekend.</p>
]]></content:encoded>
			<wfw:commentRss>http://nickcowie.com/2007/blueprint-a-css-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is my HTML clean enough?</title>
		<link>http://nickcowie.com/2007/is-my-html-clean-enough/</link>
		<comments>http://nickcowie.com/2007/is-my-html-clean-enough/#comments</comments>
		<pubDate>Sun, 29 Apr 2007 13:54:59 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[css and html]]></category>
		<category><![CDATA[elastic design]]></category>

		<guid isPermaLink="false">http://nickcowie.com/2007/is-my-html-clean-enough/</guid>
		<description><![CDATA[<p>All this talk about <a href="http://microformats.org/wiki/posh">POSH</a> (plain old semantic HTML) has got me thinking about how I build web sites. I seem to have been following the principles of POSH for a few years now:</p>]]></description>
			<content:encoded><![CDATA[<p>All this talk about <a href="http://microformats.org/wiki/posh">POSH</a> (plain old semantic HTML) has got me thinking about how I build web sites. I seem to have been following the principles of POSH for a few years now:</p>
<ul>
<li>Valid HTML;</li>
<li>Clean and well structured HTML;</li>
<li>Only use tables for tabular data;</li>
<li>Avoid presentational HTML where ever possible;</li>
<li>Use semantic ID and class names.</li>
</ul>
<p>As well as trying to only use:</p>
<ul>
<li>HTML for structured content</li>
<li>CSS for presentation</li>
<li>Javascript for behaviour</li>
</ul>
<p>However, things do not always work out that simply. For example a site I built a few years ago has an excessive number of divs aka divitis. I did that on purpose, purely so I (and more importantly anybody who had to follow) would not have to deal with the different box models of IE 5/5.5 and everybody else. Even with this blog, the content is structured for ease of presentation and there are extraneous divs purely for presentational purposes.</p>
<p>The next incarnation of this blog will be better in how the content is structured, however, I will not guarantee that about extraneous divs for purely presentational purposes. The problem as I <a href="http://nickcowie.com/test/test3.html">previously stated</a> is that the <a href="http://nickcowie.com/test/test3.html">design</a> I want using my prefered faux columns method who require six separate background images for an elastic design. While I can do this with a single div and CSS3, the only browser that currently support is Safari.</p>
<p>The alternative are:</p>
<ul>
<li>Use a table for this layout, I disagree with this method on principle  as well as not wanting to spend the time necessary to relearn the skills required (seriously I have forgotten how to use tables for layout.)</li>
<li>Use the <a href="http://www.positioniseverything.net/articles/onetruelayout/">One True Layout</a> which has it#’s problems.
<li>
<li>Use javascript to get equal height columns. The main issue with this is that  javascript is supposed to be for behaviour not for presentation.</li>
</ul>
<p>If I was doing a site for work, I would have no qualms about using the faux column method and extra div elements for presentation. Because, it is the most efficient method for me to use at the current time.  However, as this blog is about personal expression and that includes the underlying code, I will look at the alternatives more closely.</p>
<p>
<a href="http://technorati.com/tag/POSH" rel="tag">POSH</a> <a href="http://technorati.com/tag/Plain+Old+Semantic+HTML" rel="tag">Plain Old Semantic HTML</a> <a href="http://technorati.com/tag/web+standards" rel="tag">web+standards</a> <a href="http://technorati.com/tag/faux+columns" rel="tag">faux columns</a></p>
]]></content:encoded>
			<wfw:commentRss>http://nickcowie.com/2007/is-my-html-clean-enough/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Redesign Thoughts</title>
		<link>http://nickcowie.com/2006/redesign-thoughts/</link>
		<comments>http://nickcowie.com/2006/redesign-thoughts/#comments</comments>
		<pubDate>Mon, 11 Dec 2006 02:45:10 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[css and html]]></category>
		<category><![CDATA[elastic design]]></category>

		<guid isPermaLink="false">http://nickcowie.com/2006/redesign-thoughts/</guid>
		<description><![CDATA[<p>I have started work on a redesign of this blog, this post is to clarify my thoughts and elict your opinions on what is good, memorable or just damn ugly about this blog.</p>
]]></description>
			<content:encoded><![CDATA[<p>I have started work on a redesign of this blog, this post is to refine my thoughts and elicit your opinions on what is good, memorable or just damn ugly about this blog.</p>
<h2>Why</h2>
<p>The current design was a rushed proof of concept, it is untidy and a few things annoy me, particularly the typography.</p>
<h2>Identity</h2>
<p>The colour palate, the excessive use of orange and the orange star have be commented on a number of times. So I intend to keep these features, they may be memorable for the wrong reasons, but they uniquely identify this blog.</p>
<h3>Colour palate</h3>
<p>There will be subtle changes, even the addition of another colour. However, the dominance of orange will remain.</p>
<h3>Logo</h3>
<p>The orange star has gone from being a design element to my logo by accident or bad design, so it will remain, might even get a tshirt with it on for SXSW (yes more shameless self promotion).</p>
<h2>Fluid Elastic design</h2>
<p>This is easily the most controversial part of the design. I get more comments on this than any all the other design elements combined. The most common that my font size is too big.</p>
<p>After spending the last couple of months using a laptop with a 15 inch screen at 1600 by 1200 and refusing to change the resolution just to browse web sites, I appreciated this feature and expect that most of the increasing number of visitors using high resolution laptops do to.</p>
<p>I will make a number of changes:</p>
<ol>
<li>Not to change the font size when visitors have settings different from default.</li>
<li>Let visitors set their own preferred font size for the site.</li>
<li>When visitor’s have their browser set to a letter box format (the browser window is much wider than high). The font size will be relative to browser height.</li>
</ol>
<h2>Typography</h2>
<p>This needs improving, I have been reading <a href="http://www.markboulton.co.uk/">Mark Boulton</a>, <a href="http://webtypography.net/">Richard Rutter</a> and <a href="http://www.google.com/search?q=site%3Anorthtemple.com+typography">NorthTemple</a> on typography and gaining inspiration from their stylesheets.</p>
<p>I have already done most of the work on the typographic stylesheet, you will see far more consistent vertical height of all typographical elements and this will carry over to other elements of the design and graphical elements.</p>
<h2>Layout</h2>
<p>I will move to a three column layout, to produce a consistent navigation and look across the site. Currently different page type: home page, post and archives all have slightly different navigation and a different look and feel.</p>
<h2>Theme</h2>
<p>The current blog relies on a modified Kubrick theme. I have a few issues, regarding the semantics and SEO assumption made by the creators of Kubrick and while the Kubrick theme is good, Sandbox is better for what I need. Though it will be  modified to suit my needs.</p>
<h2>Flash</h2>
<p>The use of Flash for scalable vector images will probably increase, however this will require the use of iframe shims to resolve the issue of layering Flash and HTML with Mac and *nix Flash plugins.</p>
<h3>Flashblock</h3>
<p>This plugin for Firefox, causes some problems with SWFobject, which I use to insert flash images when the correct version of Flash is installed. Flashblock removes the flash image after SWFobject has replaced the alternate content. However, as Flashblock requires Javascript to function, I should be able to use Javascript to reverse this.</p>
<h2>Advertising</h2>
<p>There will be unobtrusive advertising, not because I need or want to make money with this blog, it was the result of reading Brian Clark of Copyblogger&amp;#8217s <a href="http://www.copyblogger.com/whats-in-it-for-you/">what&amp;#8217s in it for you</a>.</p>
<h2>Work to do</h2>
<p>I am currently done most of the design work with pen and paper, it is the case of putting it together with a computer. I still need to learn about iframe shims, rewrite the Javascript that does the font sizing and write the Javascript to handle FlashBlock.</p>
]]></content:encoded>
			<wfw:commentRss>http://nickcowie.com/2006/redesign-thoughts/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Elastic fluid design - some notes</title>
		<link>http://nickcowie.com/2006/elastic-fluid-design-some-notes/</link>
		<comments>http://nickcowie.com/2006/elastic-fluid-design-some-notes/#comments</comments>
		<pubDate>Tue, 17 Oct 2006 04:02:11 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[elastic design]]></category>

		<guid isPermaLink="false">http://nickcowie.com/2006/elastic-fluid-design-some-notes/</guid>
		<description><![CDATA[After reading some <a href="http://www.sitepoint.com/forums/showthread.php?p=3108790">positive comments</a> on the sitepoint forum about this site, I started composing an update on the fluid elastic concept and were I am it with it. I realised it should be posted here as well as the forum, even if does duplicate some of my earlier comments.</p>]]></description>
			<content:encoded><![CDATA[<p>After reading some <a href="http://www.sitepoint.com/forums/showthread.php?p=3108790">positive comments</a> on the sitepoint forum about this site, I started composing an update on the fluid elastic concept and were I am it with it. I realised it should be posted here as well as the forum, even if does duplicate some of my earlier comments.</p>
<p>Other than the design being a rushed proof of concept that I never got round to finishing. I am happy that is has made an impression on some people.</p>
<p>The current version does have problems with flash enabled *nix including OsX browsers. I have been assured by <a href="http://brothercake.com">Brothercake</a> and <a href="http://leftjustified.net">Andrew K</a> that if I use an iframe shim it will fix the problem of the Adobe flash player rendering flash content behind HTML content when it should not. I just need to get off my backside and test it.</p>
<p>The other issues with the concept are:</p>
<ol>
<li>What happens if visitors do not have flash plugin installed or the right version of the flash plugin. They get provided with alternate content, in my case no images, sharp corners instead of curves and plain instead of decorated text. The website works, it scales, it is just bland but everything is accessible.</li>
<li>What happens if visitors do not have javascript enabled, they get the bland website that does not automatically scale. Again all the content is available and accessible.</li>
<li>What happens if the visitor has the <em>flash block</em> plugin installed in Firefox, currently they get click to play flash buttons and that does not work with my footer, because it is overlayed by links. There are a couple of alternatives, I could force people by some trick css work to play the flash movies just to view the site, however that is not me. I would rather provide the bland non flash version, this just requires a little more thought in structuring the site and some CSS work.</li>
<li>If a visitor has change their default browser font size to larger than 16 pixels, the site is wider than their browser window. This is rare and it can be fixed by modifying the javascript.</li>
<li>People who browse the web with large monitors and their browser windows maximized, end up with large text they claim can be difficult to read. However, any liquid sites they view have extremely diificult to read long line lengths and fixed width sites are lost in the whitespace. On the other hand, people using the higher density screens popular in laptops should appreciate the font size proportional to browser width. I know, I have spent the past six weeks using a 15” laptop with a 1600 by 1200 screen. Almost every I web sites I viewed, I needed to increase the font size a couple of times just to read the text, and on occassion this broke the layout. Given the choice of supporting the increasing number of people using higher density (125ppi and above) screens on laptops against people who use large low density (96ppi and below) screens badly to surf the web. I know who I should be supporting.</li>
</ol>
<p>I need to spend some working on this site, particularly rewriting the javascript. At the same time I will produce a new design and hopefully add some new features. However, without a deadline to work to, I have no idea when it will be done.</p>
]]></content:encoded>
			<wfw:commentRss>http://nickcowie.com/2006/elastic-fluid-design-some-notes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flash and the fluid elastic design</title>
		<link>http://nickcowie.com/2006/flash-and-the-fluid-elastic-design/</link>
		<comments>http://nickcowie.com/2006/flash-and-the-fluid-elastic-design/#comments</comments>
		<pubDate>Sun, 21 May 2006 06:28:41 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[elastic design]]></category>

		<guid isPermaLink="false">http://nickcowie.com/2006/flash-and-the-fluid-elastic-design/</guid>
		<description><![CDATA[<p><strong>or the issues using flash for vector graphics that scale relative to page design as seen by Nick</strong>.</p>
<p>You can  use <a href="http://blog.deconcept.com/swfobject/">SWFobject</a> or <a href="http://www.bobbyvandersluis.com/ufo/">Unobtrusive Flash Objects</a> to get around  the Eolas patent issue in IE and providing content for browsers without flash plugin or the required version of the flash plugin. However, there are a number of problems in using Flash for scaling vector graphics:</p>]]></description>
			<content:encoded><![CDATA[<p><strong>or the issues using flash for vector graphics that scale relative to page design as seen by Nick</strong>.</p>
<p>The SVG format is currently not an option, simply because support amongst the browser is not there. SVG support currently exists natively in the production version of FF 1.5, otherwise you need the plugin from Adobe.  Even if the SVG fanatics get their way and SVG support was bundled with IE7, it will be many years of dealing with legacy versions of IE ( you still support IE5 and IE5.5 ?) and if there is no W2K version of IE7, how long will support for IE6 have to last?</p>
<p>The alternative is for Adobe to bundle support for SVG into the flash plugin. Within a year or so SVG support will be in the great majority of browsers. The only problem is why should Adobe do it, they were the champion of SVG while battling Macromedia and Flash, but now Adobe own Macromedia, Flash and the SWF format, as I see it there is no commercial advantage in promoting SVG for Adobe, for Microsoft it might be a different answer.</p>
<p>So assuming that you want your scaling vector graphics to be displayed in over 90% of all browsers compared to the 20% that support SVG, you will for the time being need to use Flash.</p>
<p>You can  use <a href="http://blog.deconcept.com/swfobject/">SWFobject</a> or <a href="http://www.bobbyvandersluis.com/ufo/">Unobtrusive Flash Objects</a> to get around  the Eolas patent issue in IE and providing content for browsers without flash plugin or the required version of the flash plugin. However, there are a number of problems in using Flash for scaling vector graphics:</p>
<p>You can’t use flash as background images, this is not a major problem it requires some rethinking and coding a background layer with flash and overlaying that with content. It is not as clean and as semantically correct as using background images, but it works and is valid X/HTML.</p>
<p>Overlaying content or other flash objects over flash works on a PC. On a Mac the flash plugin has a problem, it does not understand z-index or source code order and as such there is no guarantee what the stacking order will be. Sometimes the background image will appear infront of the foreground text, other times behind.  If you are using a Mac scroll down to the bottom of this page, then scroll up and down a few times, you will see the links appear and disappear behind the flash background.</p>
<p>Flashblock plugin for Firefox, because the way this plugin works the alternative content will not be displayed, instead there is a button to press for the flash graphic to display. Which means visitors do not get any information, flash or the alternative, without having to interact with the page.  Personally, I would prefer to display the alternative content to visitors using this plugin and this is possible because that is how sIFR handles this plugin, but this requires modifying the the <a href="https://addons.mozilla.org/firefox/433/">Flashblock</a> plugin and probably <a href="http://blog.deconcept.com/swfobject/">SWFobject</a> or <a href="http://www.bobbyvandersluis.com/ufo/">Unobtrusive Flash Objects</a>.  Though the aim should be to convince users of Flashblock to add you to their whitelist of friendly sites, so they get the full graphical experience.</p>
<p>So unless browser makers get their act together, the only option for vector graphics in web pages for the next few years or longer is flash. Lets hope Adobe can fix the problem with their Mac version of the flash plugin so we can use flash to provide scaling background vector graphics.</p>
]]></content:encoded>
			<wfw:commentRss>http://nickcowie.com/2006/flash-and-the-fluid-elastic-design/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The fluid elastic reboot</title>
		<link>http://nickcowie.com/2006/the-fluid-elastic-reboot/</link>
		<comments>http://nickcowie.com/2006/the-fluid-elastic-reboot/#comments</comments>
		<pubDate>Mon, 08 May 2006 07:03:11 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[css and html]]></category>
		<category><![CDATA[elastic design]]></category>

		<guid isPermaLink="false">http://nickcowie.com/2006/the-fluid-elastic-reboot/</guid>
		<description><![CDATA[<p>Why is this website so stretchy and orange. A look at the how and why of the fluid elastic redesign.</p>
<p class="tagged">tagged <a href="http://technorati.com/tag/elastic+design" rel="tag">elastic design</a> <a href="http://technorati.com/tag/fluid+elastic+design" rel="tag">fluid elastic design</a> <a href="http://technorati.com/tag/elastic" rel="tag">elastic</a></a>]]></description>
			<content:encoded><![CDATA[<h2>Or why did I do it</h2>
<h3>Why so elastic?</h3>
<p>I have always been a fan of elastic design and after reading a couple of Dave Hyatt’s recent posts, I realised that not all computer screen are equal with some having 96 pixels per inch and others over 150 pixels per inch. So to give all visitors the same experience I have gone for a truely elastic design.  The only exception is when the browser width is less than 600 pixels, I will be creating a seperate layout for handhelds, narrow browsers and special purposes in the near future.</p>
<h3>How it was done</h3>
<p>That was fairly easy, all the unit measurements in the stylesheets are in in ems, including the dimensions of the flash elements. There is a little bit of javascript (fontsize4.js) that reads the browser window width in pixels and the converts that to a percentage and feeds it to document.getElementsByTagName(“body”).item(0).style.fontSize (.) Being lazy, early in my calculations I decided the maximum window width was going to be 60ems, my opion the smallest font size in 10px and nobody should browse the web on a computer with a browser window under 700 pixels and expect to see a site without horiziontal scrolling.  I had this fancy formula of %font-size = (browse width) * min font size 62.5% / min width 700  and the number was close to 10%  so I made it %font-size = 10% browser width and set minimum width to 600px. So the default sizes at browser width of 625px are a font size of 10px at 750px the font size is 12px, at 1000px it is 16px and at 1500px 24px. </p>
<p>The technical problem at the moment is for those people who have increased the size of the default font size in their browser, if your default font size is 24px, then this web  page is 150% of your browser window width, at 32px it is 200%. It looks like I can resolve that with a little bit of javascript. The solution that is available, ignores user preferences, I would prefer to take user preferences into account.</p>
<h3>Why flash for images?</h3>
<p>With an elastic design, scaling bitmap (jpg, gif and png) images are a challenge. You need to use large jpeg images ( in both dimensions and therefore file size) to get the desired results. The results from gif and png files are ugly.  You really need to be able to scale vector images, which if there was wide support for the SVG format, it would be easy. Unfortunately SVG supprt is limited, you get some support in  the latest  versions of FF and Safari. However, flash support is pretty universal.</p>
<p>The major issues with flash are:</p>
<ul>
<li>the eolas patent and IE</li>
<li>what happens when visitors do not have flash or the right version of flash installed</li>
<li>flash’s bad reputation for creating large inaccessible splash pages</li>
</ul>
<p>While I can’t resolve flash’s bad reputation, the first two are easily resolved using Geoff Stearn’s swfobject which is a little piece javascript that replaces a designated block element (preferably a div) with nominated flash object. And while you include the pixel dimensions in the information you parse to the script inside the HTML. You control the size of the flash through the CSS. If you turn off your javascript you will see the non-flash version.</p>
<p>Some people might argue that using javascript to insert flash into a webpage is wrong, because flash can do everything that javascript does and more people have a flash plugin than have javascript turned on. I disagree, using javascript you can easily provided allternative content for browser agents that do not have javascript or flash enabled.</p>
<p>The image you see at the top of this page if you have flash 8 plugin (required for the stroke on text), native size is 1120px by 140px, scales from 100px to over 4000px without any degradation and is less that 4k in size.</p>
<p>The only problem I am having is with flash plugin for mac, it has major problems in dealing with layering an elemnt (flash or html) on a flash element. Even when the order is determined by the source code and z-index. The mac flash plugin, ignores it and randomly determines which element should be on top. At the moment I have not fixed the footer, if you are using a mac or *nix scroll down to the bottom of the page and then scroll up and down a few times and watch the bottom menu appear and disappear at random.</p>
<h3>Why no sIFR?</h3>
<p>The previous design relied on sIFR for all the headings, which caused a couple of problems. Because this is a blog, there was up to 15 headings on a page to render. This takes time, often too long. Because I was using relative units of measurement, there were some despcrencies with type size and alignment. Also as my font of choice is Garamond, if you were using OS X or XP with font smoothing turned on, your are now getting the same results, without the delay and the other problems without sIFR. If you have not got font smoothing turned on in XP <a href="http://www.microsoft.com/typography/cleartype/tuner/Step1.aspx">do it</a> and notice the different.
<p class="tagged">tagged <a href="http://technorati.com/tag/elastic+design" rel="tag">elastic design</a> <a href="http://technorati.com/tag/fluid+elastic+design" rel="tag">fluid elastic design</a> <a href="http://technorati.com/tag/elastic" rel="tag">elastic</a></a></p>
]]></content:encoded>
			<wfw:commentRss>http://nickcowie.com/2006/the-fluid-elastic-reboot/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>CSS reboot havok</title>
		<link>http://nickcowie.com/2006/css-reboot-havok/</link>
		<comments>http://nickcowie.com/2006/css-reboot-havok/#comments</comments>
		<pubDate>Mon, 01 May 2006 15:11:11 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Just geek]]></category>
		<category><![CDATA[css and html]]></category>
		<category><![CDATA[elastic design]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://nickcowie.com/2006/css-reboot-havok/</guid>
		<description><![CDATA[<p>If you haven't noticed this site has had a <a href="http://www.cssreboot.com/">CSS reboot</a> and a little tweaking of the WordPress templates. It is a partially a proof of concept (or failure in concept if you use a Mac) and very much a work in progress. Let me know if find any problems and please stretch the pages by varying your browser width (and the header still looks good at 300%  @ 3000 pixels).</p> 
<p><ins datetime="2006-05-02T01:23:20+00:00">Go visit <a href="http://www.cssreboot.com/reboot/show/1471">CSS Reboot</a> and you can vote for me and any of the other 1500 rebooters.</ins></p> 
<p class="tagged">tagged <a href="http://technorati.com/tag/cssreboot" rel="tag">cssreboot</a> <a href="http://technorati.com/tag/css+reboot" rel="tag">css reboot</a> <a href="http://technorati.com/tag/elastic+design" rel="tag">elastic design</a></p>]]></description>
			<content:encoded><![CDATA[<p>If you haven’t noticed this site has had a <a href="http://www.cssreboot.com">CSS reboot</a> and a little tweaking of the WordPress templates. It is a partially a proof of concept (or failure of concept if you use a Mac) and very much a work in progress. Let me know if find any problems.</p>
<p>The only one I have found is if you try and use a flash file as a background (yes the header, header text and footer are all tiny .swf file, the text coming in at a whopping 3787 bytes, becauser of the  multiple characters and stroke the shapes are less than 200 bytes), over laying other flash files (in the case of the header) or text (in the case of the footer) is flakey with either FF or Safari on the Mac. Don’t know on *nix, but seeing only version 7 of the flash plugin, you will not see the header text, because that requires version 8 flash player .</p>
<p>It is truly elastic, as long as your browser window is greater than 600 pixels, so stretch and what the page expand and contract. So have fun play and if you like it, look at the code underneath.</p>
<p>You should see some refinements in the next couple of weeks or until I get frustrated and create a more conservative template.</p>
<p><ins datetime="2006-05-02T01:23:20+00:00">Go visit <a href="http://www.cssreboot.com/reboot/show/1471">CSS Reboot</a> and you can vote for me and any of the other 1500 rebooters.</ins></p>
<p class="tagged">tagged <a href="http://technorati.com/tag/cssreboot" rel="tag">cssreboot</a> <a href="http://technorati.com/tag/css+reboot" rel="tag">css reboot</a> <a href="http://technorati.com/tag/elastic+design" rel="tag">elastic design</a></p>
]]></content:encoded>
			<wfw:commentRss>http://nickcowie.com/2006/css-reboot-havok/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash buttons</title>
		<link>http://nickcowie.com/2006/flash-buttons/</link>
		<comments>http://nickcowie.com/2006/flash-buttons/#comments</comments>
		<pubDate>Fri, 31 Mar 2006 05:20:00 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[css and html]]></category>
		<category><![CDATA[elastic design]]></category>

		<guid isPermaLink="false">http://nickcowie.com/2006/flash-buttons/</guid>
		<description><![CDATA[<p>What surprised me from last night <a href="http://nickcowie.com/presentation/s5-button.html">presentation</a>, was was people’s positive reaction to using flash in buttons.  (Note the flash button was remove from the front page because I did quick job of adding it and the latest version of IE6 want you to press a button every time flash displayed on a page in the <em>normal</em> way).]]></description>
			<content:encoded><![CDATA[<p>What surprised me from last night <a href="http://nickcowie.com/presentation/s5-button.html">presentation</a>, was people’s positive reaction to using flash in buttons. You will have to excuse the trashy animation, coding and css it was put toether fairly quickly late at night. I should be making use of alternative content for non-flash enabled browsers, but this is just proof on concept.</p>
<div class="democ"><button type="button" onclick="alert('You clicked a button')"><object type="application/x-shockwave-flash" data="http://nickcowie.com/presentation/images/button.swf"><param name="movie" value="http://nickcowie.com/presentation/images/button.swf" /><param name="wmode" value="transparent" /></object><span>Flash</span></button></div>
<div class="tagged">tagged <a href="http://technorati.com/tag/accessible+buttons" rel="tag">accessible buttons</a> <a href="http://technorati.com/tag/html+forms" rel="tag">html forms</a> <a href="http://technorati.com/tag/flash+buttons" rel="tag">flash buttons</a></div>
]]></content:encoded>
			<wfw:commentRss>http://nickcowie.com/2006/flash-buttons/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Elastic Faux Columns</title>
		<link>http://nickcowie.com/2005/elastic-faux-columns/</link>
		<comments>http://nickcowie.com/2005/elastic-faux-columns/#comments</comments>
		<pubDate>Tue, 27 Dec 2005 10:06:41 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[css and html]]></category>
		<category><![CDATA[elastic design]]></category>

		<guid isPermaLink="false">http://nickcowie.com/?p=40</guid>
		<description><![CDATA[<p>A quick tutorial in elastic faux columns, so <a href="http://kurafire.net/">Faruk Ates</a> does not have to write one and can concentrate on writing stuff I need to read.</p>
<div class="tagged">tagged <a href="http://technorati.com/tag/faux+columns" rel="tag">faux columns</a> <a href="http://technorati.com/tag/elastic+faux+columns" rel="tag">elastic faux columns</a></div>]]></description>
			<content:encoded><![CDATA[<p><a href="http://kurafire.net/">Faruk Ates</a> was <a href="http://kurafire.net/log/archive/2005/12/23/calling-out-to-readers">asking what people wanted him to write about</a>, amongst the list was faux elastic columns and seeing I first used them almost two years ago for for work and know my way around them, I would much rather read Faruk on CSS: how Douglas Bowman taught me optimal themeing techniques or FACE: how can we make good use of FACE to truly enhance usability, so this is my attempt to get my way.</p>
<p>If you want to skip to the demos here are <a href="/other/efc2.html">two column</a> and <a href="/other/efc3.html">three column version</a>, just use the <em>Bigger text</em>,<em>Smaller text</em>,<em>More text</em>and<em>Less text</em> to show the true elastic nature of the layouts. Note if you are using Safari 1.3 or earlier, the background images do not display correctly due to a bug with Safari, this is explained below</p>
<h2>The Code</h2>
<p>The structure looks like this:<br />
<code><br />
&lt;div id="container" style="width :57em; border: 1px solid #000; padding: 0; margin: 0;  background: #eee url(whiteback.gif)  19em 0 repeat-y; float: left; text-align: left; "&gt;<br />
&nbsp;&nbsp;&lt;div id="header" style="background-color:#f90; border-bottom: 1px solid #000; margin: 0; padding: 0 0 0 1em;"&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;Header<br />&nbsp;&nbsp;&lt;/div&gt;<br />
&nbsp;&nbsp;&lt;div id="background" style="background: url(fff5e5back400.gif) 38em 0 repeat-y; float: left; width :57em;"&gt; <br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;div id="columnone" style="float: left; width: 17em; margin-left: 1em; position: relative;"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Column One<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;div id="columntwo" style="float: left; width: 17em; margin-left: 2em"&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Column Two<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;div id="columnThree" style="float: right; margin-right: 1em; width: 17em;"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Column Three<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br />
&nbsp;&nbsp;&lt;/div&gt;<br />
&nbsp;&nbsp;&lt;div id="footer" style="clear: both; background-color:#ccc; margin-bottom: 0; padding: 0 0 0 1em; margin: 0; border-top: 1px solid #000; border-bottom: 1px solid #eee;"&gt; <br />
&nbsp;&nbsp;&nbsp;&nbsp;Footer<br />
&nbsp;&nbsp;&lt;/div&gt;<br />
&lt;/div&gt;<br />
</code></p>
<p>The important parts for faux elastic columns are in the background declaration for the container div:</p>
<ul>
<li><em>#eee</em> which is the background colour of the left hand column.</li>
<li><em>url(whiteback.gif)</em> a wider than the column will ever be and 1px high background image for column two</li>
<li><em>19em 0</em>the position from the left 19em and top 0, that the background image starts for column two</li>
<li><em>repeat-y</em> repeats the background image for the second column the full length of the page, no matter which column is longer</li>
</ul>
<p>The other important div for the faux columns on a three column layout is background. This div, needs to be inside the container div, it does not need to contain the footer or header divs, but can. It just needs to contain all the column divs. It can also be repeated for a four, five or even more faux column effect. The background declaration:</p>
<ul>
<li>color not declared, the default is transparent.</li>
<li><em>url(fff5e5back400.gif)</em> another wider than the column will ever be and 1px high background image for column three</li>
<li><em>38em 0</em>the position from the left 38em and top 0, that the background image starts for column three</li>
<li><em>repeat-y</em> repeats the background image for the third column the full length of the page, no matter which column is longer</li>
</ul>
<p>If you want a repeating background pattern for column one, use that as you background  image in the <em>container</em> div, and put the background image for column two in the first <em>background</em> div and the background for column three in the second <em>background</em> div, etc.</p>
<p>The technique is fairly simple, ensure all columns are wrapped inside the container divs, and then give each container div a background for the columns starting from the left.</p>
<h2>The Trouble with Safari</h2>
<p>Unfortunately there is a bug in Safari 1.3 and earlier versions which causes problems with background images,  except when the background fits exactly inside the containing div.</p>
<p>If the background image is wider than the column but not wider than the container div, it will overflow the container</p>
<p><img src="/other/safari_overflow.gif" /></p>
<p>If the background image is wider than the column and wider than the container div, (or the background is  repeating on the x-axis) it will fill the container.</p>
<p><img src="/other/safari_fill.gif" /></p>
<p>As you can see from the above examples it pays to be careful about the choice of background images and colours. In two column design I use very subtle changes in colour with a strong border using a very wide image  or do as I would with a multiple column layout and  do not use background colours and use thin images (a few pixels wide) to seperate the columns visually.</p>
<div class="tagged">tagged <a href="http://technorati.com/tag/faux+columns" rel="tag">faux columns</a> <a href="http://technorati.com/tag/elastic+faux+columns" rel="tag">elastic faux columns</a></div>
]]></content:encoded>
			<wfw:commentRss>http://nickcowie.com/2005/elastic-faux-columns/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
