Mime-type Links
[edit] Mime-types
Each of these is the name of the class to make a link with a background image for that mime-type
For example
<a class="application-pdf" href="somthing.pdf">application-pdf</a>
See a listing of all current mime types here.
If a mime type is missing that you need, to add it to the collection we need a couple of things:
- The mime type name
- small image to use
All of the mime type images we have so far have come from:
- Tango Icons, under Creative Commons Attribution Share-Alike license
- Silk Icons, under Creative Commons Attribution 2.5 License
So please check these sites first.
If you can't find a image, feel free to look around elsewhere. But we need the image to be free of copyright issues.
[edit] IE 6 Rendering Bug
In IE 6 there is a bug: If the link with the mimetype background image is automatically wrapped to the next line it goes away.
The first example shows the problem. The second and third examples are ways to fix things.
The first fix is to manually add a <br /> tag. The second is to change the wording.




