Christian Heilmann

You are currently browsing the archives for the General category.

Archive for the ‘General’ Category

Merry Christmas to the lot of you

Saturday, December 24th, 2005

Well, it is the 24th, and I am with my family celebrating Christmas. This year they managed to create the ultimate torture device: “We don’t give any big presents this year, so don’t bother getting some”. Of course everybody told me in secrecy about the massive presents they did buy for the others…

Happy fact: The first three chapters of the ten chapter book for Apress “Practical JavaScript for the Usable Web” are finished and it will be shipped in July. The other project I am involved in is scheduled a bit earlier and will feature one chapter on “Accessible JavaScript”.

Automatic AJAX translator tool

Monday, December 19th, 2005

Just stumbled upon this Translator tool using AJAX which translates text you enter in realtime into other languages. My, I don’t want to see the traffic stats of this one.

Neat though.

Wonderful examples of gobbledegook nominated by The Plain English Campaign

Wednesday, December 14th, 2005

Every year the Plain English Campaign nominates publications for being the worst and hardest to understand.

The examples of this year’s winners on the BBC site are a real sight to behold, my favourite being this recipe for involuntarily electrocuting yourself:

6. Poole Lighting Limited for a sheet of instructions – “3. The switched main live is generally a single black wire and this is connected to the brown wire(s) on the fitting. On a wall light this should be a single red wire. The neutral is generally two black wires and these are connected to the blue wire(s). On a wall light this should be a single black wire. The mains earth wire(s) must be connected to all green/yellow wire(s) or earth terminal on the fitting. When completed ensure that there are no bare or loose strands of wire exposed, and cover all exposed areas of terminal blocks with insulation tape.”

Funnily enough I fail to find anything on this publication on the PEC site itself, which is not a good example that you can be usable, accessible and pretty…

How to remove the ugly border around an image in a link

Wednesday, December 14th, 2005

Common issuesThis question pops up almost weekly on message boards, mailing lists and in chat sessions:

How can I remove the ugly border around an image when it is linked?

I am amazed that this is still a question that needs to be asked, but the trick to remember is that when you put an image inside a link, like:


products

Then the browser puts a border around the image in the colour of the link. Therefore, changing the link border setting will not have any effect:

a {border:none; }

Instead, you need to set the image border to “*none*”:

 a img {border:none; }

It might be a good idea to define this as a preset in the beginning of your style sheet, to avoid the need to repeat it over and over again.

Also notice that the setting is “border:none”, which tells the user agent that there should not be a border – if you use “border:0” you expect the User Agent to know how to display a border with a width of 0, which might not be possible.

I hope that this is going to be a post to show up high in google sooner or later, much like the ugly yellow form fields one.

[tags]webdevtrick[/tags]

CAPTCHA Alternatives for a commercial product?

Tuesday, December 13th, 2005

Right now I am working on a project that will be a paypal-esque financial application, and of course security is a big issue with this one.

We had a great meeting talking about security measures that could be added to the forms to ensure that only real users will be able to log-in.

I collected the ones I could think of based on the W3C whitepaper and own experiences and this is the list with pro and contra for each of them: (more…)