1
我正在處理一個包含大量列表和鏈接的頁面。我試圖對每個樣式進行稍微不同的樣式,但字體和顏色不斷被樣式a:-webkit-any-link用戶代理樣式表覆蓋。我不知道甚至從哪裏來。我已經嘗試使用類,ids和內聯樣式來設計我的div,但是它們都沒有覆蓋用戶代理樣式表。CSS被一個覆蓋:-webkit-any-link使用代理樣式表
<div id="dafoot">
<ul id="footList">
<li class="footTop">
<a href="index.html">Home</a>
</li>
<li class="footTop">
<a href="bikes.html">Bikes</a>
<ul class="footUnder">
<li class="footSubBottom"><a href="mBikes.php">Moutain</a></li>
<li class="footSubBottom"><a href="rBikes.php">Road</a></li>
<li class="footSubBottom"><a href="kBikes.php">Kids</a></li>
<li class="footSubBottom"><a href="sBikes.php">Specialty</a></li>
</ul>
</li>
<li class="footTop"><a href="activities.php">Activities</a>
<ul class="footUnder">
<li class="footSubBottom"><a href="seminars.html">Seminars</a></li>
<li class="footSubBottom"><a href="cff.html">Cycle for Fit.</a></li>
<li class="footSubBottom"><a href="choose.html">Choose your bike</a></li>
<li class="footSubBottom"><a href="rides.html">Rides</a></li>
</ul>
</li>
<li class="footTop"><a href="contact.html">Contact</a>
<ul class="footUnder">
<li class="footSubBottom"><a href="visit.html">Visit us</a></li>
<li class="footSubBottom"><a href="info.html">Contact Info</a></li>
</ul>
</li>
<li class="footTop"><a href="qa.html">Q & A</a>
<ul class="footUnder">
<li class="footSubBottom"><a href="faq.html">FAQ's</a></li>
<li class="footSubBottom"><a href="ask.php">Ask a Q</a></li>
</ul>
</li>
<li class="footTop"><a href="about.html">About</a>
<ul class="footUnder">
<li class="footSubBottom"><a href="history.html">History</a></li>
<li class="footSubBottom"><a href="staff.html">Staff</a></li>
<li class="footSubBottom"><a href="employ.html">Employment</a></li>
</ul>
</li>
</ul>
<a href="owner.php">Owner Portal</a>
</div>
CSS
/**/
/* Styling for the footer list */
/**/
#dafoot{
float: left;
margin-bottom: 10px;
margin-left: 10px;
margin-top: auto;
line-height: 15px;
width: 1077.5px;
margin-top: 10px;
position:relative;
color: white;
background-color: white;
}
#footlist{
font-size: 25px;
color: #ffbb00;
list-style: none;
}
a .footTop{
color: white;
font-family: Georgia;
}
評論這個請... – 2014-12-04 21:21:04
思考一下,除了這真的是答案,不是對我的問題的評論。 – user43043 2014-12-04 21:36:40