views:

173

answers:

3

For example,

<a href="../somepage/page.aspx?qs=asdf">Text Here</a>

will print out as...


Text Here(../somepage/page.aspx?qs=asdf)


In IE, it looks normal (doesn't print the url). Any ideas why this is acting in this fashion?

+1  A: 

The answer was in the css framework we are using (Blueprint). There was the below line in the style file:

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

Guess this might help others who use Blueprint.

Brett
A: 

There is also the semantic reason to print the url next to the link. Imagine you print the document without the url. You cannot be sure to completely understand the text as it is meant by the author.

It can be necessary for a quote to print the source as well. That is important i.e. for academic texts.

Indeed Bretts answer is correct.

Tammo
A: 

You can avoid this problem altogether on the screen by including the media attribute on the print style link as follows

<link href="../../Content/blueprint/print.css" rel="stylesheet" media="print" type="text/css" />
suhair