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

 

Time is running out to save with the early bird rate. Register by Friday, March 1 for just $695 - $100 off the standard rate.

 

Check out the agenda and get ready for a jam-packed event featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events. 

 

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
  • 758 views
  • 0 likes
  • 3 in conversation