November, 2007 archive

When to use display: none

If you’re interested in website accessibility best practices, you might have come across warnings against using display: none to hide content that you don’t want to appear on screen. The argument is that content hidden with display: none can’t be accessed by people using screen readers, and the recommended solution is to position the content offscreen instead using a large negative position (let’s call this the offset method). But this shouldn’t be a hard and fast rule for all situations. There are some situations for which using display: none will be acceptable.

More on When to use display: none

New article on Search-This


I’ve just written an article on a technique which can be used with column layouts which has been published on Search-This: Two Column Layout With A Twist.

I’ve been a subscriber to the site for a while (a lot of its contributors and readers also frequent Sitepoint) and a regular commenter, but this is my first published article. Search-This also publishes a range of articles dealing with the spectrum of web development topics, so it’s worth checking out.