html - How Do I Use CSS to Set the Color of An ALink? -


i’m trying use css set color of alink i’m not succeeding.

obviously i’m doing wrong after having screwed around seemingly trivial problem still have no clue i’m doing wrong.

here’s html /css …

<html>   <head>     <title>alink test</title>     <style type="text/css">        a.home:link{         text-decoration:none;         color:rgb (240, 180, 50);        }     </style>   </head>   <body>      <a class="home" href="http://www.subudnewyork.org/">home</a>   </body> </html> 

if explain me i’m doing wrong and, more importantly, how fix immensely appreciate …

simply have remove space rgb (240, 180, 50) rgb(240, 180, 50).

see demo.


Comments

Popular posts from this blog

Issues changing the value of an element in an array in matlab -

php - MySQLi binding parameters in a prepared statement doesn't work unless inserted after "WHERE" -

vb.net - Alternative to the T-SQL AS keyword -