6:30pm I was napping on the study floor, I kid you not.  Bed probably would have been a more comfortable choice, however if I’d done that I would not have made my 7:30 squash game.  Setting an alarm is just way too complicated.

So now it’s 1:30am, and of course I’m awake.  I knew this would happen, ready to fall asleep on my feet in the afternoon, wide awake at night.  It’s part of being a techie I believe, but really, I don’t enjoy it overly much.

It was Australia Day on Monday.  A day of national pride, where we can all get together and celebrate our Australian-ness and what makes us and our Island/Continent so damn excellent.  In Western Australia this all comes to a head at 8pm when we have the fireworks over the river, and event watched by pretty much everyone in one for or another.

However over one thousand individuals thought rather than feel proud and stand tall it’d be a better idea to have a mass brawl while another group thought it’d be jolly great sporting fun (wot wot) to throw beer bottles at each other (as IronSite asked me, how does a fight involving throwing bottles start?).  So rather than national pride, I’m now filled with a deep sense of shame and embarrassment on the behalf of those involved, because I’m sure they don’t have the decency to have any such notions.

Lastly, the more I work on RPoL the more I get the feeling it needs a proper database administrator, a proper web developer, a proper coder and a proper graphic designer.  I don’t fit into any of those categories.

I’ve been working on a few things on the site of late, but this one has annoyed me the most.

While looking at changing to XHTML I discovered/realised that my document type at the start of the HTML was actually incomplete, currently saying;

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

When what I really need is

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

Though what I had before was valid, the lack of ‘dtd’ file puts most browsers into ‘quirks’ mode.  So I added it in, surely the full thing would be better, hopefully more uniform rendering across all browsers.

So I added it in.  Now every single table cell defaults to centre aligned, rather than left.  I blamed this on XHTML at first, but then I realised it did it with HTML when I specified the dtd.

So I can either go through and tell every table cell with no alignment that it’s now left, but there’s a lot of them, and apparently that’s not what you do any more, you use style sheets.

So I can set the default in the style sheet so the cells are left aligned, easy.  Except for the small fact that the style sheet takes precedence over the “align=’center'” and “align=’right'” I had to align the cells, so they’re all left aligned regardless.

I can, of course, make two special style sheet cases to align the text to the centre and right, and (having called these ‘centre’ and ‘right’) go through and change all instances of “align=’center'” and “align=’right'” to “class=’center'” and “class=’right'”, respectively.  However I cannot do a global search and replace because “align=’center'” and “align=’right'” occur in more than just table cells.

Anyone want a job of manual search and replace?

And did I mention that the nice nifty CSS command to hide the side scrollbar (unless it’s needed) no longer works when I specify the dtd?  I’m really beginning to question if it’s worth it.