Posted by Els on 07/30/05 18:05
Roy Schestowitz wrote:
> Is there a CSS-driven way of diplaying the link address near links (without
> the use of JavaScript)? Is there a CSS hack of some sort? I would like to
> embed full URL's near the links in a printable version of a page (and in a
> printed version links cannot be followed).
>
> Thanks very much in advance even if the answer is no... I am willing to use
> JS if there is no alternative.
Not sure if this is what you're after, but I'd just write the html
like this:
<a href="linkaddress">linktext<span> linkaddress</span></a>
and in the CSS for screen:
a span{display:none;}
in CSS for print:
a span{display:inline;}
--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Navigation:
[Reply to this message]
|