Archive for January, 2008

Joining CSS styles

Thursday, January 24th, 2008

Ok, here’s a request I just got, which has bugged me before.

If I want big red text, from classes big and red, I could do the following:

<style type="text/css">
 .red {
  color:red;
 }
 .big {
  font-size:200%;
 }
 </style>
<div class="red big">howdy</div>

No problem.

However, if I now want to underline text which is big and red, I can’t do it.
(more…)

Paris Half-Marathon

Sunday, January 13th, 2008

Warm up for the real event.  However, if training is ok from here, I might have a chance of finishing this one!  Maybe.

London Marathon

Sunday, January 13th, 2008

The London Marathon.  I’m a bit late to restart training, so I’ll have to just have a go and see how far I get!

The glories of JavaScript

Friday, January 11th, 2008

JavaScript is generally disparaged by everyone who doesn’t really understand it.  Dan’s done an awesome job of presenting its cool features in his presentation here, and he’s done it in a way that any hardcore programmer should be able to understand.  Well, at least most of it.

http://www.danwebb.net/2007/11/22/media-ajax

Hopefully this will help show the power, elegance and simplicity of JavaScript.

ChiRunning

Friday, January 11th, 2008

Just reading a book on running technique, “ChiRunning”:

“… the ChiRunning technique is backed by the laws of physics.  One scientist even told me, ’I wouldn’t do this if it didn’t work in terms of physics.  It makes perfect sense to me, as a scientist.’  When your body is out of sync with these laws, it becomes less efficient, requires more fuel, experiences greater fatigue, and is more susceptible to injury.”

Sad but true.  Breaking the laws of physics is a risky business.