<html>
<head>
<style type="text/css">
a{
color: #753C52;
font-weight:bold;
font-size:11px;
text-decoration:none;
border: solid 1px yellow;
}
.viewInBrowserLinkStyle {
color: #666666;
font-size: 20px;
line-height: 14px;
border: solid 1px red;
text-decoration:underlined;
}
</style>
</head>
<body>
<a href="http://www.w3schools.com" class="viewInBrowserLinkStyle ">
This is a link</a>
</body>
</html>
我可以覆蓋「text-decoration」以外的所有屬性!爲什麼這樣?我怎樣才能覆蓋在類定義的錨定標記中定義的文本裝飾?帶錨標記的CSS幫助
請指教!
西部最快的槍! – thirtydot 2011-02-08 22:00:51