Home > Web Front-end > HTML Tutorial > 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
Release: 2016-06-24 12:14:08
Original
1821 people have browsed it

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

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