Hi:
I'm confused and it depends.
Here's what I'm confused about: you say you want to control "the alignment of the tagset" and that you want to "right align everythign that falls within the tagset" -- I don't know what that means. The tagset template is simply building CSS Style properties and HTML tags -- that's all. So "everything that falls within the tagset" are the procedures or by groups or graphs that you have surrounded with your ODS TAGSETS.HTMLPANEL statements.
For example, if you look at the HTML file created with ODS TAGSETS.HTMLPANEL, you will see alignment information like this (in the CLASS= attribute, which points back to the alignment style properties at the end of the <STYLE> section):
[pre]
<tr>
<th class="r RowHeader" scope="row"> 1</th>
<td class="l Data">Alfred</td>
<td class="l Data">M</td>
<td class="r Data">14</td>
<td class="r Data">69.0</td>
<td class="r Data">112.5</td>
</tr>
[/pre]
where the class="r RowHeader" or class="l Data" are determined for every cell in the table. Would this be the alignment you want to change??? So that all the class="l Data" were changed to class="r Data"??? You can right-align individual cell values by using style= overrides in PROC REPORT, PROC PRINT and PROC TABULATE or by altering the style template that you are using for your code or by altering the tagset template (HTMLPANEL) that you are using for your code.
or, there is an overall alignment that is set for a whole table. Generally, this overall alignment is done with <DIV> tags, as shown below:
[pre]
<a name="IDX"></a>
<table class="SysTitleAndFooterContainer" width="100%" cellspacing="1" cellpadding="1" rules="none" frame="void" border="0" summary="Page Layout">
<tr>
<td class="c SystemTitle">The SAS System</td>
</tr>
</table><br>
<div align="center">
<table cellpadding="0">
<tr>
<td>
<div align="center">
[/pre]
Would you want the <div align="center"> to change to <div align="right"> -- in order to change the alignment of the whole table?? Or would you want the class="c SystemTitle" to change to class="r SystemTitle"???? You can change the justification of the SystemTitle in regular ODS HTML, by using the j= option on the title statement:
[pre]
title j=r "This is My Title";
[/pre]
If you want to change the <DIV> tag, then your only solution may be to edit the tagset template for ODS HTMLPANEL -- unless there's a sub-option that impacts what goes into the <DIV> tag. I believe that the System Option NOCENTER -- might work, but you want right-aligned and NOCENTER should end up left-aligning the output???
[pre]
options nocenter;
[/pre]
So, whether you can right-align "everything" depends on what you mean by "everything". What procedures are you using and what exactly do you mean by "right align everything"??
cynthia