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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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