Print CSS: Insert link URL after <a> tag

liunx

Guest
I heard there was a way, using the :after psuedo-class, to insert the URL of a link tag after the tag in CSS. I ran into it here a while back, but can't find it.Like so?

a:hover:after {
content: ' ' attr(href);
}There's an old article on ALA about that.Thanks guys. I looked at ALA for a while and couldn't find it. I'll give it a whirl.are you talking about when u go to print the page? if so it is listed here:

<!-- m --><a class="postlink" href="http://www.alistapart.com/articles/goingtoprint/">http://www.alistapart.com/articles/goingtoprint/</a><!-- m -->

its in the middle under Printed Links. Hope this is what your looking for :DOriginally posted by pawky
are you talking about when u go to print the page? if so it is listed here:

<!-- m --><a class="postlink" href="http://www.alistapart.com/articles/goingtoprint/">http://www.alistapart.com/articles/goingtoprint/</a><!-- m -->

its in the middle under Printed Links. Hope this is what your looking for :D
Ah yes. That was it. Thanks.
 
Back
Top