Stoppt die Vorratsdatenspeicherung! Jetzt klicken & handeln!Willst du auch bei der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien:

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:

Here we go (url: http://somedomain.com)

Usability, Codework | Comments Jump to the top of this page

Dear User:

Please note that this blog is not being updated anymore and only exists now for archival purposes.

Lieber Leser:

Dieses Weblog wird nicht mehr aktualisiert und existiert daher nur noch als Archiv.

Comments are closed.