Home  >  Article  >  Web Front-end  >  How can we make the web page adapt to the full screen display of 1024*768 and 800*600 on mobile phones? _html/css_WEB-ITnose

How can we make the web page adapt to the full screen display of 1024*768 and 800*600 on mobile phones? _html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:14:081782browse

The width I made can be displayed in full screen (100% of the width setting), but the height is not controlled. My height setting of 100% seems to be useless! Been struggling for a day.


Reply to the discussion (solution)

The height can be controlled in the browser using js. If you wrap a layer of div outside, set You can try the absolute height of the div

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