|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
CSS Linking
Hey, I want to have only some of the links on my page have a background repeated on hover, I know thi scan be done, but I'm not sure how... any body know?
|
|
#2
|
|||
|
|||
|
Message Moved
Thread moved from 'Tutorials' to 'Client Side Things' by honcho.
Reason: CSS is a client-side technology, this does not belong in Tutorials. |
|
#3
|
||||
|
||||
|
RE: CSS Linking
This is what CSS classes were made for.
If your CSS looks like this: Code:
a:hover { background-color: red; }
a.blue:hover { background-color: blue; }
Then links will have a red background when hovered over, unless the have class="blue", in which class, the background will be blue. Code:
<a href="#">This link will have a red background on hover</a> <a href="#" class="blue">This one will be blue</a> |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > CSS Linking |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|