


A webpage is not full screen in the browser, but is full screen on the mobile phone_html/css_WEB-ITnose
How to make a web page not full screen in the browser but full screen on the mobile phone
< title>

Marriage and Family
Traffic accident- < ;img src="img/a4.png">
Medical disputes
Criminal Defense
Labor and Personnel
Corporate Affairs< ;br /> More
< /html>
Reply to discussion (solution)
Take a look at media query. It’s quite simple, but it’s troublesome. You can refer to the following:
@media only screen and (max-width: 959px) { .top-fix .menu-control {position: absolute; top: 13px; right: 18px; display: block; text-align: center; } .top-fix .menu-control a {display: block; border: none; padding: 0; background-color: transparent; cursor: pointer; width: 21px; height: 20px; color: rgba(0, 0, 0, 0); line-height: 200px; overflow: hidden; background-image: url(../images/menu_control.png); background-repeat: no-repeat; } .top-fix .menu-control-h a {background-image: url(../images/menu_control_h.png); } .header {display: none; position: absolute; top: 50px; left: 0; background: #333; padding-top: 12px; } .menu-menumain {margin: 0; } .menu-menumain .menumain-item {margin: 0; width: 100%; border-bottom: 1px solid #444; } .menu-menumain .menumain-item a {text-align: left; display: inline-block; margin-left: 20px; } .menumain-item .sub-indicator{display: none; } .sub-menu {display: block; position: static; overflow: hidden; background-color: #212121; padding-left: 48px; } .sub-menu .submenu-item {float: left; } .top-fix .container .top-fix-wrap {position: relative; margin: 0 auto; } .top-fix .header, .top-fix .container {width: 100%!important; }}@media only screen and (max-width: 959px) and (min-width: 630px) { .top-fix .container .top-fix-wrap {width: 650px!important; } .container, .list-wrap { width: 630px; } }@media only screen and (max-width: 629px) and (min-width: 479px) { .container, #homecontent {width: 385px; } .container .one-third.column, .container .one-third.column .post {width: 385px; } .one-third a img.attachment-thumbnail {margin-left: 0; }}@media only screen and (max-width: 479px) and (min-width: 385px) { .container, #homecontent {width: 100%; } .container .one-third.column, .container .one-third.column .post {width: 100%; } /*.one-third a img.attachment-thumbnail {height: 220px; width: 100%; margin-left: 0; }*/ .one-third .img-wrap { display: block; height: 220px; overflow: hidden;} .one-third a img.attachment-thumbnail {height: auto; width: 100%; margin-left: 0; }}@media only screen and (max-width: 384px) { .container, #homecontent {width: 100%; } .container .one-third.column, .container .one-third.column .post {margin-right: 0; width: 100%; } #homecontent .img-wrap {display: block; width: 100%; overflow: hidden; } .one-third a img.attachment-thumbnail {margin-left: 0; }}
You can refer to bootstrap. Website www.bootcss.com

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



The article discusses the HTML <progress> element, its purpose, styling, and differences from the <meter> element. The main focus is on using <progress> for task completion and <meter> for stati

The article discusses the HTML <datalist> element, which enhances forms by providing autocomplete suggestions, improving user experience and reducing errors.Character count: 159

Article discusses best practices for ensuring HTML5 cross-browser compatibility, focusing on feature detection, progressive enhancement, and testing methods.

The article discusses the HTML <meter> element, used for displaying scalar or fractional values within a range, and its common applications in web development. It differentiates <meter> from <progress> and ex

This article explains the HTML5 <time> element for semantic date/time representation. It emphasizes the importance of the datetime attribute for machine readability (ISO 8601 format) alongside human-readable text, boosting accessibilit

The article discusses using HTML5 form validation attributes like required, pattern, min, max, and length limits to validate user input directly in the browser.

The article discusses the viewport meta tag, essential for responsive web design on mobile devices. It explains how proper use ensures optimal content scaling and user interaction, while misuse can lead to design and accessibility issues.

The article discusses the <iframe> tag's purpose in embedding external content into webpages, its common uses, security risks, and alternatives like object tags and APIs.
