Click to See Complete Forum and Search --> : CSS for determining font


Dark Dragon
12-08-2003, 05:04 PM
What do I put in a CSS code if I want to use a particular font for text on part of my page but use different font for my rollover links?

For example I have this:

<style type="text/css">
p {color: #9932CC}
</style>


But I wish to assign a particular font to just that but assign a different font to my CSS Rollover code..so how do I do that.

My sincerest apologies if it sounds simplistic. Thanks!

pyro
12-08-2003, 05:09 PM
<style type="text/css">
p {
color: #9932CC;
background: transparent;
}
a {
font-family: verdana, arial, helvetica, sans-serif;
}
a:hover {
font-family: georgia, "times new roman", times, serif;
}
</style>

Dark Dragon
12-08-2003, 05:16 PM
Okay..thanks Pyro.

pyro
12-08-2003, 05:29 PM
You bet. :)