CSS
[syntax="css"]
<!-- Source: Dynamic Drive CSS Library -->
<!-- URL: http://www.dynamicdrive.com/style/ -->
<style type="text/css">
.rssbutton{
background-color: #ff6600;
border: 1px #ff6600 outset;
padding: 0 2px;
color: white;
text-decoration: none;
font: bold 10px Verdana;
}
.rssbutton:visited, .rssbutton:hover, .rssbutton:active{
color: white;
}
.cssbutton{
background-color: #d1ec4c;
border: 2px #d1ec4c outset;
padding: 1px 4px;
color: black;
text-decoration: none;
font: bold 90% "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, sans-serif;
}
.cssbutton:visited{
color: black;
}
.cssbutton:hover{
border-style: inset;
background-color: #e3f48e;
padding: 2px 3px 0 5px; /*shift text 1px to the right and down*/
}
.cssbutton:active{
color: black;
}
</style>
[/syntax]
HTML
[syntax="html"]
<p>
<a href="http://www.dynamicdrive.com/export.php?type=new" class="rssbutton">RSS</a>
<a href="http://www.dynamicdrive.com/export.php?type=new" class="rssbutton">XML</a>
</p>
<p><a href="http://www.dynamicdrive.com" class="cssbutton">Dynamic Drive</a></p>
[/syntax]