<?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: Update style element in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Update-style-element/m-p/621246#M23738</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;&amp;nbsp;.That paper was very helpful! I was using HTML as my ODS destination. It seems what we code in the Proc Template step get "interpreted" by SAS when creating the CSS output. At this time I don't have any more specific questions and probably just need to better understand the relationship between the proc template statements and what gets outputted into the the CSS file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As a side note it seems that if the output is to be emailed the msoffice2k destination does a better job of getting the output to render then the HTML output. At lest this was my experience with Outlook.&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jan 2020 17:37:44 GMT</pubDate>
    <dc:creator>supp</dc:creator>
    <dc:date>2020-01-30T17:37:44Z</dc:date>
    <item>
      <title>Update style element</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Update-style-element/m-p/620564#M23729</link>
      <description>&lt;P&gt;The style element .systitleandfootercontainer from style=HTMLBlue is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;.systitleandfootercontainer
{
  background-color: #FAFBFE;
  border: 0px solid #000000;
  border-spacing: 1px;
  color: #000000;
  font-family: Arial, 'Albany AMT', Helvetica, Helv;
  font-size: x-small;
  font-style: normal;
  font-weight: normal;
  width: 100%;
}&lt;/PRE&gt;
&lt;P&gt;I want to add a bottom border. Using proc Template:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;

/***********/
/** stlye **/
/***********/
proc template;
	define style styles.Custom;
	parent = styles.htmlblue;
		style systitleandfootercontainer from systitleandfootercontainer /
			borderbottomwidth=1;
	end;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I would expect to see this added to the systitleandfoottercontainer element&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;border-bottom-width: 1px;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However the element does not change in my output. How do I add a bottom border to by CSS style for the systileandfootercontainer element?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 16:57:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Update-style-element/m-p/620564#M23729</guid>
      <dc:creator>supp</dc:creator>
      <dc:date>2020-01-28T16:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Update style element</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Update-style-element/m-p/620581#M23730</link>
      <description>&lt;P&gt;Can you provide example code used to test your style and show the expected output or what you expected to see change?&lt;/P&gt;
&lt;P&gt;Please include data as well if needed. The example should be as simple as possible to make it simple to diagnose or understand where you expect changes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 18:16:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Update-style-element/m-p/620581#M23730</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-01-28T18:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Update style element</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Update-style-element/m-p/620732#M23731</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Take a look at this paper: &lt;A href="https://support.sas.com/resources/papers/proceedings10/033-2010.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings10/033-2010.pdf&lt;/A&gt; -- my tendency would be to use "from TitlesandFooters" because that's really the most immediate element that the System title inherits from. For this output below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diff_lines_titles.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/35685i6A8F22ED327E15FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="diff_lines_titles.png" alt="diff_lines_titles.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The underline for Title 1 was done using textdecoration=underline in the style template. Title 2's underline was done the same way, but it inherited the underline from Title 1 in the template. Title 3 does not have any line and the color is the default color. Title 4 has the bottom border changed and the color is green.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Here's the template code I used:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="textdec_temp.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/35686i6E8310407D7D5E85/image-size/large?v=v2&amp;amp;px=999" role="button" title="textdec_temp.png" alt="textdec_temp.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Here's the PROC PRINT code I ran -- used HTML because you didn't say what your ODS destination was.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="td_code.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/35687iD161A5C875E79F80/image-size/large?v=v2&amp;amp;px=999" role="button" title="td_code.png" alt="td_code.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this gives you an idea of a couple of different ways to do what you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 02:33:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Update-style-element/m-p/620732#M23731</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2020-01-29T02:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Update style element</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Update-style-element/m-p/621246#M23738</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;&amp;nbsp;.That paper was very helpful! I was using HTML as my ODS destination. It seems what we code in the Proc Template step get "interpreted" by SAS when creating the CSS output. At this time I don't have any more specific questions and probably just need to better understand the relationship between the proc template statements and what gets outputted into the the CSS file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As a side note it seems that if the output is to be emailed the msoffice2k destination does a better job of getting the output to render then the HTML output. At lest this was my experience with Outlook.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 17:37:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Update-style-element/m-p/621246#M23738</guid>
      <dc:creator>supp</dc:creator>
      <dc:date>2020-01-30T17:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: Update style element</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Update-style-element/m-p/621317#M23739</link>
      <description>Hi:&lt;BR /&gt;  Outlook is a Microsoft product. The MSOFFICE2K destination creates "Microsoft-friendly" HTML tags. Microsoft and the W3C folks did not always agree over HTML styles and W3C style is not always respected by Office products. That's probably why you see that MSOFFICE2K works better with Office products. Office can "urp" over regular HTML that conforms to the W3C standard, but is happier with HTML that conforms to the Microsoft HTML standard.&lt;BR /&gt;Cynthia</description>
      <pubDate>Thu, 30 Jan 2020 21:57:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Update-style-element/m-p/621317#M23739</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2020-01-30T21:57:59Z</dc:date>
    </item>
  </channel>
</rss>

