简单手机端头部设置 及css代码

<html>
 <head>
  <title>今日报表</title>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

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

<meta name="format-detection" content="telephone=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />


</head> <style> html, body, ul, li, ol, dl, dd, dt, p, h1, h2, h3, h4, h5, h6, form, fieldset, legend, img,td,th { margin: 0; padding: 0;} body { font-size: 1em; line-height:4em; } table{border-collapse:collapse;border-spacing:0; line-height:30px;} td,th{ text-align:center; font-weight:normal;font-size: 1em; } .form-table{text-align:center;line-height:30px; color:#333; width:100%} .form-table th{border:1px solid #ccc; background:#f0f0f0; } .form-table td{ border:1px solid #d6dde6;} .color-blue{ color:#1f82c5} .color-red{ color:#f00;} .gray{ color:#999; font-size:0.6em;} </style> <body> ...... </body> </html>

简单手机端头部设置及CSS

心怀梦想,勿忘初心
原文地址:https://www.cnblogs.com/qshting/p/5063310.html