Click to See Complete Forum and Search --> : A:link problems


domuk
10-10-2003, 06:26 AM
Hi all,
I am having problems with CSS within a framset.
This code below, apears to work in the the main frame but for reasons that i do not know, i can not get it working in the menu frame.

When you first go to it, the un visited text is blue and underlined. I want it to be grey and have no underline at all

I have attached the file in html format

Your help is very much apriaciated,

Dom..


<style type="text/css">

<!-

A:link {text-decoration:none; color="333333" }
A:visited {text-decoration:none; color: black }
A:hover {text-decoration:none; color: yellow }

-->

</style>

Charles
10-10-2003, 07:11 AM
<style type="text/css">

<!--

A:link {text-decoration:none; color:#333}
A:visited {text-decoration:none; color: #000}
A:hover {text-decoration:none; color: #ff0}

-->

</style>

And see http://www.w3.org/TR/REC-CSS2/syndata.html#color-units.

domuk
10-10-2003, 07:28 AM
Thanks Charles,

OK I messed up on the <!--
But WHY the "color:#333"?

Could i not use colour:#333333 ?

Thanks in advance..

Dom..

Charles
10-10-2003, 07:31 AM
And see http://www.w3.org/TR/REC-CSS2/syndata.html#color-units.

domuk
10-10-2003, 07:24 PM
Thanks again....:)

DaveSW
10-11-2003, 05:02 AM
You did use an = not a : in one of your color rows as well...

domuk
10-11-2003, 12:09 PM
thanks