Conditional Comments

You’ve built a site and it looks great on Firefox, Safari, Opera etc but after taking a look at it using Internet Explorer, your heart sinks as you see your wonderful website messed up beyond belief!
I always use Firefox during the development process to check how my website looks as it renders web pages the [...]

Textarea Character Count

If you have a simple message board on your site or perhaps a form where users can submit a review, you might want to limit the amount of characters that the user enters into a textarea, presumably because you want to control the format of your page when the review is shown (you can’t have [...]

Stop Background Images Flickering On Hover State

How do I stop the flicker when people hover over my links’ background image?
A Typical Scenario
You have a logo/picture link that you want the background to change when the mouse hovers over it. Simple, you might think; using CSS, specify one background image for the ‘unhovered state’ and a separate background image for the ‘hover’ [...]

Image Replacement

Sometimes you want to use a font for your headings that isn’t available on other people’s computers so you use a fancy font image instead. But there’s a problem if you do this. People using screen readers/text browsers won’t be able to see the image and therefore the heading text.
Image replacement techniques have been around [...]