<?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 Re: Style option not populating second table in HTML output in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Style-option-not-populating-second-table-in-HTML-output/m-p/494592#M21691</link>
    <description>I tried that but it seems that regardless of the tagset options the second table will not show any of the style options specified in the class or classlev statements.</description>
    <pubDate>Tue, 11 Sep 2018 18:13:54 GMT</pubDate>
    <dc:creator>martyvd</dc:creator>
    <dc:date>2018-09-11T18:13:54Z</dc:date>
    <item>
      <title>Style option not populating second table in HTML output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Style-option-not-populating-second-table-in-HTML-output/m-p/494532#M21683</link>
      <description>&lt;P&gt;I am having trouble with a background color not populating in the second table of my HTML output. Please see the code below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods tagsets.tableeditor file="&amp;amp;path\&amp;amp;&amp;amp;xst1.SASHELP..html"	
      options( 
               frozen_headers="yes"
               frozen_rowheaders="yes"
               banner_color_even="beige"
               banner_color_odd="white"
               header_bgcolor="teal"
			   header_fgcolor="white"
			   rowheader_bgcolor="lightblue"
               gridline_color="gray"
			   header_size="12"  
               rowheader_size="12" 
			   data_size="11" 
              );

PROC TABULATE NOSEPS MISSING FORMAT=comma7. FORMCHAR='              ' data=sashelp.cars;

CLASS make;
class type drivetrain / style={background=lightyellow};

/*Make Table*/

tables all*(n f=5.1*pctn&amp;lt;make all&amp;gt;) 
(type all)*(pctn&amp;lt;type all&amp;gt;)*f=5.1 
(drivetrain all)*(pctn&amp;lt;drivetrain all&amp;gt;)*f=5.1, 
all make / nocellmerge rts=16 misstext='--' box=_page_ printmiss;

keylabel all='Total' n='No.' pctn='%'; 

run; 

/*Origin Table*/

PROC TABULATE NOSEPS MISSING FORMAT=comma7. FORMCHAR='              ' data=sashelp.cars;

CLASS origin;
class type drivetrain / style={background=lightyellow};

tables all*(n f=5.1*pctn&amp;lt;origin all&amp;gt;) 
(type all)*(pctn&amp;lt;type all&amp;gt;)*f=5.1  
(drivetrain all)*(pctn&amp;lt;drivetrain all&amp;gt;)*f=5.1, 
all origin /nocellmerge rts=16 misstext='--' box=_page_ printmiss;

keylabel all='Total' n='No.' pctn='%';

run;

ods tagsets.tableeditor close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This produces the following tables. You can see in the 2nd table that the row headers "Type" and "DriveTrain" are blue rather than light yellow as the style option specifies.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23190i9335F31347832991/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.PNG" alt="Capture1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.PNG" style="width: 372px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23191i72FF271AD2CBBCB1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.PNG" alt="Capture2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the light yellow background color does show up when viewing the SAS output table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture3.PNG" style="width: 380px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23192i7CAB542D685311DB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture3.PNG" alt="Capture3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 16:09:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Style-option-not-populating-second-table-in-HTML-output/m-p/494532#M21683</guid>
      <dc:creator>martyvd</dc:creator>
      <dc:date>2018-09-11T16:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Style option not populating second table in HTML output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Style-option-not-populating-second-table-in-HTML-output/m-p/494543#M21684</link>
      <description>&lt;P&gt;If you want the levels of the class variable such as Hybrid SUV and such to have the style element then try adding:&lt;/P&gt;
&lt;PRE&gt;classlev type drivetrain / style={background=lightyellow};&lt;/PRE&gt;
&lt;P&gt;Classlev controls the appearance of value levels, Class controls appearance behavior of the variable heading.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 16:52:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Style-option-not-populating-second-table-in-HTML-output/m-p/494543#M21684</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-09-11T16:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: Style option not populating second table in HTML output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Style-option-not-populating-second-table-in-HTML-output/m-p/494548#M21685</link>
      <description>Yes I am aware of that but my problem is with the appearance of the variable headings in the second table.</description>
      <pubDate>Tue, 11 Sep 2018 17:08:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Style-option-not-populating-second-table-in-HTML-output/m-p/494548#M21685</guid>
      <dc:creator>martyvd</dc:creator>
      <dc:date>2018-09-11T17:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Style option not populating second table in HTML output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Style-option-not-populating-second-table-in-HTML-output/m-p/494570#M21690</link>
      <description>&lt;P&gt;I don't have tagsets.tableeditor installed so I can't duplicate the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would be tempted to remove the tagset option&lt;/P&gt;
&lt;P&gt;&lt;FONT face="SAS Monospace" size="2"&gt; rowheader_bgcolor=&lt;/FONT&gt;&lt;FONT color="#800080" face="SAS Monospace" size="2"&gt;"lightblue&lt;/FONT&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and see if that helps. Possibly that might require adding additional style elements to get other things to be the color you want.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 17:42:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Style-option-not-populating-second-table-in-HTML-output/m-p/494570#M21690</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-09-11T17:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Style option not populating second table in HTML output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Style-option-not-populating-second-table-in-HTML-output/m-p/494592#M21691</link>
      <description>I tried that but it seems that regardless of the tagset options the second table will not show any of the style options specified in the class or classlev statements.</description>
      <pubDate>Tue, 11 Sep 2018 18:13:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Style-option-not-populating-second-table-in-HTML-output/m-p/494592#M21691</guid>
      <dc:creator>martyvd</dc:creator>
      <dc:date>2018-09-11T18:13:54Z</dc:date>
    </item>
  </channel>
</rss>

