BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Gentlemen,

I'm using the ODS htmlpanel tagset to divide my html page in several regions. Besides the titles into each region, I want to put a main title at the beginning of the page. I thought on putting an empty panel with a title option, but nothing apears.

Can anybody help me?
2 REPLIES 2
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Add the ODS HTML parameter HEADTEXT="your page title goes here".

Scott Barry
SBBWorks, Inc.

http://support.sas.com/rnd/base/early-access/odsdoc2/sashtml/tw5195/z0424974.htm
Cynthia_sas
SAS Super FREQ
Hi:
Scott's method is one approach. The other approach would be to refer to the HTMLPANEL tagset documentation and examples:
http://support.sas.com/rnd/base/ods/odsmarkup/htmlpanel.html

There is a section explicitly on Controlling Titles and By Lines:
http://support.sas.com/rnd/base/ods/odsmarkup/htmlpanel.html#title

which shows the use of the EMBEDDED_TITLES sub-option.Here is a code snippet from that page.

cynthia

[pre]
goptions dev=gif xpixels=480 ypixels=320;

/* NOGTITLE is necessary for automatic paneling to work when */
/* the device is one of the legacy image formats. GIF, JPEG, etc. */

ods tagsets.htmlpanel nogtitle file="printpanel2.html"
options(panelcolumns='3'
panelborder='2'
embedded_titles='yes'
bylabels='no');

[/pre]

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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