Home  >  Article  >  Web Front-end  >  Page full screen problem_html/css_WEB-ITnose

Page full screen problem_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:50:331144browse

There is such an article in the library, but in practice, IE has white borders around it. The most important thing is that the Webkit kernel browser actually displays a blank page. The compatibility problem is too serious...
http: //wenku.baidu.com/view/6afdfd726edb6f1afe001f2a.html

How to modify the code in the article to make the page full screen, or there is a better way, thank you ~


Reply to discussion (solution)

It may be a problem with dw.
To remove white borders, you can use
html,body{margin:0;padding:0;border:0}
this css

For other browsers, it is best not to use Chinese file names. Use relative paths for images

There is no full-screen example in your link

Settings


                                                                                                                                                   >
The link to Baidu Library... How could there be no content...

It seems that everyone is too lazy to open the link... I'll post it! In addition to the white edges, there is another serious problem. The WebKit kernel displays nothing



It’s not easy to handle. Baidu’s compatibility under IE is like shit.
Personal suggestion.
1. Prompt the user to F11.
2. Process it into ligihtbox effect.

You can add a black background to the body to see where the problem is and whether it is caused by the background.

Statement:
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