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

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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