<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Why style not applied to SAS Job HTML output? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Why-style-not-applied-to-SAS-Job-HTML-output/m-p/962997#M375242</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS VIYA LTS 2023.03&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have created a SAS Job to display the results of a qry using a proc report, but the styles used are never applied to the&amp;nbsp; HTML Output.&amp;nbsp; I have tried various combinations of styles with either html (or html5), but the output is different than presented in the documentation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your help.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code is below.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;filename f_htm filesrvc parenturi="&amp;amp;SYS_JES_JOB_URI"&amp;nbsp;name='_webout.htm';&lt;/P&gt;
&lt;P&gt;ods html file=f_htm style=festival;&amp;nbsp; &amp;nbsp; /*ods html5 file=f_htm style=highcontrast*/&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc report data=SAS_QREF.SALES nowindows split='~' spanrows&lt;BR /&gt;style(report)={font_size=9pt }&lt;BR /&gt;style(header)={just=center font_weight=bold font_size=9pt backgrondcolor=lightblue}&lt;BR /&gt;style(column)={font_size=9pt protectspecialchars=on};&lt;BR /&gt;column COMPANY CONTACT ADDRESS;&lt;BR /&gt;define COMPANY /order style(column)=[vjust=m just=l];&lt;BR /&gt;define CONTACT /display;&lt;BR /&gt;define ADDRESS /display;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods html close;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/*ods html5 close;*/&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;smm662002&lt;/P&gt;</description>
    <pubDate>Mon, 31 Mar 2025 11:16:51 GMT</pubDate>
    <dc:creator>smm662002</dc:creator>
    <dc:date>2025-03-31T11:16:51Z</dc:date>
    <item>
      <title>Why style not applied to SAS Job HTML output?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-style-not-applied-to-SAS-Job-HTML-output/m-p/962997#M375242</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS VIYA LTS 2023.03&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have created a SAS Job to display the results of a qry using a proc report, but the styles used are never applied to the&amp;nbsp; HTML Output.&amp;nbsp; I have tried various combinations of styles with either html (or html5), but the output is different than presented in the documentation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your help.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code is below.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;filename f_htm filesrvc parenturi="&amp;amp;SYS_JES_JOB_URI"&amp;nbsp;name='_webout.htm';&lt;/P&gt;
&lt;P&gt;ods html file=f_htm style=festival;&amp;nbsp; &amp;nbsp; /*ods html5 file=f_htm style=highcontrast*/&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc report data=SAS_QREF.SALES nowindows split='~' spanrows&lt;BR /&gt;style(report)={font_size=9pt }&lt;BR /&gt;style(header)={just=center font_weight=bold font_size=9pt backgrondcolor=lightblue}&lt;BR /&gt;style(column)={font_size=9pt protectspecialchars=on};&lt;BR /&gt;column COMPANY CONTACT ADDRESS;&lt;BR /&gt;define COMPANY /order style(column)=[vjust=m just=l];&lt;BR /&gt;define CONTACT /display;&lt;BR /&gt;define ADDRESS /display;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods html close;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/*ods html5 close;*/&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;smm662002&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 11:16:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-style-not-applied-to-SAS-Job-HTML-output/m-p/962997#M375242</guid>
      <dc:creator>smm662002</dc:creator>
      <dc:date>2025-03-31T11:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: Why style not applied to SAS Job HTML output?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-style-not-applied-to-SAS-Job-HTML-output/m-p/963387#M375334</link>
      <description>&lt;P&gt;You need to provide an example we can reproduce, and explain where your expectations are not met.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2025 09:46:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-style-not-applied-to-SAS-Job-HTML-output/m-p/963387#M375334</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2025-04-04T09:46:12Z</dc:date>
    </item>
  </channel>
</rss>

