第一咱
<?xml version="1.0" encoding="UTF-8"?>
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%Response.charset = "utf-8"%>
<%
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma","no-cache"
Response.Expires = 0
%>
<%'Response.ContentType = "application/xhtml+xml"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>用手機找養殖信息就上養殖商務網</title>
<meta http-equiv="Cache-Control" content="no-cache"/>
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=240; initial-scale=1.4; minimum-scale=1.0; maximum-scale=2.0"/>
</head>
第二種
<?xml version="1.0" encoding="utf-8"?>
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%Response.charset = "utf-8"%>
<%
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma","no-cache"
Response.Expires = 0
%>
<%Response.ContentType = "application/xhtml+xml"%>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>用手機找養殖信息就上養殖商務網</title>
<meta http-equiv="Cache-Control" content="no-cache"/>
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
<meta name="viewport" content="width=240; initial-scale=1.4; minimum-scale=1.0; maximum-scale=2.0"/>
</head>
1.第一種 用qq手機瀏覽器會被分頁,但手機上字體好看
2.第二種方式,用qq瀏覽器不會變形,但字體偏小