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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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