我在兩個不同的HTML頁面上使用相同的css文件來實現同樣的功能,在主頁上字體看起來粗體,但在另一頁上我看到一些字體大小變化。什麼導致應用於2個不同html文件的相同css字體樣式顯示不同?
這是它在瀏覽器中的顯示方式。
有一個在頁面的字體重量差。
CSS代碼
.nav a {
text-transform: uppercase;
text-decoration: none;
color: #0083b7;
text-transform: uppercase;
font-weight: 800;
border-bottom: 1px solid #0083b7;
font-size: 13px;
我不知道爲什麼會出現這種情況,請告訴我如何糾正它。
謝謝。
請閱讀[我的網站上不起作用的東西。我可以只粘貼一個鏈接嗎?](http://meta.stackexchange.com/questions/125997/something-on-my-web-site-doesnt-work-can-i-just-paste-a-link -to-IT)。當外部資源消失或者固定時,依賴於外部資源被理解的問題變得毫無用處。改爲創建一個[SSCCE](http://www.sscce.org/)。 – Quentin