# Underline and text color

**URL:** <https://www.ruby-forum.com/t/underline-and-text-color/69945>\
**Category:** Rails\
**Created:** [September 25, 2006, 6:59pm UTC](https://www.ruby-forum.com/t/underline-and-text-color/69945 "2006-09-25T18:59:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![matteo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f9ae1b/32.png) [@matteo](https://www.ruby-forum.com/u/matteo)\
**Post date:** [September 25, 2006, 6:59pm UTC](https://www.ruby-forum.com/t/underline-and-text-color/69945/1 "2006-09-25T18:59:02Z")

</div>

Hi everyone,  
I’ve a little problem with “link\_to”.  
I’d like to change the text color inside the link: “My name is Matteo”  
I’d like to write “My name is” in red and “Matteo” in blue.  
And the whole written has to point “:controller=\>‘welcome’,  
:action=\>‘myself’”  
Is it possible without breaking the underline and with the same color of  
the underline (red)?  
What should I do?  
THANKS SO MUCH!  
Matte
