<?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>Man with no Blog &#187; CSS</title>
	<atom:link href="http://manwithnoblog.com/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://manwithnoblog.com</link>
	<description>Gary Barber rants on user experience, and the controlled chaos of the Web Industry</description>
	<lastBuildDate>Thu, 12 Aug 2010 15:18:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CSS menus why use Display:None</title>
		<link>http://manwithnoblog.com/2009/12/06/the-case-for-the-use-of-display-none/</link>
		<comments>http://manwithnoblog.com/2009/12/06/the-case-for-the-use-of-display-none/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 02:54:55 +0000</pubDate>
		<dc:creator>Gary Barber</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[usability]]></category>
		<category><![CDATA[web accessibility]]></category>
		<category><![CDATA[accessibility]]></category>
		<category><![CDATA[blind]]></category>
		<category><![CDATA[screen reader]]></category>

		<guid isPermaLink="false">http://manwithnoblog.com/?p=875</guid>
		<description><![CDATA[
You know in accessibility circles we are constantly telling people using drop down CSS menus that when the menus are not visible  we shouldn&#8217;t be using display:none to achieve this.   We all know this one, right.  Just to refresh your memory, remember the display:none rule takes an element assigned right out of the picture [...]]]></description>
			<content:encoded><![CDATA[<p class="featureimage"><a title="Hiding In Plain Sight by CannedTuna, on Flickr" href="http://www.flickr.com/photos/cannedtuna/2728035344/"><img src="http://farm4.static.flickr.com/3236/2728035344_942c474931_m.jpg" alt="Hiding In Plain Sight" width="240" height="160" /></a></p>
<p>You know in accessibility circles we are constantly telling people using drop down CSS menus that when the menus are not visible  we shouldn&#8217;t be using display:none to achieve this.   We all know this one, right.  Just to refresh your memory, remember the display:none rule takes an element assigned right out of the picture completely,  for anyone using a screen reader the assigned content will just not &#8220;exist&#8221;.</p>
<p>This is all well and good.  Well that depends, maybe there is a case for the use of display:none afterall.</p>
<p>Sometimes we forget about the bigger picture, about the people we are building the sites for.  A few weeks ago at the <abbr title="Usability Professionals Association">UPA</abbr> Perth (chapter in formation) meeting, Teressa from the Disability Services Commission demonstrated with her screen reader (JAWS) why the display:none is sometimes a good thing.</p>
<h3>The Issue</h3>
<p>Normally for a drop down menu you would code it as a unordered list as below, note I have removed the links for clarity:</p>
<pre><code>&lt;ul class="menu"&gt;
        &lt;li&gt;Home&lt;/li&gt;
        &lt;li&gt;Products
           &lt;ul class="submenu"&gt;
               &lt;li&gt;Sexy Product &lt;/li&gt;
               &lt;li&gt;Highest Selling Product&lt;/li&gt;
               &lt;li&gt;Mega Cool Product&lt;/li&gt;
           &lt;/ul&gt;
        &lt;/li&gt;
        &lt;li&gt;Services&lt;/li&gt;
        &lt;li&gt;About&lt;/li&gt;
        &lt;li&gt;Contact&lt;/li&gt;
&lt;/ul&gt;</code></pre>
<p>And you would use CSS menu based techniques (with a little Javascript for legacy browsers) to generally display the lower  menu (assigned the class submenu on the unordered list).  It follows before the menu is activated it would be hidden from view with the use of the following CSS that still makes the submenu content readable to a screen reader.</p>
<pre><code>.submenu {
    position: absolute; 
    left: -10000px;
    top:-10000px;
 }</code></pre>
<p>For those who are not familiar,  this rule pushes the element outside of the normal document flow visually &#8211; to the far left and up beyond the normal visual screen.  However it is still on the virtual screen, so it can be read by a screen reader.</p>
<p>It follows then that a screen reader will be able read all the menu items even the lower level ones and hence the user can transverse at their will round such a menu system.   Which is a good outcome, right?</p>
<h3>The Downside &#8211; Information Overload</h3>
<p>However consider not just a simple menu system (above), but say one from a government agency  consisting of  maybe hundreds of items.  Now think about  having to transverse such a menu.  To deal with those hundreds of items being read out.  As Teressa put it -&#8221;It&#8217;s just information overload&#8221;.</p>
<p>Unknowingly we have subjected our users with disabilities to a massive amount of information that even we are not subjected to.   You see even we see the the menus in chunks, bite sized pieces that we can mentally digest as they appear on a mouse or keyboard action.</p>
<h3>The Solution</h3>
<p>It&#8217;s really a simple thing to fix.  We just use display:none to hide all these large lower menu systems as required.  This means that they are no longer visible to the screen reader at all.  Which is exactly what we want.</p>
<pre><code>.submenu {
     display:none;
 }</code></pre>
<p>To supplement this what we should be doing is using progressional enhancement of the navigational system.  At the very least we should be  having the relevant  sub menus presented on the parent page or related sibling pages as a separate menu list.   This way anyone with disabilities or the like using just the top level menu buttons will still be able to navigate around the site.</p>
<p>So when we have way too much information on the CSS menu, maybe it&#8217;s time to consider an  alternative and remove it from the sight of the screen readers altogether. Forcing the navigation of the site by the regular page by page chunks of the menu navigation.</p>
<p>As you would expect this all comes down to testing with real people, people with the disabilities that you are finding solutions for.  You see sometimes with all the good intentions we think we are doing the right thing, but it turns out to be otherwise.</p>
<p>So what instances of disability best practice have you found to be a hinderance to people with a disability?</p>
<img src="http://manwithnoblog.com/5e94d05d/266bbf76/CCBot/1.0 (+http://www.commoncrawl.org/bot.html).gif" />]]></content:encoded>
			<wfw:commentRss>http://manwithnoblog.com/2009/12/06/the-case-for-the-use-of-display-none/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Using Pre Built  Website Templates the Pros and Cons</title>
		<link>http://manwithnoblog.com/2009/08/17/using-pre-build-website-templates-the-pros-and-cons/</link>
		<comments>http://manwithnoblog.com/2009/08/17/using-pre-build-website-templates-the-pros-and-cons/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 00:30:53 +0000</pubDate>
		<dc:creator>Gary Barber</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[predesigned]]></category>
		<category><![CDATA[pros and cons]]></category>
		<category><![CDATA[psd]]></category>
		<category><![CDATA[templates]]></category>
		<category><![CDATA[web standards]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://manwithnoblog.com/?p=547</guid>
		<description><![CDATA[
It&#8217;s one of those wet August days in Perth when the sunny and rain just can&#8217;t make up their mind who really wants to be the dominate partner.   In a similar way a web design business can wrestle with a similar issue.   Do you use someone else&#8217;s pre-built templates  or do you roll [...]]]></description>
			<content:encoded><![CDATA[<p class="featureimage"><a title="Hear Now - Melbourne" href="http://www.flickr.com/photos/cannedtuna/3575948722/"><img src="http://farm4.static.flickr.com/3105/3575948722_d87fb359d4_m.jpg" alt="Hear Now" width="240" height="171" /></a></p>
<p>It&#8217;s one of those wet August days in Perth when the sunny and rain just can&#8217;t make up their mind who really wants to be the dominate partner.   In a similar way a web design business can wrestle with a similar issue.   Do you use someone else&#8217;s pre-built templates  or do you roll your own designs.</p>
<p>Between User Experience and Information Architecture gigs I usually squeeze in a little standard front end web site development.  Over the  years I have rolled my own, designing each website from scratch to the final interactive site.  I have prided myself in this production of  a higher quality result that my clients where looking for.   Something unique that they knew was a once off.</p>
<p>However in the last year or so I have been thinking, is that really what people want.  After all it&#8217;s just web design, its not like we are producing a fine arts masterpiece or the like.  It&#8217;s commercial throwaway pixels.   To this end I have been experimenting with using pre-built  templates for some of my clients.   Yes I admit it, I have strayed.   Now the interesting thing is there are a number of benefits and pitfalls with using these templates:</p>
<h3>Benefits</h3>
<ol>
<li>
<h4>It&#8217;s About Profit.</h4>
<p>From a pure business view you really are there to maximise profit.   It&#8217;s a cold hard fact that no one in the industry will talk about.   As a creative you are too often concerned with the technical aspect of the design, from the user experience to the beauty of the final  product. From a project management view, it&#8217;s about minimum hours for maximum profit.   If you can turn around a design for a client in a few hours and charge out for 5 times that amount, then that is a good thing.  Using pre-built templates allows you to do this very easily.</li>
<li>
<h4>Platform is not at Issue</h4>
<p>These days the professional pre-built templates  often come in a variety  of different platforms from Wordpress, Joolma, Drupal, various e commerce systems and even basic HTML layouts.   So there really is no excuse to be restricted by the template and the platform.</li>
<li>
<h4>A Refreshing Change</h4>
<p>Having someone else outside of your usual creatives design a site allows for a fresh approach to a design view point, this can often win a client over with an alternative design outside your usual stable of concepts.</li>
<li>
<h4>Save Time</h4>
<p>Just like you are saving money on using a professional template, you are also saving time to a degree (see below for clarification), as you at least have a prepackaged starting point.  You can also often present to the client a range of design concept proofs very quickly.</li>
<li>
<h4>New View, New techniques</h4>
<p>You are not just getting a new design, you are being exposed to other people&#8217;s techniques in terms of CSS and HTML.  Good or bad, it&#8217;s a different view point.   Sometime we just need that as we can all get very stale with our own code or that of the other freelancers we tend to work with.</li>
</ol>
<h3>Disadvantages</h3>
<ol>
<li>
<h4>Don&#8217;t Assume it&#8217;s Good</h4>
<p>The templates may look very stylish from the outside, design wise.  However I have found that they are often either the bare minimum of code to express the design or a mish-mash of tag soup.  There seems at best to be a distinct lack of professional code.  Maybe I&#8217;m just being to hard on my fellow web professionals, but the terms like web standards, the best practice seem to a very loose and fast application in the world of professional template production.</li>
<li>
<h4>Completeness is a Dirty Word</h4>
<p>A well designed template will have been tested against a suite of data types and scenarios that will allow for a large degree of flexibility while still maintaining the interface look and feel.   That&#8217;s what you would expect.  Be prepared to get something that is a more of half arsed attempt at this.   Again it&#8217;s going to mean that you have to drop into the code and fix the lack of the completeness.</li>
<li>
<h4>Burning Time for Perfection</h4>
<p>I am a perfectionist, I&#8217;ll give no quarter on that front, small details in a design tend to  drive me crazy.   I have a habit of correcting bad code or imperfect designs.  In a good way using a template does force you to stop fussing over minor points of the design.   However  in some cases you really need to change the methods used in the code so that it fits into your workflow and makes it easier to maintain in the future.  This is going to cost, sometimes beyond the savings that can be made using templates.   In reality it comes down to the longevity of the client and what future modifications they may require,</li>
<li>
<h4>Bad Techniques</h4>
<p>Don&#8217;t expect  all the techniques in use to be good or well thought out before they where implemented.   This is especially true for CSS.  I have often found that the hacks to implement the intended design  (especially  for Internet Explorer) can be an little dubious at best.  Overall the techniques just seem to lack the experience of a good web designer.  I guess in a way I&#8217;m projecting my own skills.   Still it&#8217;s just little things like  a good CSS layout structures, correct use if inheritance, and naming techniques that really do show how much experience author has.</li>
<li>
<h4>Cost Effective,  Maybe</h4>
<p>It&#8217;s just amazing how you are working on a very strict budget with a template design and suddenly the client wants something simple like a colour change  that suddenly means  a template rework.   This is where if it was your design it would be more cost effective to make the change in design direction.  However with a template, that is not the case, you are often working with photoshop files that have had masking and effects layers rendered, so simple things like a slight colour change can suddenly go from a few minutes work to an hour or so of working the design.</li>
</ol>
<p>After all this what&#8217;s the main things I&#8217;ve take away from all this are &#8211;  In an industry where the business dollar talks, and with the latest software you can turn around a photoshop design into an interactive web site in about 20-30 minutes by using table layouts.   Is there still a place for  unique designs that are hand coded.   I frankly would  sadly say for the average client, no.   The ways of the craftsman are disappearing just as hand made furniture and cars have done in the past.</p>
<p>Maybe it&#8217;s time to go design some templates.</p>
<img src="http://manwithnoblog.com/5e94d05d/266bbf76/CCBot/1.0 (+http://www.commoncrawl.org/bot.html).gif" />]]></content:encoded>
			<wfw:commentRss>http://manwithnoblog.com/2009/08/17/using-pre-build-website-templates-the-pros-and-cons/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Web Directions South, Day One &#8211; Fluff and Stuff</title>
		<link>http://manwithnoblog.com/2007/09/27/web-directions-south-day-one-fluff-and-stuff/</link>
		<comments>http://manwithnoblog.com/2007/09/27/web-directions-south-day-one-fluff-and-stuff/#comments</comments>
		<pubDate>Thu, 27 Sep 2007 07:42:16 +0000</pubDate>
		<dc:creator>Gary Barber</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[wds07]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://manwithnoblog.com/2007/09/27/web-directions-south-day-one-fluff-and-stuff/</guid>
		<description><![CDATA[
Post Lunch, comes forth with the usual multiple stream conflicts as you normally get with a conference like Web Directions South.  Lucky there is power charging and free wifi in the breakout areas.   Looking forward to the Bert Bos discussion of the revision of HTML and CSS.
John Allsopp &#8211; Trends and predictions [...]]]></description>
			<content:encoded><![CDATA[<p class="featureimage"><a href="http://www.flickr.com/photos/cannedtuna/1445538423/" title="Photo Sharing"><img src="http://farm2.static.flickr.com/1386/1445538423_13cef8c523_m.jpg" alt="Web Directions South 2007 - Day One" height="160" width="240" /></a></p>
<p>Post Lunch, comes forth with the usual multiple stream conflicts as you normally get with a conference like Web Directions South.  Lucky there is power charging and free wifi in the breakout areas.   Looking forward to the Bert Bos discussion of the revision of HTML and CSS.</p>
<h3>John Allsopp &#8211; Trends and predictions in web technology</h3>
<p>John Allsopp repeated it again, the web is now the platform, he looked at the internals of the stack of the web platforms.  The centre can&#8217;t hold it all, its all moving outwards, moving away from the control. Technology is removing the friction, off loading the boring stuff to the machines.   Privacy and security are still important and should be considered, we must always be aware of the implications of the security and the information being held.</p>
<p>We need to consider the user more than the technology (eg the Wii).  The fact is the internet is no longer on the web, its a shared device on the web now.  Its beyond the office or the bedroom.  But this comes with challenges, like resolution and accessibility, mousing and interaction, text input, and shared experience.</p>
<p>The mobile web, is it here. No baselines, to fallback on. various user events (mousing) just don&#8217;t make sense. Many of our design layout patterns just need to be rethinked. Passive input is here now, track and reporting on events is available now.</p>
<p>The traditional computing and web is being disrupted. The removal of the islands of islands of data.  It is pushing the limit of the data at the edges. The of the <acronym title="Application Programming Interface">API</acronym> and the semantic content distribution is allowing for the distribution of the data at the edges.</p>
<p>The challenge is now becoming changing the view form leveraging the value of the content to leveraging value of letting users use your data and use it for mashup and the use of the content ecosystems.  The promoting and encouraging of the ecosystems around you.  But what about licencing, that&#8217;s always going to be an issue.  Consider building atomic applications.</p>
<h3>Bert Bos &#8211; A new life for old standards &#8211; revisions to HTML, CSS and others</h3>
<p><a href="http://www.w3.org/People/Bos/">Bert Bos</a> asked, should we modify or build something new.  He ram through the various working groups that are in operation. In the area of HTML its in the area of modify than replace.  But in the multimedia is arena it is new verses modify.</p>
<p>CSS &#8211; new features for CSS2, for level 3 and level 4. The question becomes what do we add to CSS, he listed the new features that are being considered.</p>
<p>Designers Wants:</p>
<ul>
<li>Advanced Layout &#8211; define template system</li>
<li>Grid Positioning &#8211; flexible coordinate system</li>
<li>Stretched Backgrounds</li>
<li>Multiple Backgrounds</li>
<li>Rounded Corners</li>
<li>Rotation and Other Transformations (rotate block before and after text)</li>
</ul>
<p>It was good to see and hear Bert speak. It was interesting to hear and see his passion in various issues and learn of the disappointments with the W3C. Of interest</p>
<h3>Chris Wilson &#8211; Moving the web forward</h3>
<p><a href="http://blogs.msdn.com/cwilso">Chris Wilson</a> discussed the connection of people and the interconnection of people is now the core of the fore-front of the web itself.  Now we need to look at how we can improve it.</p>
<blockquote><p>Web 2.0 &#8211; &#8220;Caring about the quality of web UI&#8221;</p></blockquote>
<p>People are grouped as Web Developers, Browsers Vendors, and the rest. No consistent browser platform. The challenge for browser vendors is that we can&#8217;t break the web and the previous implementations (IE has over half billion users). Compatibly prevents browser upgrade.  So supporting previous versions of the browsers We need ton consistently improve five things of the web:</p>
<ul>
<li>Secure</li>
<li>Stable</li>
<li>Interoperable</li>
<li>Preformant</li>
<li>Powerful</li>
</ul>
<p>Security needs to be everyones concern.  Not just the browser vendors, developers should be concerned too.</p>
<p>But what do developers want:</p>
<ul>
<li>Works in x should work in x.1</li>
<li>Pages that work to web standards</li>
<li>Shouldn&#8217;t have to extend browser matrix</li>
</ul>
<p>Standards need to show what works in the wild, we need to work together. IE.Next will ship with an improved layout engine, also realise that people build the web differently today than in the past.</p>
<p>After Chris Wilson, it&#8217;s the Web Direction Reception, then the Sydney Twitter Underground Brigade Meetup.</p>
<p><span class="technoratitag">Technorati Tags: <a href="http://www.technorati.com/tags/wds07" rel="tag">wds07</a>, <a href="http://www.technorati.com/tags/conference" rel="tag">conference</a>, <a href="http://www.technorati.com/tags/sydney" rel="tag">sydney</a>,  <a href="http://www.technorati.com/tags/web+directions" rel="tag">web+directions</a></span></p>
<img src="http://manwithnoblog.com/5e94d05d/266bbf76/CCBot/1.0 (+http://www.commoncrawl.org/bot.html).gif" />]]></content:encoded>
			<wfw:commentRss>http://manwithnoblog.com/2007/09/27/web-directions-south-day-one-fluff-and-stuff/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS, not having it pixel perfect</title>
		<link>http://manwithnoblog.com/2007/09/25/css-not-having-it-pixel-perfect/</link>
		<comments>http://manwithnoblog.com/2007/09/25/css-not-having-it-pixel-perfect/#comments</comments>
		<pubDate>Tue, 25 Sep 2007 14:57:10 +0000</pubDate>
		<dc:creator>Gary Barber</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[wds07]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://manwithnoblog.com/2007/09/25/css-not-having-it-pixel-perfect/</guid>
		<description><![CDATA[
Day one workshops, Web Directions South, the fun begins after breakfast at Concrete, with Andy Clarke launching in the breaking the limitation for the browser and CSS.  Looking at the media rich presentations with the high end, advertising. movie and music industry, questioning why they can&#8217;t use semantic CSS based layout. 
Andy has suggested [...]]]></description>
			<content:encoded><![CDATA[<p class="featureimage"><a href="http://www.flickr.com/photos/cannedtuna/1437638355/" title="Photo Sharing"><img src="http://farm2.static.flickr.com/1173/1437638355_680024ea8f_m.jpg" width="240" height="160" alt="Concrete Coffee" /></a></p>
<p>Day one workshops, Web Directions South, the fun begins after breakfast at Concrete, with <a href="http://stuffandnonsense.co.uk" rel="met contact colleague">Andy Clarke</a> launching in the breaking the limitation for the browser and <acronym title="cascading style sheets">CSS</acronym>.  Looking at the media rich presentations with the high end, advertising. movie and music industry, questioning why they can&#8217;t use semantic CSS based layout. </p>
<p>Andy has suggested people need to look at using more of the existing draft CSS3 standard that are supported be the relevant browsers and use javascript to plug some of the holes, example multiple columns in Firefox. </p>
<p>Maybe we should be considering, should browsers see the same design, should it be pixel perfect on very browser. Considering the current crop of best browser first the design for them via using progressive enhancement. Why can&#8217;t there  be different version or standards of a site support. People except that hardware and electronics do different things. Just don&#8217;t add in more presentational markup and hacks to allow for IE6, just make it more plain and just base design functionality. </p>
<p>Content should come first, then the presentation, consider not using the grid at this stage, consider the content semantics, markup the content as raw content.  This will increase the options on the design.  Leveraging the content markup into the presentation not the other way round. Make the markup minimum. Nothing new here.</p>
<p>Andy has transformed into John Allsopp as he gave a brief overview of <a href="http://microformats.org" rel="tag">microformats</a>. I&#8217;m not going to go on about microformats, you all know I  have a passion about them. It was interesting to see how many people didn&#8217;t know about microformats. </p>
<p>Looking at modern CSS selectors for example: child selectors, adjacent selectors, attribute selectors, pseudo-eleemnt selectors. To avoid the use of addition presentation markup.  Using attribute selectors for diagnostic CSS debugging. Note attribute selection are weak on specificity issues. Use of substring attribute selectors for comparison and styling of start, end, contains in string.  Pseudo elements application of style specific information.  Of course these can be all be combined into a CSS tag soup.</p>
<p>Amusing that we started with positioning elements, then we used float to position elements, but we can go back to positioning now with the present browsers.  Use of negative margins in image replacement with transparent images to pull the images outside of the grid or box shape. </p>
<p>Andy dealt with relative position by explaining it as offset visual positioning, giving examples with negative positioning and negative margins to break the box.  He also looked at absolute verses relative positioning, which he has just explained really well to the audience. </p>
<p>Being the uber design geek Andy has to discuss typography and the simple ways to improve web typography, such as:.  </p>
<ul>
<li>Reset the browser defaults.</li>
<li>Compose to vertical rhythm.</li>
<li>Incremental leading.</li>
<li>Optical Greying of text.</li>
</ul>
<p>Final thing is if maybe the W3C won&#8217;t push the CSS3 development, then maybe it&#8217;s time for Designers to taking back CSS by using the CSS advanced features, trying them out, blogging about them and forcing the issue. Now this I can relate too.  More on this later in the week! </p>
<p><span class="technoratitag">Technorati Tags: <a href="http://www.technorati.com/tags/CSS" rel="tag">CSS</a>, <a href="http://www.technorati.com/tags/Microformats" rel="tag">Microformats</a>, <a href="http://www.technorati.com/tags/Andy+Clarke" rel="tag">Andy+Clarke</a>, <a href="http://www.technorati.com/tags/wds07" rel="tag">wds07</a>, <a href="http://www.technorati.com/tags/workshop" rel="tag">workshop</a>, <a href="http://www.technorati.com/tags/web+design" rel="tag">web+design</a></span></p>
<p><!-- technorati tags start -->
<p style="text-align:right;font-size:10px;">Technorati Tags: <a href="http://www.technorati.com/tag/Andy Clarke" rel="tag">Andy Clarke</a>, <a href="http://www.technorati.com/tag/css" rel="tag">css</a>, <a href="http://www.technorati.com/tag/Microformats" rel="tag">Microformats</a>, <a href="http://www.technorati.com/tag/microformats.org" rel="tag">microformats.org</a>, <a href="http://www.technorati.com/tag/wds07" rel="tag">wds07</a>, <a href="http://www.technorati.com/tag/web design" rel="tag">web design</a>, <a href="http://www.technorati.com/tag/workshop" rel="tag">workshop</a></p>
<p><!-- technorati tags end --></p>
<img src="http://manwithnoblog.com/5e94d05d/266bbf76/CCBot/1.0 (+http://www.commoncrawl.org/bot.html).gif" />]]></content:encoded>
			<wfw:commentRss>http://manwithnoblog.com/2007/09/25/css-not-having-it-pixel-perfect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Debugging Tools</title>
		<link>http://manwithnoblog.com/2007/08/05/css-debugging-tools/</link>
		<comments>http://manwithnoblog.com/2007/08/05/css-debugging-tools/#comments</comments>
		<pubDate>Sat, 04 Aug 2007 16:33:19 +0000</pubDate>
		<dc:creator>Gary Barber</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://manwithnoblog.com/2007/08/05/css-debugging-tools/</guid>
		<description><![CDATA[
Seems lately that we are now starting to get a good spread of CSS and JavaScript (DOM Scripting) debugging tools available. About time too, for too long we web designers have spent endless hours debugging inconsistent implementations of CSS over the various browsers. Time for us to take some of that &#8216;lost&#8217;  time back. [...]]]></description>
			<content:encoded><![CDATA[<p class="featureimage"><img src="http://manwithnoblog.com/wp-content/uploads/2007/08/xrayhead.jpg" alt="Xray Your Structure" /></p>
<p>Seems lately that we are now starting to get a good spread of <acronym title="Cascading Style Sheets">CSS</acronym> and JavaScript (<acronym title="Document Object Model">DOM</acronym> Scripting) debugging tools available. About time too, for too long we web designers have spent endless hours debugging inconsistent implementations of CSS over the various browsers. Time for us to take some of that &#8216;lost&#8217;  time back.  Now we all know about Joe Hewitt&#8217;s famous <a href="http://www.getfirebug.com" title="Firebug Firefox extension">FireBug</a> extension.  If you don&#8217;t then go get it, install it, and it will change the way you design. That wonderful extension aside, what else is out there in the market place:</p>
<ul>
<li>
<h3>XRay</h3>
<p>Just the other day <a href="http://westciv.typepad.com/dog_or_higher/" title="Dog or Higher" rel="met acquaintance colleague">John Allsopp</a> joined the crowd with his <a href="http://westciv.com/xray/" rel="tag">XRay bookmarklet</a>.  Now this is just a CSS only tool that allows you to XRay (hence the name) into a page and see the CSS that relates to an element.  Much like you can do in FireBug in FireFox, an extension I&#8217;m sure you all .   What sets the Xray bookmarklet asie is that it works with Safari 2 and 3 (for OSX), and the Mozilla based browsers (OSX and Windows).    The good thing about this tool is that it doesn&#8217;t take up as much screen real estate as FireBug does. But it doesn&#8217;t stop there, oh no.  John is planning versions for Opera, and Internet Explorer.  If this happens, this tool could be come an essential component of any web designers toolkit.  Still go check it out. Also remember it&#8217;s still in beta.</p>
<p><strong>Update:</strong> There is now a version for Internet Explorer, this has now become a primary debugging tool for IE.</li>
<li>
<h3>YSlow</h3>
<p>Then we have <a href="https://addons.mozilla.org/en-US/firefox/addon/5369" title="YSlow">YSlow</a> released by the team at Yahoo, yes this is a FireFox Extension. Okay it&#8217;s not all strictly CSS, but it is a handy enhancement on Firebug and provides a quick analysis of your web page&#8217;s performance and reports on possible speed bumps (or weak points) for the nominated page.  Now a word of warning using this.  Don&#8217;t leave it turned on all the time, only enable it for testing and then disable it&#8217;s reporting after you have finished using it.  It can be resource intensive depending on the web page.</li>
<li>
<h3>Dust-Me Selectors</h3>
<p>The people at <a href="http://www.sitepoint.com/" title="Sitepoint Books">SitePoint</a> have produced a nice extension <a href="http://www.sitepoint.com/dustmeselectors/" title="Dust-Me Selectors FireFox Extension">Dust-Me Selectors</a> that reports on the unused CSS selectors within the current page.  Now this is not ideal, as you may only use a selector on one page, and this maybe not the one being reported on.  But it is good for general design selectors. Especially if you build your pages with a base design featuring all the major content elements for debugging of the design, and ensuring it all works  and looks as you have envisioned.  This even works with IE conditional statements. There is a school of design that dictates that you isolate your base design CSS selectors from your specifics via separate CSS files, Dust-Me Selectors is ideal for that  situation.</li>
<li>
<h3>FireFox Web Developer</h3>
<p>The <a href="http://chrispederick.com/work/web-developer/" title="Web Developer ToolBar">Web Developer</a> FireFox extension developed by Chris Pederick is still a handy addition to any web designers toolkit.  Although it has been surpassed in  many areas by FireBug it is still useful for disabling elements of the display.  I would recommend you at least have it installed as it can ofter as alternative view point to FireBug.</li>
<li>
<h3>DOM Inspector</h3>
<p>Scott MacGregor&#8217;s <a href="https://addons.mozilla.org/en-US/firefox/addon/1806">DOM Inspector extension</a> for FireFox was very popular before the introduction of FireBug.  It is still in production, however I feel the usefulness within the web designers tool kit has wained.  This extension allows you to examine the DOM of a page, and travel up and down the DOM structure.</li>
<li>
<h3>Internet Explorer Developer Toolbar</h3>
<p>The <a href="http://www.microsoft.com/downloads/details.aspx?familyid=e59c3964-672d-4511-bb3e-2d5e1db91038&amp;displaylang=en" title="Internet Explorer Developer Toolbar">Internet Explorer Developer Toolbar</a> from Microsoft is really the only alternative, outside of the commercial products (see below), for CSS debugging in <acronym title="Internet Explorer">IE</acronym>. It&#8217;s not a even a shade on FireBug, and while a stable and useful product, it is about time Microsoft developed a better tool than this, as it is a bit dated.  Come on Microsoft time to revise and take a leaf out of the FireBug camp.</li>
<li>
<h3>Opera Web Developer</h3>
<p>There is a <a href="http://operawiki.info/WebDevToolbar" title="Web Developer Toolbar &amp; Menu for Opera">Web Developer Toolbar and Menu</a> for Opera as well. This offers very much a functionality similar to the FireFox Web Developer toolbar.</li>
<li>
<h3>FireBug Lite</h3>
<p>Not the most ideal solution but <a href="http://www.getfirebug.com/lite.html" title="FireBug Lite">FireBug Lite</a> does offer Firebug like functionality to IE, Safari and Opera. It requires the use of a code insertion into the page to be debugged and the calling of the FireBug interface modules from a JavaScript library on the server.  Not so much as on the fly like FireFox FireBug functionality, but it is an alternative.</li>
<li>
<h3>DeBugBar</h3>
<p>This is the solution to the poor support provided from the IE Developer ToolBar. The commercial product <a href="http://www.debugbar.com/" title="DeBugBar">DeBugBar</a>.  This is an Internet Explorer plug-in that gives you FireBug like control of the page. Navigation up and down the DOM, and changing of CSS selector attributes on the fly. A JavaScript console and inspector.   If you have problems debugging CSS in IE, and I know we all do!  Then take a look at this commercial plug-in, prices start from 59 €.</li>
</ul>
<p>That&#8217;s a bit of a wrap up. What other CSS debugging tools do you use, besides blood sweat and tears (mainly over IE 6)?</p>
<p><span class="technoratitag">Technorati Tags: <a href="http://www.technorati.com/tags/XRay+Bookmarklet" rel="tag">XRay+Bookmarklet</a>, <a href="http://www.technorati.com/tags/YSlow" rel="tag">YSlow</a>, <a href="http://www.technorati.com/tags/FireBug" rel="tag">FireBug</a>, <a href="http://www.technorati.com/tags/FireFox" rel="tag">FireFox</a>, <a href="http://www.technorati.com/tags/CSS" rel="tag">CSS</a>, <a href="http://www.technorati.com/tags/Web+Design" rel="tag">Web+Design</a>, <a href="http://www.technorati.com/tags/Dust-Me+Selectors" rel="tag">Dust-Me+Selectors</a>, <a href="http://www.technorati.com/tags/Web+Developer+ToolBar" rel="tag">Web+Developer+ToolBar</a>, <a href="http://www.technorati.com/tags/Opera" rel="tag">Opera</a>, <a href="http://www.technorati.com/tags/Debugging" rel="tag">Debugging</a>, <a href="http://www.technorati.com/tags/DOM+Inspector" rel="tag">DOM+Inspector</a>, <a href="http://www.technorati.com/tags/Internet+Explorer+Developer+Toolbar" rel="tag">Internet+Explorer+Developer+Toolbar</a>, <a href="http://www.technorati.com/tags/IE" rel="tag">IE</a>, <a href="http://www.technorati.com/tags/FireBug+Lite" rel="tag">FireBug+Lite</a>, <a href="http://www.technorati.com/tags/DeBugBar" rel="tag">DeBugBar</a></span></p>
<img src="http://manwithnoblog.com/5e94d05d/266bbf76/CCBot/1.0 (+http://www.commoncrawl.org/bot.html).gif" />]]></content:encoded>
			<wfw:commentRss>http://manwithnoblog.com/2007/08/05/css-debugging-tools/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
