BookmarkSubscribeRSS Feed
gzr2mz39
Quartz | Level 8
How do I change the page width when using tagsets.htmlpanel?
I would like to make the total page width more narrow.
Thank you.
2 REPLIES 2
Cynthia_sas
SAS Super FREQ
Hi:
An HTML page can be as wide as you need it to be. Since HTML is not a "printed" or "paged" destination (HTML doesn't have page numbers), I'm not sure what you mean by "making the total page width more narrow" -- do you mean when viewed in a browser???

There is an outputwidth or width style attribute that is generally used to alter the width of the ODS output that's written to the HTML file. I'm not sure how it works in conjunction with ODS HTMLPANEL. You might wish to check with Tech Support on this question (whether changing OUTPUTWIDTH in a style template) will impact the overall width of HTMLPANEL output).

If you resize your IMAGES using SAS/GRAPH options or ODS GRAPHICS options, that might also impact the overall width of the HTMLPANEL table.
cynthia
DanH_sas
SAS Super FREQ
HTML is really a "virtual" page. If you want to make the page less wide, you will need need to shrink the contents of the page. For HTMLPANEL, you will want to use GOPTIONS XPIXEL and YPIXELS to change the dimensions of the graphs you generate, causing the page to be less wide. Also, you can use the "panelcolumns" option in the tagset to set the number of columns in a panel layout (the default is 2 columns).

Thanks!
Dan

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1126 views
  • 0 likes
  • 3 in conversation