The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

HTML code for highlighting text?

Go down

HTML code for highlighting text? Empty HTML code for highlighting text?

Post by Brad38 January 22nd 2009, 8:43 am

Can someone tell me the HTML code to input so that when a word is hovered over, the text will underline?

Thanks very much as always. Smile
Brad38
Brad38
Forumember

Male Posts : 667
Reputation : 32
Language : english

http://pigeonchat.forumakers.com/

Back to top Go down

HTML code for highlighting text? Empty Re: HTML code for highlighting text?

Post by Guest January 22nd 2009, 2:36 pm

A word or a link.
avatar
Guest
Guest


Back to top Go down

HTML code for highlighting text? Empty Re: HTML code for highlighting text?

Post by Brad38 January 22nd 2009, 2:44 pm

Hi Kilsek....it would be to highlight by underling a link when you put your mouse over it that I need. Smile
Brad38
Brad38
Forumember

Male Posts : 667
Reputation : 32
Language : english

http://pigeonchat.forumakers.com/

Back to top Go down

HTML code for highlighting text? Empty Re: HTML code for highlighting text?

Post by Guest January 22nd 2009, 2:49 pm

Here ya go.....

Code:
Place this in your css

a:hover{
color:#fff;<<--THIS PART CHANGE TO THE COLOR YOUR WANT TO SHOW WHEN YOU HOVER
background:transparent;
text-decoration:underline;
}

avatar
Guest
Guest


Back to top Go down

HTML code for highlighting text? Empty Re: HTML code for highlighting text?

Post by Brad38 January 22nd 2009, 2:56 pm

Hi Kilsek,

Sorry for the confusion and I probably didn't ask my question very clearly. What I've done was put some links in the "Welcome" message box of my forum. I added them through the HTML editor that is in there to do so. Now I don't want all my links in my forum to underline when the mouse is hovered over them, only these ones.

Is it possible to enter the code into the HTML editor only for this or is there no other choice but for all links to underline?
Brad38
Brad38
Forumember

Male Posts : 667
Reputation : 32
Language : english

http://pigeonchat.forumakers.com/

Back to top Go down

HTML code for highlighting text? Empty Re: HTML code for highlighting text?

Post by Guest January 22nd 2009, 2:57 pm

Oh ok I'll get back to you unless someone else gets here first.
avatar
Guest
Guest


Back to top Go down

HTML code for highlighting text? Empty Re: HTML code for highlighting text?

Post by Guest January 22nd 2009, 3:05 pm

Code:
<a href="http://help.forumotion.com"onmouseover="this.style.textDecoration='underline'"onmouseout="this.style.textDecoration='none'">forumotion</a>

gives you

<a href="https://help.forumotion.com"onmouseover="this.style.textDecoration='underline'"onmouseout="this.style.textDecoration='none'">forumotion</a>
avatar
Guest
Guest


Back to top Go down

HTML code for highlighting text? Empty Re: HTML code for highlighting text?

Post by Brad38 January 22nd 2009, 3:43 pm

Hi Kilsek,

I'll give that a whirl....I think I get it, my code in there is pretty jumbled up right now with lots of things so I'm gonna have to add those codes VERY carefully so not to mess anything up! loul I will get back to you and let you know my results. Smile


Thanks very much for this help Very Happy:)
Brad38
Brad38
Forumember

Male Posts : 667
Reputation : 32
Language : english

http://pigeonchat.forumakers.com/

Back to top Go down

HTML code for highlighting text? Empty Re: HTML code for highlighting text?

Post by Guest January 22nd 2009, 4:02 pm

glad to help
avatar
Guest
Guest


Back to top Go down

HTML code for highlighting text? Empty Re: HTML code for highlighting text?

Post by Brad38 January 22nd 2009, 4:12 pm

Hi Kilsek,

Ok, it wouldn't work for me and I think I know why but not HOW to fix, Embarassed These links are hyper links not just straight links. Here is an example code just like mine that I need to integrate with what you gave me.

<a href="http://hotmail.com"><font color="Red">See this topic</font></a>
Brad38
Brad38
Forumember

Male Posts : 667
Reputation : 32
Language : english

http://pigeonchat.forumakers.com/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum