<?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>MikePadgett.com &#187; css</title>
	<atom:link href="http://www.mikepadgett.com/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mikepadgett.com</link>
	<description>Articles, reviews, travel, design, literature and more written by Mike Padgett, an Information Designer in Brussels</description>
	<lastBuildDate>Thu, 02 Feb 2012 09:02:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>IE7 only: float bug on elements with italic, background properties</title>
		<link>http://www.mikepadgett.com/technology/technical/ie7-only-float-bug-on-elements-with-italics-and-background-properties/</link>
		<comments>http://www.mikepadgett.com/technology/technical/ie7-only-float-bug-on-elements-with-italics-and-background-properties/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 20:28:42 +0000</pubDate>
		<dc:creator>Mike Padgett</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[browser wars]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[web standards]]></category>

		<guid isPermaLink="false">http://www.mikepadgett.com/?p=1248</guid>
		<description><![CDATA[What do you get if you cross a float and an italic in Internet Explorer?]]></description>
			<content:encoded><![CDATA[<p>Setting <tt>font-style:italic</tt> in your CSS for elements in the vicinity of a floated element can actually trigger a float bug in Internet Explorer 7.</p>
<p>This is only a problem, so far as I can see,  when you&#8217;re using backgrounds on the unfloated element(s), because thr background image or colour will overrun your floated element.</p>
<p>Want to try it? The situation is as follows:</p>
<ol>
<li>Float an element containing either an image or text</li>
<li>Continue with unfloated elements so that under normal circumstances they wrap around the floated element</li>
<li>Give the wrapped text a background property, such as a background colour or image</li>
</ol>
<p>The code so far:</p>
<p><code>/* CSS */<br />
.floated {float: right;}<br />
p {background: #fc0;}<br />
...<br />
&lt;!-- HTML --&gt;<br />
&lt;div class="floated"&gt;&lt;img src="/images/tmp.jpg" /&gt;&lt;/div&gt;<br />
&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit&lt;/p&gt;<br />
&lt;p&gt;Class aptent taciti sociosqu ad litora torquent per conubia nostra per inceptos himenaeos&lt;/p&gt;<br />
</code><br />
Up to this point everything&#8217;s normal:</p>
<div class="centeralign"><img src="http://www.mikepadgett.com/wp-content/uploads/2009/07/no-bug.gif" alt="No bug" /></div>
<p>So far so good. Now add <tt>font-style:italic;</tt> to the rule for <tt>p</tt>.</p>
<p>Here&#8217;s Firefox, with no surprises:</p>
<div class="centeralign"><img src="http://www.mikepadgett.com/wp-content/uploads/2009/07/ff-italic-bug.gif" alt="Firefox italic float: no bug" /></div>
<p>But here&#8217;s Internet Explorer 7:</p>
<div class="centeralign"><img src="http://www.mikepadgett.com/wp-content/uploads/2009/07/ie-italic-bug.gif" alt="IE italic float bug" /></div>
<p>The only (il)logical answer seems to be the addition of <tt>overflow: auto</tt> to the rule with the background.</p>
<p>I was clued in by a <a href="http://muffinresearch.co.uk/archives/2006/12/28/bug-ie7-absolutely-positioned-italics/">slightly different issue with the same fix</a> already discovered long ago. Just to remind you once more, <em>this is IE7 only</em>, folks!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikepadgett.com/technology/technical/ie7-only-float-bug-on-elements-with-italics-and-background-properties/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Testing CSS for print media: we need a Print Preview for developers!</title>
		<link>http://www.mikepadgett.com/technology/technical/testing-css-print-media-we-need-a-print-preview-for-developers/</link>
		<comments>http://www.mikepadgett.com/technology/technical/testing-css-print-media-we-need-a-print-preview-for-developers/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 19:15:42 +0000</pubDate>
		<dc:creator>Mike Padgett</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[browser wars]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[web standards]]></category>

		<guid isPermaLink="false">http://www.mikepadgett.com/?p=1190</guid>
		<description><![CDATA[How I wish there was an easier way to test CSS intended for the printed page.]]></description>
			<content:encoded><![CDATA[<div class="imgright"><img src="http://www.mikepadgett.com/wp-content/uploads/2009/06/press.gif" alt="Engraving of a printing press c. 1568" /></p>
<p class="caption">Source: <a title="Links to an external website" href="http://en.wikipedia.org/wiki/File:Printer_in_1568-ce.png">Wikimedia Commons</a></p>
</div>
<p>The virtues of <tt>@media print</tt> have been explained elsewhere, best of all by Eric Meyer in his seminal A List Apart article <a title="Links to an external website" href="http://www.alistapart.com/articles/goingtoprint/"><em>Going to Print</em></a>, whose original publish date (May 2002) makes me feel a bit old!</p>
<p>Yet one of the most annoying aspects of developing CSS for print is testing it.</p>
<p>Now I know that testing print CSS doesn&#8217;t take a huge slice of our lives, but it annoys the heck out of me. So if you&#8217;re a tolerant sort of person who&#8217;s happy to rub along with naff workflows, you might find this article and indeed the fact that there&#8217;s a whole article on the subject, just a bit finicky.</p>
<p>Thing is, I <em>hate</em> testing print CSS.</p>
<p>Sure, simple markup and layouts only need buffing to a shine to be ready for print, but an increase in complexity or a requirement for absolute fidelity in printed material can lead to ugly scenes round my way.</p>
<h3>Print CSS: browser testing !== <em>Print Preview</em> testing</h3>
<div class="imgleft"><img src="http://www.mikepadgett.com/wp-content/uploads/2009/06/print.jpg" alt="Print styles in Firefox and Internet Explorer" /></div>
<p>Developers tend temporarily to substitute their screen CSS for their print CSS, run it in the ordinary browser environment, <em>et voilà</em>. Rinse and repeat.</p>
<p>Yet the actual conversion to the printed page can sometimes lead to unexpected results, as can be seen in the image: different browsers, different <em>Print Preview</em> results &#8211; even though in the browser there was nothing obviously objectionable.</p>
<h3>Print Preview !== a tool for development</h3>
<p>Finding fiddly print CSS issues would be a lot easier if testing tweaks was a smoother process. Every change cycle equates to:</p>
<ol>
<li>Refresh the page</li>
<li>Invoke Print Preview</li>
<li>Review the change</li>
<li>Close Print Preview</li>
</ol>
<p>Testing print CSS as opposed screen CSS appends two additional steps 2 and 4 &#8211; invoke Print Preview (<tt>Alt + F + V</tt> in Windows for both IE and Firefox) and close Print Preview (correspondingly <tt>Alt + F4</tt>) . Those two simple steps make the business <em>very</em> laborious, <em>even</em> if you can remember those shortcuts.</p>
<h3>Slight workflow improvement: an IE-only trick</h3>
<p>A dirty little script <em>in IE only</em> takes care of the task of invoking Print Preview, which slightly shortens the workflow. Yes, it&#8217;s IE only, but given that it&#8217;s usually IE giving me print CSS grief, every little helps:</p>
<p><code>&lt;script type="text/javascript"&gt;<br />
function printpr()<br />
{<br />
var OLECMDID = 7;<br />
var PROMPT = 1;<br />
var WebBrowser = '&lt;OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"&gt;&lt;/OBJECT&gt;';<br />
document.body.insertAdjacentHTML('beforeEnd', WebBrowser);<br />
WebBrowser1.ExecWB(OLECMDID, PROMPT);<br />
WebBrowser1.outerHTML = "";<br />
}<br />
printpr();<br />
&lt;/script&gt;</code></p>
<p>This script automatically invokes IE&#8217;s Print Preview. Dump it just before the <tt>&lt;/body&gt;</tt> and save yourself a shortcut! You could also call <tt>printpr()</tt> from anywhere else, of course. And <a title="Links to an external website" href="http://www.jguru.com/faq/view.jsp?EID=490852">here&#8217;s the source of the original code snippet</a>, which also shows a few other unrelated options such as <tt>Save As</tt>.</p>
<h3>Why can&#8217;t we refresh the Print Preview?</h3>
<p>All of which finally begs the question, why can&#8217;t we simply refresh the Print Preview with an <tt>F5</tt> shortcut, just like we have in the browser itself?</p>
<p>Probably because I&#8217;m the only person in the world who gets genuinely annoyed by testing print CSS in Print Preview. More fool me, I guess.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikepadgett.com/technology/technical/testing-css-print-media-we-need-a-print-preview-for-developers/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Dreamweaver CS3 crashes and won&#8217;t start up again</title>
		<link>http://www.mikepadgett.com/technology/technical/dreamweaver-cs3-crashes-and-wont-start-up-again/</link>
		<comments>http://www.mikepadgett.com/technology/technical/dreamweaver-cs3-crashes-and-wont-start-up-again/#comments</comments>
		<pubDate>Fri, 01 Feb 2008 01:17:06 +0000</pubDate>
		<dc:creator>Mike Padgett</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[dreamweaver]]></category>
		<category><![CDATA[dreamweaver cs3]]></category>

		<guid isPermaLink="false">http://localhost/?p=7</guid>
		<description><![CDATA[The world famous 8,192kb bug that crashed a million Dreamweavers. Probably.]]></description>
			<content:encoded><![CDATA[<p>Hey kids, this is definitely one of the weirdest bugs I have ever clapped eyes on.</p>
<p>Not for the first time, I was happily authoring <acronym title="Cascading Style Sheets">CSS</acronym> and Dreamweaver CS3 crashed. Turns out, it doesn&#8217;t have to be specifically CSS, but that was my situation anyway.</p>
<h3>The crash</h3>
<p>It&#8217;s all too familiar: this is DW after all, and those of us who have used it from the start will know the pedigree. But I try to restart the program anyway: it&#8217;s 1am and I don&#8217;t need this. Nope, fail. Dreamweaver CS3 won&#8217;t start on Windows XP. In these times of quad processors and 32-bit colour, has the long-exorcised ghost of DW&#8217;s buggy past returned to haunt us?</p>
<p>The following options were available:</p>
<ul>
<li>Abuse someone at Adobe</li>
<li>Reinstall Dreamweaver</li>
<li>Try to clean out the config files so that Dreamweaver has to create new ones on restart (an old and occasionally successful solution)</li>
</ul>
<p>And the answer? None of the above.</p>
<p>The fix turned out to be simple, though somewhat obscure. I shall elaborate in a moment, but first I must attribute my source. In August 2007, Adobe Community Expert and author <a href="http://groups.google.com/group/macromedia.dreamweaver/msg/4f6b8d6385dc3466" title="Links to an external website">David Powers sussed out this profoundly ugly problem</a> in the Macromedia.Dreamweaver Google Group. At the time, it was  undocumented elsewhere and not particularly easy to find with bland keywords in search engines.</p>
<h3>The cause of the crash</h3>
<p>Apparently, an install of Dreamweaver CS3 (mine is currently v9.0 Build 3481) crashes if you edit a file to <em>exactly</em> a multiple of 8,192 bytes. Not a byte more, not a byte less. The chances of this happening are probably fairly small: to edit a file to the exact size at the same moment that DW does some processing and gets upset.<em></em></p>
<p>Don&#8217;t believe me? I wouldn&#8217;t have either in your position. But here&#8217;s what happened: I&#8217;m editing a document of any supported format, I&#8217;m just about to change a particular value and suddenly it crashes. So I checked out David&#8217;s comment above and, lo and behold:</p>
<p class="centeralign"><img src="http://www.mikepadgett.com/legacy/userfiles/image/images_2008/8192.gif" alt="Dreamweaver CS3 crashes and won't restart" width="367" height="509" /></p>
<h3>So now what?</h3>
<p>If you have this bug, from here it&#8217;s quick and easy to escape. Don&#8217;t bother trying to do anything with Dreamweaver CS3 because as long as your file is a multiple of 8,192 bytes, you ain&#8217;t going nowhere.</p>
<h4>Step 1. If you were working within a Site, you can test if this bug was behind the crash</h4>
<p>If you were editing your file within a defined Site, read on. Otherwise, you can skip to 2.</p>
<p>In Windows Explorer, temporarily rename the folder that contains your Site, so that Dreamweaver CS3 starts successfully, asking you to <em>Manage Sites&#8230;</em> because of course it can&#8217;t find your original folder.</p>
<p>If you were to point <em>Manage Sites&#8230;</em> to the new folder name, Dreamweaver CS3 would crash again, so just exit the app for now. You can now be pretty sure you&#8217;ve encountered this filesize bug.</p>
<p>If DW <em>doesn&#8217;t</em> start properly after this step, then you have some other problem and I&#8217;m sorry your visit here didn&#8217;t help.</p>
<h4>Step 2. Edit the file that caused the crash outside of Dreamweaver CS3</h4>
<p>Next, in a different text editor such as Notepad, increase the filesize of the file that you were editing when DW crashed &#8211; just by adding a bit of whitespace, for example &#8211; and then resave it. You could also decrease the file size by deleting whitespace, but of course you risk repeating the bug when you work on the file again later or indeed, you might not have anything to safely delete, so I&#8217;d recommend increasing instead.</p>
<p>Now, having altered the file, be sure to check that your filesize is indeed no longer a multiple of 8,192kb.</p>
<p>If you were working within a Site as described in Step 1, you can now rename the folder of your Site back to its original name in Windows Explorer.</p>
<p>Restart Dreamweaver CS3 and you should be back in action. I hope it worked for you too!</p>
<h3>Afterthought</h3>
<p>As you can probably see, there are quite a few satisfied customers in the Responses below, from Denmark to Chile. So why not let me know if you had this problem too and if your situation was a little different, please add to the knowledge.</p>
<p>And finally, this incident jogged my memory of another oddball software behaviour I encountered once in the early days of Office 2007 for Windows, because it too was about processing bytes and coming out with the wrong result. Check out this anomaly with <a href="http://groups.google.com/group/microsoft.public.excel/browse_thread/thread/2bcad1a1a4861879/2f8806d5400dfe22">Excel 2007</a>: if you multiply 850 by 77.1 you get 100,000. The real answer? <a href="http://en.wikipedia.org/wiki/65535">65,535</a> of course, a juicy, meaningful number for <em>aficionados</em> of binary computing! <em>[15 April 2008: I tested this again recently and it appears to have been patched - Mike]</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikepadgett.com/technology/technical/dreamweaver-cs3-crashes-and-wont-start-up-again/feed/</wfw:commentRss>
		<slash:comments>416</slash:comments>
		</item>
		<item>
		<title>Accessibility may affect feasibility of Sharepoint intranet</title>
		<link>http://www.mikepadgett.com/technology/technical/accessibility-may-affect-feasibility-of-sharepoint-intranet/</link>
		<comments>http://www.mikepadgett.com/technology/technical/accessibility-may-affect-feasibility-of-sharepoint-intranet/#comments</comments>
		<pubDate>Mon, 22 Oct 2007 21:13:56 +0000</pubDate>
		<dc:creator>Mike Padgett</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[accessibility]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[content management]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[intranet]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[sharepoint]]></category>
		<category><![CDATA[wcag]]></category>

		<guid isPermaLink="false">http://localhost/?p=22</guid>
		<description><![CDATA[Microsoft's Office Sharepoint Server 2007 packs some cosmetic improvements to accessibility, but considerable development will be needed to resolve out-of-the-box problems.]]></description>
			<content:encoded><![CDATA[<h3>Improvements in MOSS Sharepoint 2007</h3>
<p>Microsoft applies accessibility best practice fairly solidly on the desktop, but the same couldn&#8217;t be said of its recent online efforts.</p>
<p>Redmond has often been seen to lag behind the rest of the online industry and resentments have built up over the years, particularly fuelled by the development of Internet Explorer.</p>
<p>So it&#8217;ll be welcome news from Microsoft that Sharepoint 2003 &#8211; a release pockmarked by deficiencies in both usability and accessibility &#8211; has been replaced by Microsoft Office SharePoint Server (MOSS) 2007, complete with numerous interface improvements.</p>
<p>However what we&#8217;re seeing are quick wins rather than big changes: some attention has been given to (easily altered) markup and the visual styles of out-of-the-box skins.</p>
<h3>For better or for worse?</h3>
<div class="imgleft"><img src="/legacy/userfiles/image/images_2007/moss.gif" alt="Stylised image of MOSS" width="200" height="267" />
<p class="caption">MOSS: hasn&#8217;t aged so well</p>
</div>
<p>The origins of Sharepoint&#8217;s critical accessibility issues &#8211; and these are still more or less the same in MOSS 2007 as they were in Sharepoint 2003 &#8211; lie in Microsoft&#8217;s dogged commitment to delivering the functional equivalent of WinForms in a browser.</p>
<p>The practical result is a sort of Frankenstein&#8217;s Monster of desktop and web paradigms, onerously dependent on client-side scripting to hold it all together.</p>
<p>Closer inspection of this scripting suggests that MOSS 2007 is in fact potentially <em>less</em> accessible than 2003.</p>
<h3>An uphill slog</h3>
<p>If we can do without bells and whistles on the front-end, it&#8217;s not especially difficult to publish a semantically valid, usable and accessible Sharepoint intranet.</p>
<p>It&#8217;s just that we have to customise to comply, to the extent that the cost-benefit of Sharepoint is much diminished by the considerable resources required to make it seaworthy.</p>
<h3>Administrative concerns</h3>
<p>Assuming we&#8217;re ready to receive visitors to our newly-compliant Sharepoint front-end, let&#8217;s turn to that Microsoft speciality: the delegation of administration. Here&#8217;s where the complexity of transferring WinForms literalism to the web starts to take its toll.</p>
<p>The technology required to leverage the power of the Sharepoint&#8217;s administration interface is also the heartbeat of the product, but some assistive technologies won&#8217;t support it. An assistive technology user can access a carefully modified website, but she won&#8217;t feasibly be able to administer it. Unless, it seems, we&#8217;re prepared to put our hand in our pocket <em>again</em>.</p>
<h3>The cost of concessions: &#8220;More Accessible Mode&#8221; and the <em>Accessibility Kit for Sharepoint</em></h3>
<p>In his article on <a href="http://blogs.msdn.com/sharepoint/archive/2006/04/24/582506.aspx">expected accessibility improvements for MOSS 2007</a>, Microsoft&#8217;s Lawrence Liu envisaged a &#8220;&#8216;more accessible&#8217; mode that allows users with special needs to identify themselves so that we can change the way some of our dynamic content is rendered&#8221; (note the choice of the phrase &#8220;more accessible&#8221;, rather than plain &#8220;accessible&#8221;).</p>
<p>Indeed, now that we have the finished product, Liu&#8217;s follow-up remark is more accurate, with the &#8216;more accessible mode&#8217; being made available &#8220;&#8230; so that third parties can create solutions catered to screen reader users&#8221;. The implication being that &#8220;more accessible&#8221; properly equates to &#8220;more development&#8221;: this mode still appears to depend upon at least some out-of-the-box client-side scripting to function properly.</p>
<p>A requirement for extra development in MOSS 2007 is honestly acknowledged by Microsoft, though Redmond obviously stops short of seeing that as a potential negative.</p>
<p>Some organisations have made the investment: there is a collection in the public domain today of websites (numbers still in single figures) that have been created to meet accessible standards. And it&#8217;s clear that in these examples, MOSS 2007&#8242;s rich functionality is missing. Nor can we guess whether or not these examples are capable of being <em>administered</em> accessibly.</p>
<p>As the respected creator of accessibility test engine <em>CynthiaSays</em>, provider and vendor HiSoftware has partnered with Microsoft to develop an <a href="http://aks.hisoftware.com">Accessibility Kit for Sharepoint (AKS)</a>, which will target MOSS 2007. AKS will &#8220;deliver a kit that can significantly reduce the time, knowledge, and effort required to implement a Sharepoint-based web site&#8221;, say Microsoft and HiSoftware in a joint statement.</p>
<p>There are at the time of writing no published release dates.</p>
<h3>While-U-Wait: Master Pages, User Controls and Web Parts</h3>
<p>In the meantime, general experience of .NET development has already raised the issue of how to guarantee good markup from programming, a task that has become slightly easier since the release of .NET 2.0.</p>
<p>Developers must first produce accessible, valid Master pages. Rather than out-of-the-box Master pages, this process should start with a minimal template, such as <a href="http://msdn2.microsoft.com/en-us/library/aa660698.aspx">an example made available by Microsoft</a>.</p>
<p>Thereafter the quality of markup output by .NET 2.0 user controls can be improved upon quite significantly using <a href="http://msdn2.microsoft.com/en-us/library/aa830815.aspx">delegate controls</a> or <a href="http://www.asp.net/cssadapters/">CSS-Friendly Control Adapters</a>.</p>
<p>Unlike many of the widgets and plugins of other, comparable products, MOSS 2007&#8242;s own Web Parts are rarely configurable (presumably because of their proprietary nature), which contributes to the issue of accessibility, since these same Web Parts typically spit out execrable markup.</p>
<p>Most such Web Parts exhibit one or more of the following issues:</p>
<ul>
<li>HTML tables for layout, or improperly marked up for data</li>
<li>Obtrusive Javascript that fails to provide alternatives</li>
<li>Inline styles rather than applying external CSS by class or ID</li>
<li>Multiple instances of ID attributes instead of unique IDs</li>
<li>Fixed rather than relative units</li>
</ul>
<p>Accordingly, it is essential that simple semantic markup is used in order to achieve maximum flexibility and optimal accessibility, otherwise all the hard work done on fine-tuning the Master and other user controls will be compromised.</p>
<h3>Conclusion: fit for purpose?</h3>
<p>Web-based groupware promises much for the future: information architecture, findability, collaboration and a single point of origin for access, audit and workflow.</p>
<p>The debate on how far Sharepoint achieves the definition is open. At the time of writing (October 2007) the Intranet Benchmarking Forum published <a href="http://www.ibforum.co.uk/?cmd=Schedule_Event_View&amp;eventId=37a27db0eae8e6b0d83347d8858174a9">a report on the suitability of Sharepoint for an organisation intranet</a> and its findings were mixed, while earlier in the year respected analyst CMSWatch considered <a href="http://www.cmswatch.com/About/Press/200704MOSS/">MOSS 2007 inappropriate for web publishing scenarios</a>.</p>
<p>Whether or not Sharepoint does the job in a general sense, organisations for whom a high level of accessibility is important (in an ideal world, that would be all organisations) should be concerned about MOSS 2007.</p>
<p>Organisations looking to develop an accessible MOSS 2007 solution for both visitors and administrators will need to make significant investment in development and to accept the probable loss of much of Sharepoint&#8217;s richer functionality.</p>
<p>If Microsoft Office integration (or lock-in, depending on the reader&#8217;s interpretation) isn&#8217;t a key deliverable, then consideration could be given to a content management platform with a lighter footprint that wraps in a high level of accessibility as standard and offers plenty of flexibility at the front-end.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikepadgett.com/technology/technical/accessibility-may-affect-feasibility-of-sharepoint-intranet/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>RouteOne online: doing the BUSiness</title>
		<link>http://www.mikepadgett.com/technology/routeone-online-doing-the-business/</link>
		<comments>http://www.mikepadgett.com/technology/routeone-online-doing-the-business/#comments</comments>
		<pubDate>Sat, 09 Sep 2006 15:42:01 +0000</pubDate>
		<dc:creator>Mike Padgett</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[publishing]]></category>

		<guid isPermaLink="false">http://localhost/?p=136</guid>
		<description><![CDATA[A little rework of a naff old website design from the days of tactile, bevelled headers and footers.]]></description>
			<content:encoded><![CDATA[<div class="imgleft"><img src="http://www.mikepadgett.com/legacy/userfiles/image/images_2006/r1_old.jpg" alt="The old RouteOne design" width="200" height="195" /></p>
<p class="caption">The old RouteOne website</p>
</div>
<p>A new website for RouteOne, the leading publication in the Coach and Bus industry, is set to go live shortly.</p>
<p>My job was to turn the old offering &#8211; primarily a storefront for new registrations &#8211; into an accessible, readable editorial site to reflect the  investment in design.</p>
<p>RouteOne was a great opportunity for me to follow up on my recent interest in the area of editorial design and I did a lot of research into what works.</p>
<p>The business of designing for a readership turned out to be a process of experimenting with subtlety, since content and continuity are the most important factors in getting the site to sit well with users. I think we&#8217;ve certainly achieved this, based on the results of the testing I did.</p>
<p class="centeralign"><img class="imgborder" src="http://www.mikepadgett.com/legacy/userfiles/image/images_2006/r1_nu.jpg" alt="Screenshot from the new RouteOne site" width="502" height="398" /></p>
<p class="caption">The new RouteOne website homepage</p>
<p>As ever, the site is put together with a CSS-based layout and on this project, a full stylesheet was devoted to the provision of the numerous  editorial styles that should make RouteOne distinctive and highly readable.</p>
<p class="centeralign"><img src="http://www.mikepadgett.com/legacy/userfiles/image/images_2006/r1_nu2.jpg" alt="More screenshots from the new RouteOne site" width="482" height="192" /></p>
<p>I really enjoyed working on the new site, my first under the banner of our new business. I look forward to the desired results being achieved!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikepadgett.com/technology/routeone-online-doing-the-business/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Memorabilia gets a makeover</title>
		<link>http://www.mikepadgett.com/technology/memorabilia-gets-a-makeover/</link>
		<comments>http://www.mikepadgett.com/technology/memorabilia-gets-a-makeover/#comments</comments>
		<pubDate>Fri, 23 Jun 2006 12:47:45 +0000</pubDate>
		<dc:creator>Mike Padgett</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[memorabilia]]></category>

		<guid isPermaLink="false">http://localhost/?p=155</guid>
		<description><![CDATA[I just completed a new CSS layout build for Memorabilia, the event that runs every year at the Birmingham NEC. The Memorabilia show features appearances from actors and actresses, sports personalities and stalls selling collectibles from film and television. There&#8217;s often a particular bias on sci-fi. Past guest appearances have included Verne Troyer (Mini-me of &#8230;]]></description>
			<content:encoded><![CDATA[<p>I just completed a new CSS layout build for Memorabilia, the event that runs every year at the Birmingham NEC.</p>
<p>The Memorabilia show features appearances from actors and actresses, sports personalities and stalls selling collectibles from film and television. There&#8217;s often a particular bias on sci-fi.</p>
<p>Past guest appearances have included Verne Troyer (Mini-me of Austin Powers fame), Anthony Daniels (C-3PO) and Bond-girl Britt Ekland.</p>
<p>The new site sports a broader, more attractive layout in keeping with the direction in which the event organisers Expo Management are pushing.</p>
<p class="centeralign"><img width="360" height="332" alt="Screenshot of new Memorabilia site" src="/legacy/userfiles/image/images_2006/memorabilia.jpg" /></p>
<p>Check it out at <a href="http://www.memorabilia.co.uk">http://www.memorabilia.co.uk</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikepadgett.com/technology/memorabilia-gets-a-makeover/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blog styles</title>
		<link>http://www.mikepadgett.com/technology/about-this-site/blog-styles/</link>
		<comments>http://www.mikepadgett.com/technology/about-this-site/blog-styles/#comments</comments>
		<pubDate>Sun, 19 Mar 2006 18:08:48 +0000</pubDate>
		<dc:creator>Mike Padgett</dc:creator>
				<category><![CDATA[The eponymous website]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://localhost/?p=166</guid>
		<description><![CDATA[Briam asked on the forum for the blog software that runs MikePadgett.com about template styles. I had written a brief article before MikePadgett.com was so kindly hacked about the work I&#8217;d done on templates. In common with most blog software, the idea is to separate content from presentation, so it&#8217;s just a matter of writing &#8230;]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.fachisthers.com/">Briam</a> asked on the forum for the blog software that runs MikePadgett.com about template styles.</p>
<p>I had written a brief article before MikePadgett.com was <a href="/technology/about-this-site/cynical-hacking/?phpMyAdmin=iMl608Ux4ugmzZ4A68ybBBQmBna">so kindly hacked</a> about the work I&#8217;d done on templates.</p>
<p>In common with most blog software, the idea is to separate content from presentation, so it&#8217;s just a matter of writing decent CSS.</p>
<p>Here are the two previous &#8216;skins&#8217; that have graced these pages:</p>
<p class="centeralign"><img width="350" height="254" class="addborder" alt="Japon style" src="/legacy/images/client_images_2006/japon.jpg" /></p>
<p class="caption">Japon &#8211; the first blog style I used in 2005</p>
<p class="centeralign"><img width="350" height="254" class="addborder" alt="Woollen style" src="/legacy/images/client_images_2006/woollen.jpg" /></p>
<p class="caption">Woollen &#8211; a Norwegian sweater to keep the blog warm for winter</p>
<p>If anyone would like some help with their templates, let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikepadgett.com/technology/about-this-site/blog-styles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS floats: container does not stretch to fit floated contents</title>
		<link>http://www.mikepadgett.com/technology/technical/alternative-to-the-pie-clearfix-hack/</link>
		<comments>http://www.mikepadgett.com/technology/technical/alternative-to-the-pie-clearfix-hack/#comments</comments>
		<pubDate>Wed, 18 Jan 2006 12:36:50 +0000</pubDate>
		<dc:creator>Mike Padgett</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://localhost/?p=175</guid>
		<description><![CDATA[Here's a quick resolution to an almost ungooglable problem.]]></description>
			<content:encoded><![CDATA[<p class="note">This article was formerly titled &#8220;Alternative to the PIE clearfix hack&#8221; but has since been rewritten.</p>
<p>Getting this problem?</p>
<p align="center"><img src="/legacy/images/client_images/float_problem.gif" alt="Nested div float problems" width="412" height="300" /></p>
<h3>Example:</h3>
<div style="background: red; padding: 2%; border: 1px solid #000;">
<div style="border: 1px solid #000000; background: #e2e2e2; float: left; width: 45%;">Left<br />
Left<br />
Left<br />
Left</div>
<div style="border: 1px solid #000000; background: #e2e2e2; float: right; width: 45%;">Right<br />
Right<br />
Right<br />
Right</div>
</div>
<p><br style="clear: both;" /></p>
<p><code>&lt;div style="background: red; padding: 2%; border: 1px solid #000;"&gt;<br />
&lt;div style="border: 1px solid #000000; background: #e2e2e2; float: left; width: 45%;"&gt;Left&lt;br /&gt;Left&lt;br /&gt;Left&lt;br /&gt;Left&lt;/div&gt;<br />
&lt;div style="border: 1px solid #000000; background: #e2e2e2; float: right; width: 45%;"&gt;Right&lt;br /&gt;Right&lt;br /&gt;Right&lt;br /&gt;&lt;/div&gt;<br />
&lt;/div&gt;</code></p>
<p>There are generally two ways of dealing with this and you shouldn&#8217;t usually need to hack it.</p>
<h3>Hack-free approach</h3>
<p>Normally, you can apply something like the following to the outer div:</p>
<p><code>height: 1%; overflow: hidden;</code></p>
<p>In most modern browsers, the container will now stretch to fit the floated contents.</p>
<div style="border: 1px solid #000000; padding: 2%; background: red; overflow: hidden; height: 1%;">
<div style="border: 1px solid #000000; background: #e2e2e2; float: left; width: 45%;">Left<br />
Left<br />
Left<br />
Left</div>
<div style="border: 1px solid #000000; background: #e2e2e2; float: right; width: 45%;">Right<br />
Right<br />
Right<br />
Right</div>
</div>
<p><br style="clear: both;" /></p>
<p><code>&lt;div style="background: red; padding: 2%; border: 1px solid #000; <em>height: 1%; overflow: hidden;</em>"&gt;<br />
&lt;div style="border: 1px solid #000000; background: #e2e2e2; float: left; width: 45%;"&gt;Left&lt;br /&gt;Left&lt;br /&gt;Left&lt;br /&gt;Left&lt;/div&gt;<br />
&lt;div style="border: 1px solid #000000; background: #e2e2e2; float: right; width: 45%;"&gt;Right&lt;br /&gt;Right&lt;br /&gt;Right&lt;br /&gt;&lt;/div&gt;<br />
&lt;/div&gt;</code></p>
<h3>PIE clearfix hack</h3>
<p>In some circumstances, especially when support for ancient browsers is required, there&#8217;s also a generally trouble-free hack.</p>
<p><a href="http://www.positioniseverything.net">PIE</a> Clearfix works like this:</p>
<p><code>.clearfix:after {content: "."; display: block; height: 0; clear: both; visibility: hidden;}<br />
.clearfix {<em>display: inline-block</em>;}<br />
/* Hides from IE-mac \*/<br />
* html .clearfix {height: 1%;}<br />
.clearfix {display: block;}<br />
/* End hide from IE-mac */</code></p>
<p>Now simply add:</p>
<p><code>class="clearfix"</code></p>
<p>… to the outer div or apply it to the actual elements/classes you&#8217;ve already written.</p>
<p>I wrote this short article because it took me a painfully long time to find the <a href="http://www.positioniseverything.net/easyclearing.html">original PIE article</a>. The reason being that searching for this particular CSS problem with keywords is difficult: how do you describe it? I&#8217;ve seen &#8220;nested div float problems&#8221;, &#8220;clearing nested floats&#8221; and simply &#8220;container div won&#8217;t float&#8221; and all of these mean the same thing!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikepadgett.com/technology/technical/alternative-to-the-pie-clearfix-hack/feed/</wfw:commentRss>
		<slash:comments>33</slash:comments>
		</item>
		<item>
		<title>Graphic Designers are not Web Designers</title>
		<link>http://www.mikepadgett.com/technology/technical/graphic-designers-are-not-web-designers/</link>
		<comments>http://www.mikepadgett.com/technology/technical/graphic-designers-are-not-web-designers/#comments</comments>
		<pubDate>Thu, 24 Nov 2005 22:52:00 +0000</pubDate>
		<dc:creator>Mike Padgett</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[accessibility]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[graphic design]]></category>
		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://localhost/?p=182</guid>
		<description><![CDATA[Glad you could join us: communications agencies have finally decided that the Internet is highbrow. Hold on tight!]]></description>
			<content:encoded><![CDATA[<p>This item is a follow-on really from a statement I made in my previous article about User Experience 2005: how we are web designers rather than artists.</p>
<p>J recently pointed out to me a website she&#8217;s been looking at called <a href="http://www.heavy-backpack.com/">Heavy Backpack</a>. It&#8217;s billed by its makers as a &#8220;Creative Catalogue&#8221; &#8211; in other words a mini portfolio for each of its contributors and there are some outstanding examples of graphic design in there with the usual derivative stuff.</p>
<p style="text-align: center"><img src="/legacy/images/client_images/heavy_backpack.gif" alt="Heavy Backpack - screenshot" border="1" height="291" width="400" /><br />
Heavy Backpack</p>
<p>But the site itself is what interested me first. It looks attractive, along similar lines as <a href="http://www.k10k.org/" target="_blank">K10K</a> or any number of those horrible awards sites that all present us with a cutting edge mostly made out of Flash.</p>
<p>Now, of course I realise that the right way to do this kind of magazine (or catalogue or whatever) site is to mute your design so as to let the content do the talking, but being a person interested in the details, I couldn&#8217;t help but notice as the site slowly loaded that there were so many images on the page.</p>
<p>My interest was piqued and I dived right into the source code to see what efforts had been made.</p>
<p>Few. 27 validation errors in HTML 4.01 Loose. A cherry pick of the accessibility issues includes those perennial favourites tiny type, iframes and almost no alt attributes.</p>
<p>The team that put Heavy Backpack together is <a href="http://www.wadestudios.com/" target="_blank">Wade Studios</a>, an Australian business with a good client list. Very talented graphic designers, clearly, but as web designers they ain&#8217;t.</p>
<p>In the last year, I have become increasingly convinced that to call yourself a web designer today means that you are a proficient XHTML/CSS coder, a standards evangelist and well-versed in usability and accessibility best practices. So says Zeldman, so says O&#8217;Shea and all that lot, so says Nielsen, and so say I. A graphic designer is not a web designer.</p>
<p>Quote:</p>
<blockquote><p>&#8220;Too many graphic designers have tried to force the Web to be what it is not, in the process creating ineffective and sometimes unusable websites. Quality web design is driven by information architecture design principles. Graphic design should support these principles.&#8221; &#8211; <a href="http://www.gerrymcgovern.com/nt/2001/nt_2001_12_17_design.htm">Gerry McGovern</a></p>
</blockquote>
<p>Graphic design houses ignored the Internet. It was low culture for a long time and there was no money in it. But today, interactive projects can rival those in other media in scale and value and now these same graphic design houses are selling their web capabilities where they can&#8217;t get through the door on the back of print alone.</p>
<p>But in truth, the fuddy old Art Directors don&#8217;t understand websites. Just as some design houses tried to stay aloof when DTP was adopted by all walks of employee (even though the product was crap, it was certainly cheap) they also missed the boat with the Internet.</p>
<p>Hence why the code is neanderthal, or worse, art program-generated.</p>
<p>Hence also why it&#8217;s pretty but without practicality.</p>
<p>[See also: <a href="http://www.alistapart.com/articles/designcancripple" target="_blank">Design Choices Can Cripple A Website</a> by Nick Usborne, 08/11/2005 A List Apart]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikepadgett.com/technology/technical/graphic-designers-are-not-web-designers/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Solution to nested DIV float problems</title>
		<link>http://www.mikepadgett.com/technology/technical/solution-to-nested-div-float-problems/</link>
		<comments>http://www.mikepadgett.com/technology/technical/solution-to-nested-div-float-problems/#comments</comments>
		<pubDate>Mon, 12 Sep 2005 09:51:35 +0000</pubDate>
		<dc:creator>Mike Padgett</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[clearfix]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[div]]></category>
		<category><![CDATA[float]]></category>
		<category><![CDATA[hack]]></category>

		<guid isPermaLink="false">http://localhost/?p=194</guid>
		<description><![CDATA[A CSS hack for nested divs that break out of their container.]]></description>
			<content:encoded><![CDATA[<p class="note">This item is now out of date. See the <a href="/technology/technical/alternative-to-the-pie-clearfix-hack/">updated version</a>.</p>
<p>I recently discovered a CSS hack that has come in very handy indeed since.</p>
<p>The problem arises in both Firefox and IE (though the solution is different for each) when we try to wrap a div around one or more divs with float.</p>
<p style="text-align: center"><img src="/legacy/images/client_images/float_problem.gif" alt="Nested floated div breaks wrapper!" width="412" height="300" /></p>
<p>You want your wrapper to stretch vertically with your contained divs, but instead, you find that your wrapper gets behind when your floated content divs go stretching off down the viewport and beyond.</p>
<p>The development community is all but silent on this issue, though I would think it&#8217;s a common enough problem to have encountered.</p>
<p>I tried and tested an IE solution, but it was thanks to Big John and Holly at <a href="http://www.positioniseverything.net/">positioniseverything</a> that the NS / Firefox side of things could be cleared up. The full article with the whys and wherefores is <a href="http://www.positioniseverything.net/easyclearing.html" target="_blank">here</a>, and the code we need is as follows:</p>
<p><code> .clearfix:after {content: "."; display: block; height: 0; clear: both; visibility: hidden;}<br />
.clearfix {display: inline-table;}<br />
/* Hides from IE-mac \*/<br />
* html .clearfix {height: 1%;}<br />
.clearfix {display: block;}<br />
/* End hide from IE-mac */<br />
</code></p>
<p>Now we get the result we want!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikepadgett.com/technology/technical/solution-to-nested-div-float-problems/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

