...

View Full Version : two different a:{} styles



andrew1234
11-25-2002, 08:15 AM
Hi
I have two links
•car
•house


How do i make two differant styles
----------------------------------------------------------
so car link has this css

a:{
font-size:9px;
}
a:hover{
font-weight:bold;
}
-----------------------------------------------------------
and house link has this css

a:{
font-size:19px;
}
a:hover{
color:#990099;
}

thank

andrew

Wichetael
11-25-2002, 10:03 AM
You'll have to class the links like so:

...

<style type="text/css">
a.style1 {
//style 1
}
a.style1:hover {
//hover style 1
}
a.style2 {
//style 2
}
a.style2:hover {
//hover style 2
}
</style>

...

<a class="style1" ...>...</a>
<a class="style2" ...>...</a>

...



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum