Can't get link to appear w/o underline, in specific color

Hello - you may recall helping me a couple days ago on this problem.

I've still having problems; I'm posting them as two separate questions. \

This is my 2nd problem: the URL in the last row of the table below must appear as Calibri 10pt, in gray, without the underline that usually displays for links.

I tried "text-decoration: none" in the "#sig UrlLine" Style declaration, but it had no effect.

When I put it in the "<a href" tag, it worked, but the color spec of gray in the "#sig UrlLine" is ignored.

What am I doing wrong?

Thanks (again)


<html>
<head>
<title></title>
<style type="text/css">
H1, H2, H3, H4 {font-family: "Arial"}
H1 {font-size: 16pt; font-weight: bold; text-decoration: underline;}
H2 {font-size: 12pt; font-weight: bold;}
H3 {font-size: 10pt; font-weight: normal; text-align: justify}
H4 {font-size: 8pt; font-weight: normal; font-style: italic;}
H5 {font-family: "Lucida Handwriting"}
H5 {font-size: 10pt; font-weight: bold;}
<!-- Start of new styles for new sign-off -->
#sig{width:40em;border:1px solid #ededed;font-size:.75em;font-family:Calibri;}
#sig ConsName{font-size:13pt;}
#sig ConsULine{font-size:13pt;color:#aaaaaa;}
#sig ConsTitle{font-size:10pt;font-style:italic;color:#aaaaaa;}
#sig LdsLine{font-size:10pt;}
#sig PhnLine{font-size:10pt;}
#sig UrlLine{font-size:10pt;color:#aaaaaa;}
<!-- End of new styles for new sign-off -->
</style>
</head>
<body>
<h3>
Dear [RecipName_SalLastName],
<p>
We appreciate your business and your attention to this notice.  An extension for your plan’s return has been filed extending the return deadline 2½ months.
<p>
Although the extension has been filed, we are not able to move forward with your plan’s return without receiving the information indicated on the attached PDF[PluralS].  Please provide this information as soon as possible.
<p>
It is important that you contact me, at [ConsultantDLine] or via email at <a href="mailto:[ConsultantEMail]">[ConsultantEMail]</a> if you cannot provide the pending information.  We understand your time is valuable and appreciate your attention to this request.
<p>
Cordially,
</H3>
<!-- Start of new table for new sign-off -->
<table id="sig" border="0" cellpadding="1" cellspacing="1">
      <tr><td rowspan=5 align="center"><a href="http://www.ldsco.com/"><img src="T:\RPA\Logos\NewLDSCOsm.png" alt="nf"></td></tr>
      <tr><td><ConsName>[ConsultantName] <ConsULine>|</ConsULine> </ConsName><ConsTitle>[ConsultantTitle]</ConsTitle></td></tr>
      <tr><td><LdsLine>Loren D. Stark Company</LdsLine></td></tr>
      <tr><td><PhnLine>D [ConsultantDLine] | T 281.498.5777 | F 281.879.1204</PhnLine></td></tr>
      <tr><td><UrlLine><a href="http://www.ldsco.com" STYLE="text-decoration: none">LDSCO.com</a></UrlLine></td></tr>
</table>
<!-- End of new table for new sign-off -->
<H3>
[CcNames]
<p>
[EntityNamesDisp]
</h3>
</body>
</html>
mlagrangeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

hieloCommented:
<a href="http://www.ldsco.com" STYLE="text-decoration: none; color:#cccccc;">LDSCO.com</a>

Also, "<UrlLine>" is not an HTML tag.  Instead of "made-up" html tags, create <span> elements with a class attribute that use these names:
<span class="UrlLine"><a href="...">....</a></span>

Then use:
#sig .UrlLine a{font-size:10pt;color:#aaaaaa;}
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mlagrangeAuthor Commented:
Perfect (even in Outlook)!
Thanks again, Hielo!
0
hieloCommented:
See complete example below:
<html>
<head>
<title></title>
<style type="text/css">
H1, H2, H3, H4 {font-family: "Arial"}
H1 {font-size: 16pt; font-weight: bold; text-decoration: underline;}
H2 {font-size: 12pt; font-weight: bold;}
H3 {font-size: 10pt; font-weight: normal; text-align: justify}
H4 {font-size: 8pt; font-weight: normal; font-style: italic;}
H5 {font-family: "Lucida Handwriting"}
H5 {font-size: 10pt; font-weight: bold;}
<!-- Start of new styles for new sign-off --> 
#sig{width:40em;border:1px solid #ededed;font-size:.75em;font-family:Calibri;}
#sig .ConsName{font-size:13pt;}
#sig .ConsULine{font-size:13pt;color:#aaaaaa;}
#sig .ConsTitle{font-size:10pt;font-style:italic;color:#aaaaaa;}
#sig .LdsLine{font-size:10pt;}
#sig .PhnLine{font-size:10pt;}
#sig .UrlLine a{font-size:10pt;color:#aaaaaa;}
<!-- End of new styles for new sign-off --> 
</style>
</head>
<body>
<h3>
Dear [RecipName_SalLastName],
<p>
We appreciate your business and your attention to this notice.  An extension for your plan’s return has been filed extending the return deadline 2½ months.
<p>
Although the extension has been filed, we are not able to move forward with your plan’s return without receiving the information indicated on the attached PDF[PluralS].  Please provide this information as soon as possible.
<p>
It is important that you contact me, at [ConsultantDLine] or via email at <a href="mailto:[ConsultantEMail]">[ConsultantEMail]</a> if you cannot provide the pending information.  We understand your time is valuable and appreciate your attention to this request.
<p>
Cordially,
</H3>
<!-- Start of new table for new sign-off --> 
<table id="sig" border="0" cellpadding="1" cellspacing="1">
      <tr><td rowspan="5" align="center"><a href="http://www.ldsco.com/"><img src="T:\RPA\Logos\NewLDSCOsm.png" alt="nf"></td></tr>
      <tr><td><span class="ConsName">[ConsultantName] <span class="ConsULine">|</span> </span><span class="ConsTitle">[ConsultantTitle]</span></td></tr>
      <tr><td><span class="LdsLine">Loren D. Stark Company</span></td></tr>
      <tr><td><span class="PhnLine">D [ConsultantDLine] | T 281.498.5777 | F 281.879.1204</span></td></tr>
      <tr><td><span class="UrlLine"><a href="http://www.ldsco.com" STYLE="text-decoration: none;">LDSCO.com</a></span></td></tr>
</table>
<!-- End of new table for new sign-off --> 
<H3>
[CcNames]
<p>
[EntityNamesDisp]
</h3>
</body>
</html>

Open in new window


You are welcome.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.