BookmarkSubscribeRSS Feed
vishal_prof_gmail_com
Obsidian | Level 7

I am creating a HTML page using multiple proc reports. There are titles for each proc report.

Issue Iam facing is that , the first title is not displayed , rest all titles are displayed. This is happening constantly.

Attached is the extract of code:

ods tagsets.htmlpanel event= row_panel(start);

ods tagsets.htmlpanel text="<div><H3>Detail File<br></H3> </div>";
ods tagsets.htmlpanel event= column_panel(start);
title;
footnote;

 

title1 "<div> Region1 </div>";
title2 "<div>Transactions </div>";

proc report data=region1;
column var file_count;
define var / 'Particular' display;
define file_count / 'Count' display;
run;
title;
title1 "<div> Comlpeted Transactions </div>";
proc report data= transact_complete;
column currentamount completed_amount ;
define currentamount / 'Current Amount' display;
define completed_amount / 'Completed Amount' display;
run;

1 REPLY 1
Tim_SAS
Barite | Level 11

I'm not sure why you're adding <div> tags around your titles. What are you trying to do? In general I recommend not inserting raw HTML into your output if it can be avoided. If you need custom styling in your titles, use the style inline function.

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!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 1 reply
  • 1402 views
  • 1 like
  • 2 in conversation