Home > Web Front-end > HTML Tutorial > IE printing web page display hyperlink URL problem_html/css_WEB-ITnose

IE printing web page display hyperlink URL problem_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:58:41
Original
3091 people have browsed it

Many websites have the following rules in their stylesheet @media print rules:

a::after {content: " (" attr(href) ")";}
Copy after login
Copy after login
Copy after login

The purpose of this rule is to display the URL of the page hyperlink when printing.

But if you really don’t want to display this URL when printing, what should you do?


Reply to the discussion (solution)

a::after {content: " (" attr(href) ")";}
Copy after login
Copy after login
Copy after login

Wouldn’t it be enough to change it to this
a::after {}
Copy after login
Copy after login
Copy after login

a::after {}
Copy after login
Copy after login
Copy after login

a::after {content: " (" attr(href) ")";}
Copy after login
Copy after login
Copy after login

Just change it to this
a::after {}
Copy after login
Copy after login
Copy after login


I know this, but I want to print the web page , it’s not that I want to develop a web page.
What I want to ask is how I can simply override this rule when I use the browser to print the web page I am browsing.
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template