Grace:
This example from Tech Support shows how to make a similar change (they are changing the left margin):
http://support.sas.com/faq/033/FAQ03306.html
In addition, this example from Tech Support shows how to make the borderwidth=7 --
http://support.sas.com/faq/033/FAQ03304.html
you would follow this example with 3 changes for the bordercolor (plus your changes for the TOC):
1) make the parent styles.sasweb
2) make borderwidth=1
3) add bordercolor=black
If you're sensing a theme here, you're right. Tech Support has the most WONDERFUL FAQ for ODS and templates. My only other suggestion is that you use an explicit path statement to store your templates (first lines of code) as shown below.
If you are doing this with EG, though, you may need help from Tech Support to figure out the best place to store the permanent copy of the template or to modify the ODS PATH statement for your system (since EG sometimes uses an EGTEMP libref for templates...or it used to).
Another alternative is to explore the possibilities of making all your changes in a CSS file. Tech Support would have to help you here or somebody else would have to chime in, because I don't honestly know for sure if you would need to make the FAQ tagset change for the contents indent changes if you were going the CSS route in EG.
Good luck!
cynthia
[pre]
ods path perm.newtemp(update)
sashelp.tmplmst(read);
** may need to put EG template store in above statement;
** use FAQ code to change tagset HTML4, and call it;
** tagsets.leftjusttoc and then ;
proc template;
define style styles.test;
parent=styles.sasweb;
style contentfolder from contentfolder /
leftmargin=0;
style contents from contents /
leftmargin=0;
style contentitem from contentitem /
leftmargin=3;
style contentprocname from contentprocname /
bullet=none
leftmargin=0;
style bycontentfolder from bycontentfolder;
leftmargin=0;
style Table from output /
Borderwidth=1
bordercolor=black ;
end;
run;
ods tagsets.leftjusttoc path="C:\temp"(url=none)
file="New_bod.html"
contents="New_TOC.html"
style=styles.test ;
proc whatever data=whatever;
run;
ods tagsets.leftjusttoc close;
[/pre]