Previous Message
Next Message

[css-d] Text-decoration in :after content

Sent by Moira Burke on 27 September 2002 06:06


I'd like to show the URLs after my links in the printed version of my
site.  While my links should be underlined, I don't want the URLs to be.
Additionally, I don't want URLs to show up after linked images.  Neither
seems to work properly (in Netscape 7); is it a browser bug or am I
missing something? 


Here's the page:
http://www.considereddesign.com/new/


Here's the code from my print.css:
(BTW, I only care about links in the main div, complicatingly named
"content.")

#content a:link:after {
	content: " (" attr(href) ") ";
	text-decoration: none;
}

a:link img:after { content: ""; }



Thanks,
Moira
Previous Message
Next Message

Message thread: