<?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: How to get some colums (not all columns) centered while using ODS html, pdf? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-get-some-colums-not-all-columns-centered-while-using-ODS/m-p/121820#M10449</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Look at the attached screenshot. It is quite colorful and I made the cells all a bit wider so you could see the exact impact of the various JUST= and some of the other options and style overrides that I used. And then I made the DESC column smaller so you could see the justification happened for the entire cell. The code in the second screenshot (for PROC PRINT) is what I used to produce this output, since you did not say what procedure you were using. I only put a few obs into the dataset because I didn't have much time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; At any rate, PROC REPORT can put STYLE= overrides in the PROC REPORT statement, the DEFINE statement, the BREAK and RBREAK statements, the COMPUTE statement. There are a lot of previous forum postings about using STYLE= overrides. These techniques work with PROC PRINT, PROC REPORT and PROC TABULATE. The doc on each procedure has good information on using STYLE= overrides. There are a few differences between PRINT and REPORT. PROC REPORT uses STYLE(COLUMN) instead of STYLE(DATA) and since PROC REPORT doesn't have a VAR statement, you would use your style override in a DEFINE statement for each variable or report item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The PROC REPORT doc is very good and there are a lot of good examples on how to write PROC REPORT code and use STYLE= overrides.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11126i418C1FF5E826BC72/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="example_style_print.png" title="example_style_print.png" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11127i517E61A4376CCE6A/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="example_just_print_style.png" title="example_just_print_style.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 15 Sep 2012 03:28:18 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2012-09-15T03:28:18Z</dc:date>
    <item>
      <title>How to get some colums (not all columns) centered while using ODS html, pdf?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-get-some-colums-not-all-columns-centered-while-using-ODS/m-p/121817#M10446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;1. I created html report, by default, some columns aligned right, some left. If I used j=c, all of columns would be centered. I just need desired columns centered, not all of them. So how do I need to do. I attached a report sample, I need to get first column center.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I also make the title color from sky blue to navy blue. I assume that sky blue is the default color for SASWeb and I am unable to change it, is that correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 14:12:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-get-some-colums-not-all-columns-centered-while-using-ODS/m-p/121817#M10446</guid>
      <dc:creator>leisas</dc:creator>
      <dc:date>2012-09-14T14:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to get some colums (not all columns) centered while using ODS html, pdf?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-get-some-colums-not-all-columns-centered-while-using-ODS/m-p/121818#M10447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What code is used to make the report? Proc Print, Report and Tabulate allow you to provide many controls of appearance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Title also allows overrides.&lt;/P&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;title color=green "your title text";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can set color, justification, font and text size using options. See if your online help under Title statement has an entry for enhancing titles.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 14:50:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-get-some-colums-not-all-columns-centered-while-using-ODS/m-p/121818#M10447</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2012-09-14T14:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to get some colums (not all columns) centered while using ODS html, pdf?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-get-some-colums-not-all-columns-centered-while-using-ODS/m-p/121819#M10448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used proc report:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods html3 file="&amp;amp;path\q8.html" style=sasweb;&lt;/P&gt;&lt;P&gt;proc report data=q8 nowd;&lt;/P&gt;&lt;P&gt;&amp;amp;t1 "Number of felmales " &amp;amp;t2, &amp;amp;ft;run;&lt;/P&gt;&lt;P&gt;ods html3 clos;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where can I get needed columns justified/aligned?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 19:23:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-get-some-colums-not-all-columns-centered-while-using-ODS/m-p/121819#M10448</guid>
      <dc:creator>leisas</dc:creator>
      <dc:date>2012-09-14T19:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to get some colums (not all columns) centered while using ODS html, pdf?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-get-some-colums-not-all-columns-centered-while-using-ODS/m-p/121820#M10449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Look at the attached screenshot. It is quite colorful and I made the cells all a bit wider so you could see the exact impact of the various JUST= and some of the other options and style overrides that I used. And then I made the DESC column smaller so you could see the justification happened for the entire cell. The code in the second screenshot (for PROC PRINT) is what I used to produce this output, since you did not say what procedure you were using. I only put a few obs into the dataset because I didn't have much time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; At any rate, PROC REPORT can put STYLE= overrides in the PROC REPORT statement, the DEFINE statement, the BREAK and RBREAK statements, the COMPUTE statement. There are a lot of previous forum postings about using STYLE= overrides. These techniques work with PROC PRINT, PROC REPORT and PROC TABULATE. The doc on each procedure has good information on using STYLE= overrides. There are a few differences between PRINT and REPORT. PROC REPORT uses STYLE(COLUMN) instead of STYLE(DATA) and since PROC REPORT doesn't have a VAR statement, you would use your style override in a DEFINE statement for each variable or report item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The PROC REPORT doc is very good and there are a lot of good examples on how to write PROC REPORT code and use STYLE= overrides.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11126i418C1FF5E826BC72/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="example_style_print.png" title="example_style_print.png" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11127i517E61A4376CCE6A/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="example_just_print_style.png" title="example_just_print_style.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Sep 2012 03:28:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-get-some-colums-not-all-columns-centered-while-using-ODS/m-p/121820#M10449</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-09-15T03:28:18Z</dc:date>
    </item>
  </channel>
</rss>

