The page will automatically adjust the screen size of the mobile phone.

Source: Internet
Author: User
The page can adapt to the screen size of the mobile phone. the picture in it cannot be edited by wealsh at 2014-03-2717: 53: 53 html & nbsp; & lt; meta & nbsp; nameviewport & nbsp; contentwidthdevice-width. the minim page can be adaptive to the screen size of the mobile phone. images in the page cannot be

This post was last edited by wealsh at 17:53:53



Html already added


The content is read from the database, and the entire page and text can be adaptive, but the images in it won't be adaptive. what can I do?
------ Solution --------------------
Set the percentage width of the image.
------ Solution --------------------
You can change it with js.
------ Solution --------------------
You can add a style to adapt to it.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.