Monday, 12 August 2013

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

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

I'm trying to use CSS to set the color of an ALink but I'm obviously not
succeeding.
Obviously I'm doing something wrong but after having screwed around with
this seemingly trivial problem I still have no clue what I'm doing wrong.
Here's the HTML /CSS …
<title>ALink Test</title>
<style type="text/css">
a.Home:link
{
text-decoration:none;
color:rgb (240, 180, 50);
}
</style>
<script>
</script>
</head>
<body>
<a class = "Home"
href = "http://www.subudnewyork.org/">
Home
</a>
</body>
If anyone could explain to me what I'm doing wrong and, more importantly,
how to fix it I would immensely appreciate it …
Thank you very much in advance for all your help … Simon

No comments:

Post a Comment