Tag Archives: CSS

CSS Trick: Turning a background image into a clickable link – Take 2

My previous solution to this was built on Phark’s “Accessible Image Replacement” technique. It works by pushing the text really far to the left (9,999 pixels) which makes sure it’s there for screen readers but hidden from users (unless someone … Continue reading

Posted in CSS | Tagged , | 20 Comments

CSS Trick: Turning a background image into a clickable link

There is an updated version of this which is better optimized, especially for mobile browsers. Please check out Turning a background image into a clickable link – Take 2 One of the things I most often get asked by people … Continue reading

Posted in CSS | Tagged , | 183 Comments