Hi
I am create one service,in that i add html table with data,that table got one header row and sub row,i am create table using following code.the code not full ,but i create table using System.Text.StringBuilder and pass sb to mail using " e_mail1.Body = sb.ToString"
e_mail1 is
Dim e_mail1 As New MailMessage()
Dim sb As System.Text.StringBuilder = New System.Text.StringBuilder()
Dim REmail As String = ""
sb.Append("<html xmlns='http://www.w3.org/1999/xhtml'>")
sb.Append("<head>")
sb.Append("<title>")
sb.Append("</title>")
sb.Append("</head>")
sb.Append("<body>")
sb.Append("<form id='form1' runat='server'>")
sb.Append("<table cellpadding='0' cellspacing='0' style='width: 100%; font-family: Segoe UI, Tahoma, Verdana;font-size: 14px;'>")
sb.Append("<tr>")
sb.Append("<td>")
sb.Append("<br/>")
if i give height 0.2 em,when open mail i browser it show small grey line bcz of td backgrod color(#CCCCCC),but same mail open in outlook it look very big height like 10px.
sb.Append(" <tr><td colspan='5' style ='height:0.2em;background-color: #CCCCCC;'> </td> </tr>")
So how to show very thin line browser as well as when view in outlook also,or is there any way add thin line in each row of table ?
Regards
Aravind