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