Home  >  Article  >  Web Front-end  >  Discuss compatibility issues_html/css_WEB-ITnose

Discuss compatibility issues_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:11:52946browse

As the title states, various browsers are incompatible. Will the interface be affected if the resolutions are different? My resolution is 1920*1080


Reply to discussion (solution)

The layout can use percentage, and the unit uses relative units instead of px.
If it is difficult to control
You can write several sets of css and js to determine the resolution and load different css to meet the needs.

If the design style of the website has been released, if you do not want to make a full-screen website, fix the width of the outermost layer. This has nothing to do with the resolution, but if the screen resolution is smaller than the width of the website, some parts will definitely be hidden

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