2015-02-23 59 views
-1

我已经上传的屏幕在这里短, 我不知道,为什么Android浏览器歌厅不同的字体大小 纵向和横向模式portrait modeAndroid的Chrome浏览器是歌厅不同模式的字体大小在纵向和横向模式

$(document).ready(function(e) { 
 
    var x=$(".main").css("font-size"); 
 
\t alert(x) 
 
});
.main{ 
 
\t font-size:18px; 
 
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml"> 
 
<head> 
 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
 
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1"> 
 
<title>Untitled Document</title> 
 
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> 
 

 
</head> 
 

 

 
<body> 
 

 

 
<div class="main"> 
 
\t Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. 
 
</div> 
 
</body> 
 
</html>

 landscape mode

回答