Printing problem: The header text becomes a slash [High score, please advise]_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:02:50
Original
1147 people have browsed it

Now I encounter a BUG: in IE8, the table title (th) on the page displays normal text on the page, but after printing it becomes a slash. There is no problem with IE8 and above versions.



After debugging, I found that after removing the declared doctype, the header will print normally. Currently, doctype cannot be removed.
Have you ever encountered this kind of problem? Can you give me some clues? Thank you.


Reply to discussion (solution)

Always add the declaration to your HTML document so the browser knows the document type.


It should not be a doctype problem.

Yes, it should be written incorrectly somewhere, but I can’t find the reason, so I can only temporarily remove the doctype.

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