CSS更改未得到反映為什么?
我忘了{在CSS文件中關閉。這就是為什么所有代碼??都沒有顯示在頁面上的原因。
解決方法我正在我的網站上工作,每當我在CSS文件中添加一些新行時,它只是不想使用我所做的行。
但是,他們應該沒事。
.what-new { padding:2em 0 4em; text-align:center;}.what-new h3 { font-size:4em; font-weight:700; color:#000; margin:0.5em 0;
舉個例子。
CSS文件只在某一部分起作用,但是從某處開始只是停止使用我的文件。但是,它鏈接在< head >中。
<link rel='stylesheet' href='http://www.leifengta.com.cn/wenda/style/css_2-play.css' type='text/css'/>
我的HTML代碼如下(請注意,這只是代碼的一部分):
<div class='what-new'> <div class='container'><h3>What’s new</h3><div class='blog-news'> <div class='blog-news-grid'><div class='news-grid-left'> <h4>06</h4> <small>of january 2015</small> </div>
有人知道解決方案嗎?
相關文章:
1. node.js - mongodb查找子對象的名稱為某個值的對象的方法2. 關docker hub上有些鏡像的tag被標記““This image has vulnerabilities””3. html5 - datatables 加載不出來數據。4. Docker for Mac 創建的dnsmasq容器連不上/不工作的問題5. docker鏡像push報錯6. phpstudy8.1沒集成mysql-front7. javascript - 在 model里定義的 引用表模型時,model為undefined。8. javascript - QQ第三方登錄的問題9. 測試自動化html元素選擇器元素ID或DataAttribute [關閉]10. 利用IPMI遠程安裝centos報錯!

網公網安備