Link to home
Start Free TrialLog in
Avatar of finnstone
finnstone

asked on

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>
Avatar of Chris
Chris
Flag of United Kingdom of Great Britain and Northern Ireland image

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

Avatar of finnstone
finnstone

ASKER

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?
ASKER CERTIFIED SOLUTION
Avatar of Chris
Chris
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks!
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