Link i CSS
Hey.. lige en lille hurtig en!Min CSS-fil ser sådan ud:
a:link {
color: 0000FF;
font-weight: bold;
text-decoration: none;
}
a:visited {
color: 0000FF;
font-weight: bold;
text-decoration: none;
}
a:active {
color: 0000FF;
font-weight: bold;
text-decoration: none;
}
a:hover {
color: 3333FF;
font-weight: bold;
text-decoration: underline;
}
Hvad gør jeg for at navngive disse funktioner under ét navn, så jeg selv kan bestemme hvilke links der skal bruge disse via class="" eller id="" ?
/mr.t.man
