Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: You were right, I was wrong

  • Subject: Re: You were right, I was wrong
  • From: Roy Schestowitz <newsgroups@schestowitz.com>
  • Date: Sat, 30 Jul 2005 17:46:11 +0100
  • Newsgroups: alt.html
  • Organization: schestowitz.com / Manchester University
  • References: <dcg4d7$rp3$1@godfrey.mcc.ac.uk> <ig8ne1lflc2ik14j2684ihr9nidi6hoq8a@news.spartanicus.utvinternet.ie> <dcgaio$tdn$1@godfrey.mcc.ac.uk>
  • Reply-to: newsgroups@schestowitz.com
  • User-agent: KNode/0.7.2
Roy Schestowitz wrote:

> Spartanicus wrote:
> 
>> Roy Schestowitz <newsgroups@schestowitz.com> 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?
>> 
>> Proper CSS, no "hack":
>> 
>> @media print{
>> a:after{content: " <"attr(href)">"}
>> }
> 
> 
> That's excellent!
> 
> 
>> Does not work in IE due to poor CSS support.
> 
> 
> The most common browser on my site is Mozilla Firefox (based on ~35k
> visits/month). I already use some :before and :after elements. If they get
> neglected, nothing is lost
> 
> 
>>>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).
>> 
>> I'd rethink that strategy, it tends to make a mess of printed pages and
>> the functionality offered is most questionable.
> 
> 
> When I think about it, long links (of which I tend to have some) will
> cause problems indeed, much as they do in UseNet. I think I'll go ahead
> anyway... maybe down-scaling link text once it becomes an issue...


You were actually right. It affect more than you want it to...

http://www.schestowitz.com/Weblog/index-printer.php?p=384

All <a id/name> get an empty address bound to them. Titles become obscure
and the whole structure gets messed up. It was worth trying though...

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index