Adding File Type Icons to Links Using CSS Atribute Selectors

This sentence is here because you can't view Flash movies.

You’ve probably seen websites use icons to distinguish what type of file links are pointing to. In this tutorial I will show you how to do this automatically using css attribute selectors. The cool thing about this method is that it works on IE7 and up and because it degrades gracefully, it doesn’t affect any browsers that do not support it.

0 comments


What do you think?

Are you human?