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 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.

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 7th, 2005 at 4:11 am Erin said:

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

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>



GNU screen: open tab in current working directory|(1)

A nice trick for having screen open a new tab in the same directory as the one you’re currently in. To use it add it to your .screenrc

# Open new window in current dir.
bind c stuff "screen -X chdir \$PWD;screen^M"
bind ^c stuff "screen -X chdir \$PWD;screen^M"

Hat tip: mteckert on SuperUser.com

Ubuntu: add-apt-repository: command not found|(2)

When you’re using a minimal Ubuntu install if you find the ‘add-apt-repository’ command is missing (it’s useful for adding PPAs and other repositories), then simply run:

sudo apt-get install python-software-properties

Photos on Flickr

© Copyright 2004-12 Stuart Colville, all rights reserved. May contain traces of Muffin. Powered by WordPress. Hosting by Slicehost.com This page was baked in 0.505s.