ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Other Software > Developer's Corner

Iconize Textlinks with CSS

(1/1)

KenR:
Here's a cool CSS trick to show icons next to each download link.

Iconize Textlinks with CSS
Where will this link take me?

Links are fun, but sometimes we don't know where they take us. With this little CSS technique a user can identify a link by it's icon. This whole thing was inspired by the "Showing Hyperlink Cues with CSS" article of Ask the CSS Guy.

The idea is pretty simple, if a link points to a .pdf file, we show the .pdf icon after the link.
Here are some more examples which i already implemented:

--- End quote ---

http://www.pooliestudios.com/projects/iconize/




from http://delicious.com/

Navigation

[0] Message Index

Go to full version