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.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

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

View all other training opportunities.

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