Muffinresearch Labs by Stuart Colville

Leaving standards at the door? | Comments (5)

Posted in Web Standards on 6th May 2005, 12:08 am by Stuart

When I started my current job, I guessed that I would have to leave my own thoughts on standards at the door, as the majority of work was being done using html 4 loose, with table layouts, part external/part inline styles and inline javascript (uggghhh!).

4-5 months later and thanks to the whole webdev team pulling together we are beginning to turn the corner into a new era of cleaner, standards based code across the board

So how has this change come about? Well all of us that were already standards aware through our own noodling have spread the word; we have advocated xhtml 1.0 transitional to be the recommended minimum doctype from now on. Common included code was converted to validate as XHTML strict, so that we could now write sites as XHTML rather than HTML 4. Using inline styles was deemed bad practice - except for occasional circumstances like, “you are here” style overrides. In addition javascript ahould implemented in an unobtrusive manner, so that if a user has javascript turned off it won’t be detrimental to their experience of the site.

We also attempt to keep CSS hacks to an absolute minimum. Should laziness creep in it’s tempting to fix rendering differences between browsers with hacks straight away without checking for other reasons why these differences manifest themselves. Should IE 7 fix some of the known bugs but remain susceptible to some of the IE targetted CSS hacks then alot of pages will end-up adrift.

The next stage in the journey is to ensure that all server-side code outputs standards based code, otherwise it will be shame when all the hard work is ruined by a badly written server-side app; a common problem with Content Management Systems.

Overall these changes have come easier than I expected and I am happy to be able to code to my own standards.

Post Tools

Comments: Add yours

1. On April 16th, 2005 at 11:47 pm willow said:

Please consider allowing password protection for specific entries or the whole blog itself. It would be so handy!

2. On May 7th, 2005 at 4:11 am Erin said:

I really like your website. I like how its simple and streamlined and easy to follow.

3. On May 7th, 2005 at 1:25 pm Stuart Colville said:

Thanks for your comments, I was looking to make the redesign clean, simple and not overcomplicated.

4. On May 8th, 2005 at 7:08 pm The Complimenting Commenter said:

I think it’s great that things are improving at work. I hope that they continue to make it
better. The blog looks great.

5. On May 10th, 2005 at 10:57 am Timbo said:

I work with Stu and agree with his views on standards at work.

The majority of problems arise from the fact that several members of the team don’t persue web design and development outside of the office. This results in them only ever using the coding styles and methods they’ve either been taught at college or university, or that they’ve learnt from a book.

As web geeks, those that do stuff outside of the office usually develop their skills and, through their own interest, start to learn about standards.

Since only three of us (out of six) are pushing web standards, it’s difficult to get the other developers to change as the desire is absent.

Basically, it’s difficult to get people to change their methods if they don’t want to - even if you can prove the new method is infinitely better…







XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>



Standalone mac battery charger|(0)

Got a spare mac battery? I’ve often wondered why up until now no-one’s produced a standalone charger so that you can charge batteries without having to plug them into the mac. Fortunately Fastmac.com have produced a standalone charger that allows you to do just that. and it’s compatible with iBooks, Powerbooks, macbooks and Macbook Pros. It’s also 110/200v. Exactly what I was looking for!

Django Admin Ominigraffle Stencil|(0)

Colleague Alex Lee has created a nice stencil for omingraffle with the Django Admin UI components, perfect for wireframing customised admin screens. For more details and to download the stencil see Alex’s Blog csensedesign.co.uk

Photos on Flickr

© Copyright 2004-08 Stuart Colville, all rights reserved. May contain traces of Muffin. Powered by WordPress. Hosting by 1&1 This page was baked in 0.732s.