[uf-discuss] Contextual link information using microformats
S.D.Price
S.D.Price at open.ac.uk
Fri Nov 17 01:25:04 PST 2006
Hi - does anyone know of a microformat for presenting contextual link
information?
I want to provide information on document formats like PDF in a standard
way which is useful for everyone (e.g. link PDF, 500KB). How can I use
that extra span to repurpose the link using microformats?
Here is my code:
#link {
background-image : url(pdf.gif);
background-position : left;
background-repeat : no-repeat;
padding-left:20px;
}
a#link {
text-decoration:none;
color:#666666;
font-size:0.8em;
}
a#link span {
text-decoration:underline;
color:blue;
font-size:1.2em;
}
<a href="#" id="link"><span>Document</span> (PDF, 2 pages, 145KB)</a>
Thanks
Steven
More information about the microformats-discuss
mailing list