Reputation: 733
I have a page I want to print that has a bunch of content with links.
Is there a way to style the links using css so the link titles look like normal text?
I want to have my link that normally looks like:
Google
look like normal text without a hyperlink:
Google
Upvotes: 0
Views: 1383
Reputation: 47667
you can define all the styles for links in your @print
css section
@media print {
a { text-decoration: none; color: #000 }
}
Upvotes: 0
Reputation: 75379
Normalize the links using a print media query and then print, e.g.
@media print {
* { background: transparent !important; color: #444 !important; text-shadow: none; }
a, a:visited { color: #000 !important; text-decoration: none; }
}
Upvotes: 1
Reputation: 10303
Add an other css file like this:
<LINK rel="stylesheet" type"text/css" href="print.css" media="print">
When you print it will call this css file, not the regular one for media="screen"
Upvotes: 3
Reputation: 114367
By "suppress" I assume you mean "style" since you can't click on links that are printed.
Use a print stylesheet and style the A tag to look like regular text.
Upvotes: 0