954,597 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

HTML link at the end of the printed page

Hi,

I just wonder if this is possible. When i print a page from my localhost or web, the html link information is printed at the end of the page. How can disable it?

Thanks

veledrom
Master Poster
758 posts since Apr 2008
Reputation Points: 42
Solved Threads: 0
 

You'll need to add some style rule in your page:

<html>
<head>
<title>Test Page</title>
<style type="text/css">
<!--

@media print { 
/* Applies to all the links in the page */
a { display : none; }

/* or if you just need to disable specific link */
a#someLinkId { display : none; }
} 

@media screen { 
a { display : inline; }
}

-->
</style>
</head>
<body>
<a id="someLinkId" href="somepage.html">Link with specified ID</a>

<a href="somepage.html">Link without ID</a>
</body>
</html>
essential
Posting Shark
974 posts since Aug 2008
Reputation Points: 114
Solved Threads: 138
 

I think should be a bit more specific.

I mean, When i select "Print" from "File" menu from IE or Firefox, the printed paper has the link of the current printed page at the bottom of the A4 paper. I don't want it to be printed on paper.

Thanks

veledrom
Master Poster
758 posts since Apr 2008
Reputation Points: 42
Solved Threads: 0
 

This is a computer specific issue. To remove the tag in IE go to File - Page setup, the footer field should show something like: &u&b&d. Delete this and close window. Try printing and the footer with the pagelink should not be there.

JPByD
Newbie Poster
8 posts since Mar 2009
Reputation Points: 10
Solved Threads: 2
 

solved thanks

veledrom
Master Poster
758 posts since Apr 2008
Reputation Points: 42
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You