Hi friends I have used the below query to fix the headers of html page and the problem is im not getting fixed headers directly in a mail but while storing the html page in another location and using the link in a mail headers are fixed. Can u please suggest me the correct way to fix headers of html page in mail. QUERY PROC template; define style styles.test; parent=styles.default; style table from table / outputwidth=99% prehtml='<DIV style="overflow:auto; WIDTH:100%;HEIGHT:400px" id="data">' posthtml="</div>"; style header from header / htmlstyle='z-index:20; POSITION:relative; TOP: expression(document.getElementById("data").scrollTop-2)'; end; run; FILENAME myfile EMAIL TO= from="" subject="" type="text/html"; ods _all_ close; ods HTML close; ODS HTML BODY=myfile RS=NONE STYLE=styles.test; proc print data=sashelp.class noobs; id name age / style(header)={ htmlclass="rowheader header" htmlstyle="z-index:30"}; var _all_ / ; run; ods html close;
... View more