<style type="text/css" media="screen, print"> .printpreview p.Normal{ text-align:justify; font-family:Arial !important; font-size:14px !important; } .printpreview p.Normal font { font-size:14px !important; } .printpreview { padding-right:25px;color:#000; font-size:14px !important; background:url(../../Content/images/print-bg.jpg) repeat; } .print-logo{ background:url(../../Content/images/logo-printpage.jpg) no-repeat; text-indent:-9999px; height:40px; width:245px; float:left; display:block; position:absolute; top:31px; left:30px; } .user-name { float:right; font:bold 14px arial; position: absolute; right: 33px; top: 34px; } .clear { clear:both; } </style> </head> <body onload="JavaScript:window.print();" style="background:none;"> <div class="printpreview"> <div class="print-logo">logo</div> <div class="user-name">@ViewData["username"]</div> <div class="clear"></div> <div style="margin-top:80px;"> @Html.Raw(HttpUtility.HtmlDecode(Model.Ordinance1)) </div> </div> </body>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)