Recently, WAP2.0 found that the simpler the things, the more difficult it is! This is not the case. I found another problem today: After the page is uploaded to the server, the preview page cannot adapt to the mobile phone width, and the page size is always displayed! I can't see any small text!
I asked the company's technical staff and learned how to solve the problem with a simple MEAT statement:
Add the following meta tag to the head of the Web phone wap2.0 webpage. The page is displayed in the original size in the iPhone browser and cannot be scaled.
<Meta name = "viewport" content = "width = device-width, minimum-scale = 1.0, maximum-scale = 1.0; user-scalable = 0;"/>
Where:
Width-width of viewport height-height of viewport initial-scale-initial zoom ratio minimum-scale-minimum scale allowed by users maximum-scale-maximum scale allowed by users user-scalable-whether the user can manually zoom in and out, which has previously ignored the role of meat, only now can we find its strength, cainiao