On Wed, 2003-06-18 at 07:14, Angelo Zanetti wrote:
> Hi guys sorry for the off topic post.
>
> i am not getting any success with Css @ the moment.
>
> What I need is basically a class in my CSS file that defines everything about A
> links.
>
> I have this class but it aint working (i know its wrong):
>
> .sideMenu {
>
> hover {color:white};
> visited {color: black};
> visited:hover {color:white};
> a:text-decoration : none;
>
> }
>
> should this be:
>
> .sideMenu{
>
> a-hover color:white;
>
I'm not exactly sure what your tying to do, your example it too poor to
accurately interpret but....
To define styles for the 'a' element with a class identifier of
'sideMenu':
a.sideMenu:link,a.sideMenu:active,a.sideMenu:visited {
color: #000000;
text-decoration: none;
}
a.sideMenu:hover { color: #ffffff; }
http://www.w3.org/TR/REC-CSS2/selector.html#link-pseudo-classes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php