รูปแบบการกำหนด CSS ให้กับลิงค์ โดยจะมีความอิสระต่อกัน เพียงแค่เปลี่ยนชื่อ “classname”
CSS
<style type="text/css">
a.classname:link {font-family: tahoma;
font-size: 12px;
color: #99CC00;
}
a.classname:visited {
font-family: tahoma;
font-size: 12px;
color: #99CC00;
}
a.classname:hover {
font-family: tahoma;
font-size: 12px;
color: #99999;
}
a.classname:active {
font-family: tahoma;
font-size: 12px;
color: #99CC00;
}
</style>
Example
<a href="#" class="classname">Link</a>
RSS Feed
Twitter
December 5th, 2007
admin | 3,026 views
Posted in
Tags: 
