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 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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