<?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: Left align ouput in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Left-align-ouput/m-p/5620#M1786</link>
    <description>Hi..sorry 'bout that. If I had realized you were talking about a stored process, I would have warned you about that. When you run a stored process and return the results to Web Report Studio (WRS), the results are NOT HTML, RTF or PDF, which would be affected by the NOCENTER option.&lt;BR /&gt;
 &lt;BR /&gt;
Results that are returned to WRS are returned in SASReport XML format and then, inside WRS, those results are rendered for viewing within the WRS "screen". SAS Options and styles are generally NOT used by WRS because they are not meaningful options for SASReport XML.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
    <pubDate>Fri, 23 Nov 2007 17:43:03 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2007-11-23T17:43:03Z</dc:date>
    <item>
      <title>Left align ouput</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Left-align-ouput/m-p/5616#M1782</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I've got some code that generates several tables in HTML in EG.&lt;BR /&gt;
When I look at the output, all the tables are centered. I want them aligned to the left.&lt;BR /&gt;
&lt;BR /&gt;
Can anyone help me?&lt;BR /&gt;
&lt;BR /&gt;
Thierry</description>
      <pubDate>Thu, 22 Nov 2007 14:23:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Left-align-ouput/m-p/5616#M1782</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-11-22T14:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Left align ouput</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Left-align-ouput/m-p/5617#M1783</link>
      <description>Hi:&lt;BR /&gt;
  Try putting &lt;BR /&gt;
[pre]&lt;BR /&gt;
options nocenter;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
before your ODS HTML step. That will left align everything, including the table and titles, and any text you might place with ODS TEXT=etc.&lt;BR /&gt;
 &lt;BR /&gt;
If what you mean is that you want the title to remain centered and ONLY the table to be left justified, then try this:&lt;BR /&gt;
[pre]&lt;BR /&gt;
options center;&lt;BR /&gt;
ods html file='c:\temp\usestyle.html' style=sasweb;&lt;BR /&gt;
  proc print data=sashelp.class&lt;BR /&gt;
         style(table)={just=l};&lt;BR /&gt;
    title 'This Should Still Be Centered';&lt;BR /&gt;
  run;&lt;BR /&gt;
ods html close;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
If you are using PROC REPORT or PROC TABULATE, you'd use slightly different syntax with those procedures, as defined in the documentation.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Thu, 22 Nov 2007 18:00:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Left-align-ouput/m-p/5617#M1783</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-11-22T18:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Left align ouput</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Left-align-ouput/m-p/5618#M1784</link>
      <description>Hi Cynthia,&lt;BR /&gt;
&lt;BR /&gt;
It works! Thanks!!!&lt;BR /&gt;
&lt;BR /&gt;
Thierry</description>
      <pubDate>Fri, 23 Nov 2007 06:53:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Left-align-ouput/m-p/5618#M1784</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-11-23T06:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: Left align ouput</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Left-align-ouput/m-p/5619#M1785</link>
      <description>Well, it works almost....&lt;BR /&gt;
&lt;BR /&gt;
Running the Stored Process in EG, it works fine. But if I run the Stored Process in Web Report Studio, it doesn't work... WRS aligns the table in the center.&lt;BR /&gt;
I've also tried the following code:&lt;BR /&gt;
&lt;BR /&gt;
proc tabulate data=sashelp.class ;&lt;BR /&gt;
  class sex ;&lt;BR /&gt;
  var   weight ;&lt;BR /&gt;
&lt;BR /&gt;
  table sex all&lt;BR /&gt;
        ,&lt;BR /&gt;
        weight*[style=[font_weight=bold]]&lt;BR /&gt;
        /style=[just=left]&lt;BR /&gt;
        ;&lt;BR /&gt;
run ;&lt;BR /&gt;
&lt;BR /&gt;
Again, in EG it works perfect, but in WRS the last style code doesn't work...&lt;BR /&gt;
&lt;BR /&gt;
Thierry</description>
      <pubDate>Fri, 23 Nov 2007 09:49:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Left-align-ouput/m-p/5619#M1785</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-11-23T09:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Left align ouput</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Left-align-ouput/m-p/5620#M1786</link>
      <description>Hi..sorry 'bout that. If I had realized you were talking about a stored process, I would have warned you about that. When you run a stored process and return the results to Web Report Studio (WRS), the results are NOT HTML, RTF or PDF, which would be affected by the NOCENTER option.&lt;BR /&gt;
 &lt;BR /&gt;
