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;
width: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{ width:100%;align:right;valign:top;padding-left:50%;}
/* 设置了浏览器宽度不大于 2160px 时 abc 显示1200px宽度 */
@media screen and (max-width: 2160px) {
.abc {padding-left:800px;} }
/* 设置了浏览器宽度不大于 1080px 时 abc */
@media screen and (max-width: 1081px) {
.abc {padding-left:450px;}
}
/* 设置了浏览器宽度不大于720px时 abc */
@media screen and (max-width: 768Px) {
.abc {padding-left:330px;}
}
/* 设置了浏览器宽度不大于720px时 abc */
@media screen and (max-width: 720px) {
.abc {padding-left:300px;} }
/* 设置了浏览器宽度不大于500px时 abc */
@media screen and (max-width: 640px) {
.abc {padding-left:250px;}
.textfield_{font-size: 1.1em;width:150px; height: 18Px;}
}
/* 设置了浏览器宽度不大于500px时 abc */
@media screen and (max-width: 414px) {
.abc {padding-left:160px;}
.textfield_{font-size: 1.0em;width:150px; height: 18Px;}
}
/* 设置了浏览器宽度不大于500px时 abc */
@media screen and (max-width: 320px) {
.abc {padding-left:120px;}
.textfield_{font-size: 0.9em;width: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="data: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="data:images/mid.png" border="0"> </div>
<div align="center"><img width="100%" src="data:images/buttom.png" border="0"></div>

  

HTML5 Viewport Meta Tag的更多相关文章

  1. viewport Meta Tag

    网页手机wap2.0网页的head里加入下面这条元标签,在iPhone的浏览器中页面将以原始大小显示,并不允许缩放. <meta name="viewport" conten ...

  2. Using the viewport meta tag to control layout on mobile browsers

    A typical mobile-optimized site contains something like the following: <meta name="viewport& ...

  3. 豆知识扩展:HTML<meta> tag

    豆知识: HTML<meta> tag Metadata 是关于数据的信息. The <meta> tag provides metadata关于网页.Metadat不会显示在 ...

  4. 移动前端头部标签(HTML5 head meta)

    移动前端开发中添加一些webkit专属的HTML5头部标签,帮助浏览器更好解析html代码,更好地将移动web前端页面表现出来.本文整理一些常用的meta标签. <!DOCTYPE html&g ...

  5. HTML5中meta属性大集合

    1.声明文档的字符编码 <meta charset='utf-8'> 2.声明文档的兼容模式 <meta http-equiv="X-UA-Compatible" ...

  6. [转] HTML5中meta属性的使用详解

    meta属性在HTML中占据了很重要的位置.如:针对搜索引擎的SEO,文档的字符编码,设置刷新缓存等.虽然一些网页可能没有使用meta,但是作为正规军,我们还是有必要了解一些meta的属性,并且能够熟 ...

  7. HTML meta标签总结,HTML5 head meta属性整理

    原文链接:http://caibaojian.com/mobile-meta.html <!DOCTYPE html> <!-- 使用 HTML5 doctype,不区分大小写 -- ...

  8. [转]手机web HTML头信息解释和viewport meta标签解释

    <meta charset="utf-8" /> <link rel="shortcut icon" href="favicon.i ...

  9. HTML5中meta属性

    meta属性在HTML中占据了很重要的位置.如:针对搜索引擎的SEO,文档的字符编码,设置刷新缓存等.虽然一些网页可能没有使用meta,但是作为正规军,我们还是有必要了解一些meta的属性,并且能够熟 ...

随机推荐

  1. 【网络编程】——windows socket 编程

    测试demo #include <winsock2.h> #include <stdio.h> #include <string.h> #include <s ...

  2. [GraphQL] Write a GraphQL Schema in JavaScript

    Writing out a GraphQL Schema in the common GraphQL Language can work for simple GraphQL Schemas, but ...

  3. POJ-1475-Pushing Boxes(BFS)

    Description Imagine you are standing inside a two-dimensional maze composed of square cells which ma ...

  4. Cubieboard2裸机开发之(四)定时器操作

    前言 在Cubieboard2裸机开发之(三)里用到了一个延时函数delay,它的延时时间是不精确的,因此为了能够精确延时,就需要定时器的配合.定时器可以精确延时的一个重要原因是它的计时时钟(或者说频 ...

  5. MAC自带的SVN进行升级

    1.下载高版本svn:http://www.wandisco.com/subversion/download 2.安装 3. #1.在.bash_profile添加export PATH=/opt/s ...

  6. php 类文件加载 Autoloader

    做习惯了编译语言,转到php 使用 php的面向对象开发时候遇见一个挺别扭的问题.在Php中引入对象 后 在调用过程中还需要将对象所在的php文件 require 到当前php文件 目前代码结构 in ...

  7. efwplus框架介绍

    此框架得到博客园大神@张善友的关注,建议我写一篇此框架的最新介绍,好在@dotNet跨平台公众号上推荐给大家,得到大神的指示当然激动,马不停蹄的赶出此文,供大家参考!   一.使用efwplus框架的 ...

  8. WCF多种调用方式兼容

    1.能被ajax get 2.能post 3.wcf正常调用 实现: [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompati ...

  9. 【Thinking in Java-CHAPTER 3】操作符

    优先级 赋值 对象在使用c=d,那么c和d都指向原本只有d指向的那个对象. 方法调用中的别名问题:当一个对象作为参数传递到一个函数中,函数改变了这个参数,则改变了传递进来的对象: 自增和自减 浮点型的 ...

  10. NHibernate 使用CreateSQLQuery进行查询

    涉及的表:Cake{Id ,CakeName } CakeSize{ CakeId,-为外键,对应Cake表的字段Id Size } (其中ISession session = NHibernateH ...