The A tag an rendered links

6 views
Skip to first unread message

Voltron

unread,
Sep 7, 2008, 1:58:20 PM9/7/08
to CSS-Boilerplate
I noticed that my links were getting rendered with some extra content,
I found the reason in "print.css" , here is the line:

/*a:link:after, a:visited:after { content: " (" attr(href) ") "; font-
size: 90%; }*/

I edited the line as this :

a:link:after, a:visited:after {font-size: 90%; }


my question is, what was the reason behind this? What is the right way
to handle this?


Thanks

Civ2boss

unread,
Sep 8, 2008, 9:54:35 AM9/8/08
to CSS-Boilerplate
Well given that this is derived from blueprint css I take it that it
was used ideas from an A List Apart article on print css styles. In
it, they talked about how hyperlinks is tricky because how would you
show what it leads to if you it's printed out? You could just take out
the style and pretend it's regular text, or you can do what that line
did: print out the href of the link so at least you know where the
link leads to.

Voltron

unread,
Sep 9, 2008, 4:42:09 AM9/9/08
to CSS-Boilerplate
Ahh, makes sense.

Thanks Civboss
Reply all
Reply to author
Forward
0 new messages