Link Color change and KEEP the underline? how do i do it? :(

  • 2
  • Question
  • Updated 8 years ago
  • Answered
Hey everyone... I have a Link that i wanted to change the color on and i searched and found out How to change the color... in doing so, somehow i removed the underline. I need the underline back.
here is the HTML i used to change the link color:

Apricot Seed

thanks for the help
Photo of neopacket

neopacket

  • 9 Posts
  • 0 Reply Likes
  • sad

Posted 8 years ago

  • 2
Photo of UK Duke

UK Duke, Champion

  • 3321 Posts
  • 213 Reply Likes
Hi neopacket,

the forum broke your code, remember when adding code to the forum its best to wrap the code like this <!-- CODE GOES HERE -->

<!--

i presume you used something like this

<a style="color: #FF0000"

what you need to do is add text-decoration: none to the style of the link. If your using css add it to the style sheet or if your using normal html add it something like this

<a style="color: #FF0000; text-decoration: none;"

-->

If you like re add the code here (wrapped in these <!-- -->) and i will edit it for you.

Lee.
Photo of Boomer

Boomer, Champion

  • 2055 Posts
  • 84 Reply Likes
Ahem! ... or this one Lee ;-) http://forsite.synthasite.com/encoder...
Photo of UK Duke

UK Duke, Champion

  • 3321 Posts
  • 213 Reply Likes
sorry Boomer, i forgot about that essential forum tool :)

@neopacket - instead of wrapping code in those things just make it useable at the link boomer leaves above.
Photo of Boomer

Boomer, Champion

  • 2055 Posts
  • 84 Reply Likes
How is the php and sql going Lee ??
Photo of neopacket

neopacket

  • 9 Posts
  • 0 Reply Likes
<!-- this is what i used...

<p style="text-align: center; color: rgb(255, 102, 102);"><a style="text-decoration: none; color: rgb(255, 102, 102);" href="apricot-list.php"><font size="5">Apricot Seed</font></a></p>

Still not sure what i need to change to get the underline back
-->

BTW this is what the encoder spit out

<p style="text-align: center; color: rgb(255, 102, 102);"><a style="text-decoration: none; color: rgb(255, 102, 102);" href="apricot-list.php"><font size="5">Apricot Seed</font></a></p>
Photo of neopacket

neopacket

  • 9 Posts
  • 0 Reply Likes
oh now i see how it works... lol
and BTW here is a link to the page if you are interested in what the link is
http://www.thegiftofgabriel.com/ingre...
it is the Apricot Seed text in red
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
It seems that you have been able to get this figured out. Well done :)
Photo of neopacket

neopacket

  • 9 Posts
  • 0 Reply Likes
Ummm... no there is still a problem...
Photo of KombatKitty101

KombatKitty101

  • 31 Posts
  • 0 Reply Likes
just delete the link and post it again and change the color
OR
...wait, you changed it to no underline, tell me exactly how you did it.
anywho, or highlight it and click underline, if it doesn't work, do the first one.

if nether of those work, delete the text box and redo it.
if that doesn't work, delete the page and restart the page again.

PS. that link doesn't work
PSS. im http://utikans.yolasite.com/
Photo of neopacket

neopacket

  • 9 Posts
  • 0 Reply Likes
thanks...