(no subject)
Sep. 13th, 2007 09:21 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
In CSS/HTML, how do I set it so that the link text for one area is white?
I feel like I should be able to put CSS directly in a
I feel like I should be able to put CSS directly in a
span
tag, except (a) I don't know how and (b) I don't know if I can get that to work for links.
(no subject)
Date: 2007-09-13 04:42 pm (UTC)#id a, #id a:hover, #id a:visited {
color:#ffffff;
}
(no subject)
Date: 2007-09-13 04:43 pm (UTC)...
(no subject)
Date: 2007-09-13 04:44 pm (UTC)<span id="id">...
(no subject)
Date: 2007-09-13 04:48 pm (UTC)But if you want to do it to more than one area, make it a class rather than an ID:
class a, .class a:hover, .class a:visited {
color:#ffffff;
}
<span class="class">
(no subject)
Date: 2007-09-13 06:14 pm (UTC)CSS in a span or a
Date: 2007-09-13 07:45 pm (UTC)