| 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: |
| HTML Link Help | |
|---|---|
| Tweet Topic Started: Dec 3 2008, 03:00 PM (705 Views) | |
| icey dan | Dec 3 2008, 03:00 PM Post #1 |
|
Member
|
This is my test board: http://z8.invisionfree.com/IceyGames/index.php I'm trying to get a link so that when i put a colour on it, it will still change colour to show there is a link. (when you hover your mouse over it) I tried this code, but it makes ALL the links on the page go one colour, rather than just the text it's over This is the code i tried:
Please help! Edited by icey dan, Dec 3 2008, 03:14 PM.
|
![]() |
|
| icey dan | Dec 4 2008, 07:14 AM Post #2 |
|
Member
|
Anyone? |
![]() |
|
| Tony | Dec 4 2008, 03:55 PM Post #3 |
|
If found, please report missing.
![]()
|
I'm a little unsure of what you are explaining, but: Remove the code you posted from your wrappers, then navigate to your stylesheet. At the top of the stylesheet you will see: Edit the bold part to have a hover colour. |
![]() |
|
| icey dan | Dec 5 2008, 07:30 PM Post #4 |
|
Member
|
No i don't want ALL the text on my board to have a hover colour. I mean like this: If i use this code: <font color="#990000">TEST TEXT </font> If i apply a link to the words "TEST TEXT" when i hover my mouse over, it will NOT change colour. Do you know if it's possible to make it change colour, like when you hover your mouse over default text on the board? |
![]() |
|
| Tony | Dec 6 2008, 12:23 AM Post #5 |
|
If found, please report missing.
![]()
|
One way to do it (to allow lesser ie versions to work) will be to add the links into span tags, then define everything in your stylesheet. Add your text where ever you want it: Then add the following to your stylesheet: Feel free to change the class names. et is just an example. |
![]() |
|
| icey dan | Dec 6 2008, 08:09 AM Post #6 |
|
Member
|
I put this code at the bottom of my CSS:
and this under my board header:
But it still does not change colour when i hover my mouse over |
![]() |
|
| Tony | Dec 7 2008, 12:50 AM Post #7 |
|
If found, please report missing.
![]()
|
That's because you have gave the link text a colour with the third span tag. Follow my example and it will work. Stylesheet:
|
![]() |
|
| icey dan | Dec 7 2008, 09:53 AM Post #8 |
|
Member
|
Sorry but it still doesn't work ![]() Here is what i put in CSS: (at the bottom)
Header & Body:
|
![]() |
|
| Tony | Dec 10 2008, 08:50 AM Post #9 |
|
If found, please report missing.
![]()
|
See, also, your other topic on this issue. ![]() The html and css works for me. There may be a conflict at your end. |
![]() |
|
| Cory | Dec 10 2008, 05:03 PM Post #10 |
|
Member
|
Add those two strips of CSS above the </style> tag in your CSS; they're currently added below the JavaScript. Also add the following tag to the very bottom of your style sheet. The .test1 a:hover strip applies a hover color to the link within those span tags. In accordance to this post it appears you're wanting to add a hover color to the text alone and not the link, am I correct?
|
![]() |
|
| icey dan | Dec 11 2008, 09:09 AM Post #11 |
|
Member
|
It's getting so confusing. All i want is code, so that when i put my mouse over a piece of text which has a link, it changes colour. I want to be able to set that colour. I don't know how to make it clearer I tried what you said, it still does not work Please could someone help
|
![]() |
|
| Tony | Dec 11 2008, 11:57 AM Post #12 |
|
If found, please report missing.
![]()
|
I apoligise for the time taken to solve your issue. Take a look at the bottom of your style sheet for: Spoiler: click to toggle Then replace it with the following: Spoiler: click to toggle I hope that helps to clear things up.
|
![]() |
|
| icey dan | Dec 12 2008, 08:40 PM Post #13 |
|
Member
|
Wow it works!!!! Thank you so much my good friend ! |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · zIFBoards - Skinning & Code Support · Next Topic » |









4:29 AM Jul 11