我在我的網站上有一個鏈接部分,但它有一個下劃線,所以我試過text-decoration: none;
但無濟於事。有人可以幫我解決這個問題嗎?文字裝飾不影響超鏈接
代碼:
<div class="content2">
<div class="twitterfeed">
<h3>Twitter Feed</h3>
</div>
<div class="recent">
<h3 class="text3">Recent News<span class="slash"> / </span><span class="text4">Get updates from us!</span></h3>
</div>
<div class="readnews">
<a href="themes.goodlayers2.com/musicclub/blog-full-with-right-sidebar/"> <p class="readall"> Read All News </p></a>
</div>
</div>
<style type="text/css">
.content2 {
background: #191919;
padding-top: 10px;
padding-left: 25px;
padding-right: 20px;
}
.twitterfeed {
float: left;
padding-left: 140px;
color: white;
font-size: 30px;
font-family: Didot, Georgia, sans-serif;
}
.recent {
display: inline-block;
padding-left: 230px;
}
.readnews {
float: right;
color: white;
padding-right: 457px;
text-decoration: none;
}
.text3 {
color: white;
font-family: "Goudy Old Style", Optima, sans-serif;
font-size: 35px;
margin-bottom: 0;
}
.text4 {
font-size: 30px;
color: #6CB9D9;
}
.readall {
text-decoration: none;
color: white;
}
</style>