When I assign value to the htmleditor at runtime in codebegind as below
Editor1.Content =
"<table border='0' ><tr><td><img src='../../images/ALSK/AlskCover.jpg'></td><td> </td><td><p><h2 style='color:red' align='center'><B>48 HOUR SALE!</B></h3></p><br><p>Subscribe today for spectacular full-color photography of wildlife and scenery from a land beyond compare. You will receive features from award winning writers, articles about historical events that have shaped this great land, and expert guidance on hunting, fishing, traveling and surviving in the totally unique and unforgettable setting that is Alaska.</p><p><font color='red'><u>Money Back Guarantee</u></font><br>If for any reason, at any time, you wish to cancel your subscription you may do so and receive a full refund for all unmailed issues.</p></td></tr></table>"
it creates a border around the table and the content changes to
"<table style="border-top-color: black; border-left-color: black; border-top-width: 1px; border-left-width: 1px; border-top-style: solid; border-left-style: solid;"><tbody><tr><td style="border-right-color: black; border-bottom-color: black; border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><img src="../../images/ALSK/AlskCover.jpg"></td><td style="border-right-color: black; border-bottom-color: black; border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"> </td><td style="border-right-color: black; border-bottom-color: black; border-right-width: 1px; border-bottom-width: 1px; border-right-style: solid; border-bottom-style: solid;"><h2 align="center"><b>48 HOUR SALE!</b></h2><br><br>Subscribe today for spectacular full-color photography of wildlife and scenery from a land beyond compare. You will receive features from award winning writers, articles about historical events that have shaped this great land, and expert guidance on hunting, fishing, traveling and surviving in the totally unique and unforgettable setting that is Alaska.<br><font color="red"><u>Money Back Guarantee</u></font><br>If for any reason, at any time, you wish to cancel your subscription you may do so and receive a full refund for all unmailed issues.<br></td></tr></tbody></table>"