how to remove the underline in this sentece

Hi, cna someone tell me how to remove the underline in this sentence? thank you

this word is getting underline somehwo in the code below "@khuyi"

CODE START

 <tr style='margin:0;padding:0;font-family:"Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif'>
                <td style='margin:0;padding:0;font-family:"Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif'>
                 
                  <p style='margin:0;padding:0;font-family:"Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;margin-bottom:10px;font-weight:normal;font-size:14px;line-height:1.6'><a href="https://twitter.com/khuyi" style='margin:0;padding:0;font-family:"Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;color:#ec4849'>@khuyi</a> "Americans seem to be obsessed with exercising, doing mental puzzles, consuming various juice and protein concoctions, sticking to strict diets, and popping vitamins and supplements, all in a valiant effort to cheat death and prolong life as long as possible. This has become so pervasive that it now defines a cultural type: what I call the American immortal.” full story at <a href="http://www.theatlantic.com/features/archive/2014/09/why-i-hope-to-die-at-75/379329/" style='margin:0;padding:0;font-family:"Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;color:#ec4849'>@theatlantic</a></p>

                </td>
              </tr>
finnstoneAsked:
Who is Participating?
 
ChrisCommented:
Sorry, typo. The added style property should be within the quotes.

<tr style='margin:0;padding:0;font-family:"Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif'>
	<td style='margin:0;padding:0;font-family:"Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif'>
                  
		<p style='margin:0;padding:0;font-family:"Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;margin-bottom:10px;font-weight:normal;font-size:14px;line-height:1.6'><a href="https://twitter.com/khuyi" style='margin:0;padding:0;font-family:"Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;color:#ec4849, text-decoration:none;'>@khuyi</a> "Americans seem to be obsessed with exercising, doing mental puzzles, consuming various juice and protein concoctions, sticking to strict diets, and popping vitamins and supplements, all in a valiant effort to cheat death and prolong life as long as possible. This has become so pervasive that it now defines a cultural type: what I call the American immortal.” full story at <a href="http://www.theatlantic.com/features/archive/2014/09/why-i-hope-to-die-at-75/379329/" style='margin:0;padding:0;font-family:"Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;color:#ec4849, text-decoration:none;'>@theatlantic</a></p>

	</td>
</tr>

Open in new window


The trailing semi-colon isn't technically required so you can remove if you like.
0
 
ChrisCommented:
The default style for hyperlinks includes an underline. You need to add text-decoration: none; to your style for the a element to remove this.

<tr style='margin:0;padding:0;font-family:"Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif'>
	<td style='margin:0;padding:0;font-family:"Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif'>
                  
		<p style='margin:0;padding:0;font-family:"Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;margin-bottom:10px;font-weight:normal;font-size:14px;line-height:1.6'><a href="https://twitter.com/khuyi" style='margin:0;padding:0;font-family:"Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;color:#ec4849', text-decoration:none;>@khuyi</a> "Americans seem to be obsessed with exercising, doing mental puzzles, consuming various juice and protein concoctions, sticking to strict diets, and popping vitamins and supplements, all in a valiant effort to cheat death and prolong life as long as possible. This has become so pervasive that it now defines a cultural type: what I call the American immortal.” full story at <a href="http://www.theatlantic.com/features/archive/2014/09/why-i-hope-to-die-at-75/379329/" style='margin:0;padding:0;font-family:"Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;color:#ec4849', text-decoration:none;>@theatlantic</a></p>

	</td>
</tr>

Open in new window

0
 
finnstoneAuthor Commented:
is that the right spot for the '  ...before it was the last character? also, now there is a ; to end that part of code before .@khuyi?
0
 
finnstoneAuthor Commented:
thanks!
0
 
ChrisCommented:
Sorry, just noticed another typo. Not sure what's wrong with me today, should be a semi-colon before the text-decoration property, not a comma.

<tr style='margin:0;padding:0;font-family:"Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif'>
	<td style='margin:0;padding:0;font-family:"Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif'>
                  
		<p style='margin:0;padding:0;font-family:"Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;margin-bottom:10px;font-weight:normal;font-size:14px;line-height:1.6'><a href="https://twitter.com/khuyi" style='margin:0;padding:0;font-family:"Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;color:#ec4849; text-decoration:none;'>@khuyi</a> "Americans seem to be obsessed with exercising, doing mental puzzles, consuming various juice and protein concoctions, sticking to strict diets, and popping vitamins and supplements, all in a valiant effort to cheat death and prolong life as long as possible. This has become so pervasive that it now defines a cultural type: what I call the American immortal.” full story at <a href="http://www.theatlantic.com/features/archive/2014/09/why-i-hope-to-die-at-75/379329/" style='margin:0;padding:0;font-family:"Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;color:#ec4849; text-decoration:none;'>@theatlantic</a></p>

	</td>
</tr>

Open in new window

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.