I need help changing the color of a link to something different from the default hyperlink color. Below is my code snippet:
<span class="button"><%= link_to "Create new scenario", :action => "create" %></span>
Here's my CSS section:
a:link {
color:rgb(50%, 15%, 5%);
text-decoration:none;
}
.button {
-moz-border-radius-bottomleft:6px;
-moz-border-radius-bottomright:6px;
-moz-border-radius-topleft:6px;
-moz-border-radius-topright:6px;
background-color:rgb(93%, 93%, 93%);
border:1px solid black;
color:black !important;
line-height:1.9;
margin:0 3px 3px 0;
padding:4px 8px 4px 3px;
text-decoration:none;
}
Despite my efforts, the hyperlink text continues to display in brown (rgb(50%, 15%, 5%)).