HTML5 Viewport Meta Tag

https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/UsingtheViewport/UsingtheViewport.html

https://dev.opera.com/articles/an-introduction-to-meta-viewport-and-viewport/

http://developer.blackberry.com/playbook/html5/documentation/viewport.html

https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag?redirectlocale=en-US&redirectslug=Mobile%2FViewport_meta_tag

https://msdn.microsoft.com/en-us/library/windows/desktop/bb152361(v=vs.85).aspx

 http://htmlref.com/

<meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no">

<style type="text/css">
.textfield_ {
	border: 0px;/**/
	font-size: 1.5em;
	200px;
	height: 30px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	font-weight: bold;
	background-repeat: no-repeat;
	background-position: center;
	color: #42261A;
	font-family: Arial, Helvetica, sans-serif;
}
.abc{ 100%;align:right;valign:top;padding-left:50%;}
/* 设置了浏览器宽度不大于 2160px 时 abc 显示1200px宽度 */  
@media screen and (max- 2160px) { 
.abc {padding-left:800px;} 

} 
/* 设置了浏览器宽度不大于 1080px 时 abc  */ 
@media screen and (max- 1081px) { 
.abc {padding-left:450px;} 
} 
/* 设置了浏览器宽度不大于720px时 abc  */ 
@media screen and (max- 768Px) { 
.abc {padding-left:330px;} 
} 
/* 设置了浏览器宽度不大于720px时 abc  */ 
@media screen and (max- 720px) { 
.abc {padding-left:300px;} 

} 
/* 设置了浏览器宽度不大于500px时 abc  */ 
@media screen and (max- 640px) { 
.abc {padding-left:250px;} 
.textfield_{font-size: 1.1em;150px;	height: 18Px;}
} 
/* 设置了浏览器宽度不大于500px时 abc  */ 
@media screen and (max- 414px) { 
.abc {padding-left:160px;} 
.textfield_{font-size: 1.0em;150px;	height: 18Px;}
} 
/* 设置了浏览器宽度不大于500px时 abc  */ 
@media screen and (max- 320px) { 
.abc {padding-left:120px;} 
.textfield_{font-size: 0.9em;150px;	height: 18Px;}
} 
</style>

</head>
<body topmargin="0" leftmargin="0" rightmargin="0" bgcolor="#ffffff" marginheight="0" marginwidth="0">
<div align="center"><img width="100%" src="images/top.png" border="0"></div>
<div style="float:left;position:absolute;align:center;z-index:9;padding-top:11%;">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
	    <tr>
	      <td class="abc">
	      	<input class="textfield_" name="textfield" type="text" id="textfield" value="10330" height="14"  />
	      </td>
	    </tr>
	    <tr height="8px;">
	    	<td colspan="2"></td>
	    </tr>
	    <tr >
	      <td class="abc">
	      	<input class="textfield_" name="textfield2" type="text" id="textfield2" value="210000055878781" height="14"  />
	      </td>
	    </tr>
	   
		</table>
	</div>
<div style="align:center;float:left;z-index:-1;" ><img width="100%" src="images/mid.png" border="0">
	
	
</div>
<div align="center"><img width="100%" src="images/buttom.png" border="0"></div>

  

原文地址:https://www.cnblogs.com/geovindu/p/4954440.html