hi
I need some help with css I'm only a beginner and can't figure out how you do links in classes.

I know that links are usually.
A:link {text-decoration: blah; color: #blah;}
A:visited {text-decoration: blah; color: #blah;}
etc..

but how do I make a class with them?

div.otherlinks {A:link {text-decoration: blah; color: #blah;},A:visited {text-decoration: blah; color: #blah;}}


hehe I know its not right cos it doesn't work, I've tried a few things but can't figure it out. Some help please.