Results that are returned to WRS are returned in SASReport XML format and then, inside WRS, those results are rendered for viewing within the WRS "screen". SAS Options and styles are generally NOT used by WRS because they are not meaningful options for SASReport XML.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Fri, 23 Nov 2007 17:43:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Left-align-ouput/m-p/5620#M1786</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-11-23T17:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Left align ouput</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Left-align-ouput/m-p/5621#M1787</link>
      <description>Hi Cynthia, So there's no way to outline the output to the left?&lt;BR /&gt;
&lt;BR /&gt;
Thierry</description>
      <pubDate>Mon, 26 Nov 2007 06:32:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Left-align-ouput/m-p/5621#M1787</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-11-26T06:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Left align ouput</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Left-align-ouput/m-p/5622#M1788</link>
      <description>Hi, TH:&lt;BR /&gt;
If there's a way to turn off centering using Web Report Studio report options, then your output would be left-aligned. but I believe the default is centered for the default treatment of SAS Report XML -- at least what comes from a stored process.&lt;BR /&gt;
 &lt;BR /&gt;
You might check with SAS Technical Report to fine out definitively whether there's a way to change the alignment to left alignment in the Cascading Style Sheet used to render the output (or look in the Platform Administration Guide). &lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Mon, 26 Nov 2007 06:58:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Left-align-ouput/m-p/5622#M1788</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-11-26T06:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Left align ouput</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Left-align-ouput/m-p/5623#M1789</link>
      <description>Hi Cynthia,&lt;BR /&gt;
&lt;BR /&gt;
Ok, I will do that. Thanks alot for your help.&lt;BR /&gt;
&lt;BR /&gt;
Thierry</description>
      <pubDate>Tue, 27 Nov 2007 06:41:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Left-align-ouput/m-p/5623#M1789</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-11-27T06:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Left align ouput</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Left-align-ouput/m-p/474216#M30761</link>
      <description>&lt;P&gt;Hi Cynthia!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the code. &amp;nbsp;I tried it and it worked. &amp;nbsp;However, I am wondering if you could help point me in the right direction with regards to justifying the title left as well?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[pre];&lt;BR /&gt;options center;&lt;BR /&gt;ods html file='/folders/myfolders/sasuser.v94/sales2018.html' style=sasweb;&lt;BR /&gt;proc print data=sales3&lt;BR /&gt;style(table)={just=l};&lt;BR /&gt;title 'This Should Still Be Centered';&lt;BR /&gt;run;&lt;BR /&gt;ods html close;&lt;BR /&gt;[/pre];&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 19:29:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Left-align-ouput/m-p/474216#M30761</guid>
      <dc:creator>Ethen</dc:creator>
      <dc:date>2018-06-28T19:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: Left align ouput</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Left-align-ouput/m-p/474224#M30763</link>
      <description>&lt;P&gt;Hi Cynthia!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the code. &amp;nbsp;I tried it and it worked very nicely. &amp;nbsp;However, I am wondering if you could help point me in the right direction with regards to just moving the table 1inch or 2 inch, etc. from the left margin?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[pre];&lt;BR /&gt;options center;&lt;BR /&gt;ods html file='/folders/myfolders/sasuser.v94/sales2018.html' style=sasweb;&lt;BR /&gt;proc print data=sales3&lt;BR /&gt;style(table)={just=l};&lt;BR /&gt;title 'This Should Still Be Centered';&lt;BR /&gt;run;&lt;BR /&gt;ods html close;&lt;BR /&gt;[/pre];&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 19:44:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Left-align-ouput/m-p/474224#M30763</guid>
      <dc:creator>Ethen</dc:creator>
      <dc:date>2018-06-28T19:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Left align ouput</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Left-align-ouput/m-p/474225#M30764</link>
      <description>Hi Cynthia!&lt;BR /&gt;&lt;BR /&gt;I was able to justify the title and it worked. Please disregard my question regarding justifying the title.&lt;BR /&gt;&lt;BR /&gt;Thanks, ,again, Cynthia! I appreciate your help!&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jun 2018 19:46:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Left-align-ouput/m-p/474225#M30764</guid>
      <dc:creator>Ethen</dc:creator>
      <dc:date>2018-06-28T19:46:30Z</dc:date>
    </item>
  </channel>
</rss>

