Possible Duplicate:
Changing Underline color
It’s possible to change only line color which is under text?
I would like to see something like red letters with a blue line below it, but I can’t find out how to get this done.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
(for fellow googlers, copied from duplicate question) This answer is outdated since text-decoration-color is now supported by most modern browsers.
You can do this via the following CSS rule as an example:
text-decoration-color:greenIf this rule isn’t supported by an older browser, you can use the following solution:
Setting your word with a border-bottom: