Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
HTML Help - Why doesn't this work?
Topic Started: Dec 8 2008, 01:49 PM (359 Views)
icey dan
Member
 *   *  
I'm not sure why this doesn't work?
[This code should make the piece of text change to a certain colour when i hover my mouse over the link]


Here is what i put in CSS: (at the bottom)

Quote:
 

.test1 { color: #6D6D6D; }
.test1 a:hover { color: #FFFFFF; text-decoration: underline; }


Header & Body:

Quote:
 
<span class="test1">haha1 <a href="http://z8.invisionfree.com/IceyGames/">Clickhere</a>haha2</span>


Offline Profile Quote Post Goto Top
 
icey dan
Member
 *   *  
Please help !
Offline Profile Quote Post Goto Top
 
Tony
Member Avatar
If found, please report missing.

The above does work correctly. Your style sheet doesn't force the use of another colour by any chance, or the hover isn't set to white is it? Try a different colour and/or use !important in the css above, to help find the issue.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · zIFBoards - Skinning & Code Support · Next Topic »
Add Reply