Q1: Mobile-Phone Development Web page, interface adaptation issues.
A1:
<meta name= "viewport" content= "width=device-width,initial-scale=1.0, maximum-scale=1.0, User-scalable=no"/>
The height of the width-viewport width height-viewport
Initial-scale-Initial zoom ratio
Minimum-scale-Minimum scale to allow the user to zoom
Maximum-scale-Maximum scale to which the user is allowed to zoom
User-scalable-whether the user can manually scale
Q2:iphone Click on the page phone number string will automatically dial.
A2:
<meta name= "format-detection" content= "Telephone=no"/>
Mobile phone number is not displayed as a dial-up link
Q3: Introduce external pages.
A3:
Two methods of introduction
<%@ include file= ". /common/common.jsp "%>
Import the external code directly, compile with the current page code, the current file and the external file cannot declare the same variable at the same time.
<jsp:include page= ". /common/header.jsp "></jsp:include>
After compiling, the compiled HTML code is stitched into the compiled page of the current file.
This article is from the "Night" blog, be sure to keep this source http://icyore.blog.51cto.com/8486958/1727885
[Common] Mobile Web page development problem and solution arrangement