
My latest blog post over at PC Pro is up. How to make your website more attractive with @font-face talks about using the CSS3 @font-face rule to embed fonts in your website.
It’s a reworked and simpler version of adventures with @font-face which I wrote back in December 2009.
As always, please feel free to let me know what you think.

Back in March I created a decimal to roman numerals converter in JavaScript. Well I’ve now ported it to PHP, which you can download to use freely.
Read the rest of this entry »

I have spent some time today converting the WordPress theme that I use for this blog, the excellent Grid Focus by Derek Punsulan, into HTML5. As of today, this blog is now HTML5 compliant.
It’s the first time I’ve delved into the world of WordPress theming, and I was pleasantly surprised how simple it is. Next step is to create my own from scratch, but I am looking forward to that.
Unfortunately one of the plugins that I use, SocioFluid generates invalid code, using deprecated elements and attributes. So this part doesn’t validate at all. I must look into an alternative. If you have any in mind, please let me know.
I’ve also converted my Decimal to Roman Numerals script into PHP for use in the copyright date in the footer.

My latest blog post over on PC Pro is up. The confusion surrounding HTML5 where I try to separate what HTML5 actually is from what the media and others seem to think it is.
As before, feel free to let me know what you think, either in this blog or over at PC Pro.

I’m a big fan of the web-based media viewer application Shadowbox and use it where necessary. However in a recent project I noticed that the contents of the window over which the shadowbox overlay opens, remains scrollable using the mouse wheel.
I wanted to prevent this behaviour and as usual I performed a Google search. I found many questions on it, but no answers. So I looked into it myself and managed to come up with something that works and is quite easy really.
Read the rest of this entry »

I’ve just written a simple post over at HTML5 Laboratory all about the HTML5 drag and drop API.
It’s by no means a complete explanation of the contents of this API, but it does give a sample of what can be done with this useful new feature that’s part of HTML5.