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
Diamond | Level 26
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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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