<?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: Width is not followed accordingly in ODS HTML in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Width-is-not-followed-accordingly-in-ODS-HTML/m-p/624726#M23769</link>
    <description>&lt;P&gt;1.&amp;nbsp;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;VAR sales inventory returns / s=[width=5in];&amp;nbsp;&lt;/FONT&gt; So that's 15 in.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;FONT face="courier new,courier"&gt;classlev region / s=[width=10.75in];&amp;nbsp;&lt;/FONT&gt; That's less than 15 in. How is it supposed&amp;nbsp;to fit?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2. You have 15 in per region. Do you really want a report 4 feet wide?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;3. Can you look at the generated html so we see what the coded width looks like?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I suspect SAS sets it correctly, but the&amp;nbsp;viewer/browser chooses to shrink the&amp;nbsp;table as sensibly as it sees fit.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Feb 2020 03:16:08 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2020-02-14T03:16:08Z</dc:date>
    <item>
      <title>Width is not followed accordingly in ODS HTML</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Width-is-not-followed-accordingly-in-ODS-HTML/m-p/618489#M23707</link>
      <description>&lt;P&gt;I have the following script that sends an email out with a table&lt;/P&gt;&lt;P&gt;I need the columns to be in specific size and hence I used the width style&lt;/P&gt;&lt;P&gt;The output is fine in SAS whereby the width is as per setting but not in ODS HTML&lt;/P&gt;&lt;P&gt;It seems like the table is adjusted to fit content of the table instead&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;FILENAME output EMAIL&lt;BR /&gt;FROM = ("xxx")&lt;BR /&gt;SENDER = ("xxx")&lt;BR /&gt;TO = ("xxx")&lt;BR /&gt;SUBJECT = ("testing")&lt;BR /&gt;CONTENT_TYPE="text/html";&lt;BR /&gt;ODS HTML BODY=output options(pagebreak='no') style =MYSTYLE;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PROC TABULATE DATA=sashelp.shoes;&lt;/P&gt;&lt;P&gt;CLASS product region;&lt;BR /&gt;classlev product / s=[width=10.75in];&lt;BR /&gt;classlev region / s=[width=10.75in];&lt;BR /&gt;VAR sales inventory returns / s=[width=5in];&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;TABLE product ='',&lt;BR /&gt;region =''*(sales*SUM=''&lt;BR /&gt;inventory*SUM=''&lt;BR /&gt;returns*SUM='')&lt;BR /&gt;/BOX={S=[width=10.75in]};&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ODS _ALL_ CLOSE;&lt;BR /&gt;FILENAME output CLEAR;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2020 09:58:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Width-is-not-followed-accordingly-in-ODS-HTML/m-p/618489#M23707</guid>
      <dc:creator>TYT88</dc:creator>
      <dc:date>2020-01-20T09:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Width is not followed accordingly in ODS HTML</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Width-is-not-followed-accordingly-in-ODS-HTML/m-p/624726#M23769</link>
      <description>&lt;P&gt;1.&amp;nbsp;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;VAR sales inventory returns / s=[width=5in];&amp;nbsp;&lt;/FONT&gt; So that's 15 in.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;FONT face="courier new,courier"&gt;classlev region / s=[width=10.75in];&amp;nbsp;&lt;/FONT&gt; That's less than 15 in. How is it supposed&amp;nbsp;to fit?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2. You have 15 in per region. Do you really want a report 4 feet wide?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;3. Can you look at the generated html so we see what the coded width looks like?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I suspect SAS sets it correctly, but the&amp;nbsp;viewer/browser chooses to shrink the&amp;nbsp;table as sensibly as it sees fit.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2020 03:16:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Width-is-not-followed-accordingly-in-ODS-HTML/m-p/624726#M23769</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-02-14T03:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Width is not followed accordingly in ODS HTML</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Width-is-not-followed-accordingly-in-ODS-HTML/m-p/624729#M23771</link>
      <description>&lt;P&gt;Thanks for reply&lt;/P&gt;&lt;P&gt;The huge width is set on purpose to show that it didn't work&lt;/P&gt;&lt;P&gt;Anyway, I tested with a few width and found out that it works for small table but not big table&lt;/P&gt;&lt;P&gt;Unfortunately, my data is big table, so I did a workaround to use blank spaces to control the width and it works&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2020 03:29:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Width-is-not-followed-accordingly-in-ODS-HTML/m-p/624729#M23771</guid>
      <dc:creator>TYT88</dc:creator>
      <dc:date>2020-02-14T03:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Width is not followed accordingly in ODS HTML</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Width-is-not-followed-accordingly-in-ODS-HTML/m-p/624731#M23772</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I suspect that SAS sets it correctly, but the&amp;nbsp;viewer/browser chooses to shrink the&amp;nbsp;table as sensibly as it sees fit.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2020 03:33:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Width-is-not-followed-accordingly-in-ODS-HTML/m-p/624731#M23772</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-02-14T03:33:49Z</dc:date>
    </item>
  </channel>
</rss>

