Hi:
This is the way that ODS PDF works. If you want to write a "pseudo-title", use either ODS PDF TEXT= (SAS 9.1.3) or ODS TEXT= (SAS 9.2):
[pre]
ods pdf .... startpage=no;
** proc report 1;
ods pdf text='Where are your customers using their HD cards? ';
ods pdf text= ' ';
** proc report 2;
ods pdf close;
[/pre]
If you are already using a custom style template (which it looks like you are), then you can modify the UserText style element to center justify and bold the text and change the font:
[pre]
style UserText from UserText/
font_face='Helvetica'
font_weight=bold
just=c;
[/pre]
You may have noticed that the HTMLSTYLE= attributes that you are using do not have an impact on your ODS PDF output. However, if you are running in SAS 9.2, you -can- use CSS style properties in a CSS file to impact your PDF report -- you might try the CSSSTYLE option in SAS 9.2 if you need to use CSS attributes to set table elements.
It looks to me like you want to simulate an "overline" above your summary with the HTMLSTYLE code -- HTMLSTYLE only works with ODS HTML or Markup family destinations that support the specification of CSS style properties, as documented here:
http://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/a002972093.htm (look for HTMLSTYLE in the list of style attributes)
You might investigate the text-decoration attribute with ODS PDF, instead. Starting in SAS 9.2, it is available and will overline and underline text with ODS PDF, as described on page 4 of this paper:
http://support.sas.com/resources/papers/sgf2008/odspdf.pdf
As an alternative, also in SAS 9.2, using bordertopstyle and bordertopcolor attributes worked for me as shown in the program below to simulate an overline above a summary -- I put the overline in cyan so it would stand out.
cynthia
[pre]
ods pdf file='c:\temp\overline.pdf' style=journal;
proc report data=sashelp.class nowd
style(summary)={bordertopstyle=solid bordertopcolor=cyan};
column name age height sex;
rbreak after / summarize;
run;
ods _all_ close;
[/pre]