Hi Bryan,
Thank you for your update.
I have tried your code but I cannot reproduce your problem on my side.
Please tell me the version of your VS.NET and .NET Framework. I am using
VS.NET 2003. The followings are my testing steps:
1. Create a C# web application.
2. Add a user control - Footer to the project.
3. Add the following HTML code in the Footer.ascx file.
------------------------------------
<%@ Control Language="c#" AutoEventWireup="false"
Codebehind="Footer.ascx.cs" Inherits="TestStyle.Footer"
TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<table border='0' width='100%'>
<tr>
<td align="left" width="30%" style="COLOR: #787878; BACKGROUND-COLOR:
#000000">
<small>Copyright ?2003, BPG Consulting, Inc. </small>
</td>
<td align="center" width="40%">
<small><a href="www.bpgc.com/Feedback.aspx" style="COLOR: #00cccc;
BACKGROUND-COLOR: #000000">
Feedback</a></small>
</td>
<td align="right" width="30%" style="COLOR: #787878;BACKGROUND-COLOR:
#000000">
<small>
<%= Text %>
</small>
</td>
</tr>
</table>
------------------------------------
4. I do not see
the "style" attributes in the <td> elements are underlined as incorrect
If I have missed something, please feel free to let me know.
Best regards,
Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.