我拉我的頭髮在這一個。我在頁面上使用FlexSlider,效果很好;但是在運行時,Safari(Mac版本,不是ios)會使頁面上的字體變得更薄。 Firefox和Chrome都沒有問題。這裏是我的基本代碼,以防萬一:Safari瀏覽器渲染頁面字體更薄與jQuery滑塊頁
<html>
<head>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="css/flexslider.css" />
<title>Title</title>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="js/flexslide.js"></script>
</head>
<body>
<div id="header"><span class="slogan">Slogan At The Top</span></div>
<h1>View These Slides</h1>
<div class="gallery">
<div class="flexslider-container">
<div class="flexslider">
<ul class="slides">
<li><div class="slider">Element 1</div></li>
<li><div class="slider">Element 2</div></li>
</ul>
</div>
</div>
</div>
</body>
</html>
我實際上假設在這種情況下的代碼不會幫助。我覺得它更像是一個Safari和FlexSlider中的問題。我認爲我已經將問題縮小到了FlexSlider對translate3d的使用範圍,但它並沒有出現。
有沒有其他人經歷Safari改變基於jQuery元素的字體厚度,甚至像Flash視頻(在這種情況下不使用)?另外,我沒有使用任何嵌入式字體,fyi。
無法重現此。你可以提供一個屏幕截圖,比較在Safari和其他瀏覽器中不存在這個問題的渲染情況嗎? – Jonas 2012-01-29 21:31:26