using span-tags for printing
February 3rd, 2006, 14:02
just a thought that went through my head when I was thinking about how links get printed out using a seperate CSS-file specifically for print-outs.
I’ve recently read about using span-tags instead of the abbr-tag to create tooltips when you hover with the mouse cursor over a link / image / something else. There was this suggestion to add the URL of an external link inside the span tag so it would show up in the tooltip - and you know ASAP: it’s an external link.
Basically this could work for printing, too - something like this (rough draft):
<a href=”http://somedomain.com”>Here we go <span class=”tooltip”>(url: http://somedomain.com)</span></a>
The span tag is not defined as tooltip inside of the Printing-CSS-code, so it’ll display like this:





