Desktop productivity for business analysts and programmers

ODS HTML BIG TITLE

Reply
Contributor
Posts: 20

ODS HTML BIG TITLE

[ Edited ]

Hi ,

 

I'm tyring to display a big title in between the logo on my report with the little style to be appied so that report can look better .

 

However im very to new to SAS and struggling to understand that how can i do it .

 

you help is much approcriated !

 

And also if you could also let me know how can i appy any css file refer to any objects such as title , column ,table etc 

 

ods HTML file ="//Execution/PremiumExtract/Summary Report.html" style=sasweb;
ODS html options (pagebreak='no');
ods escapechar='~';
title j=l '~S={preimage="logo_light_tagline_large_transparentbg.png" color=white} x'   
	j=c "DM Static Testing - PR Report - "&RelNum. BO=2  j=r '~S={postimage="Bes.png" color=white} y';
;

proc report data= work.Summary_Coloring_tbl nowd noheader style = sasweb;
	column Title RelNum;
	define Title / display
		style(column)=Header{fontfamily=Verdana font_size=12pt just=l bordercolor=Grey
		background= GWH
		foreground= BLACK};
	define RelNum / display 
		style(column)=Header{fontfamily=Verdana font_size=12pt just=c bordercolor=Grey
		background= GWH
		foreground= black};

	COMPUTE RelNum;

		IF RelNum  eq 'Pass' THEN
			DO;
				CALL DEFINE(_col_,'style','style={background = DEY foreground= White}');
			END;

		IF RelNum  eq 'Fail' THEN
			DO;
				CALL DEFINE(_col_,'style','style={background = STYPK foreground= White }');
			end;

		if RelNum =:  'Status' THEN
			DO;
				CALL DEFINE(_col_,'style','style={background = LIPB foreground= White FONTWEIGHT= bold bordercolor=Black}');
			end;
	ENDCOMP;

	COMPUTE Title;

		IF Title  eq ' Coverages ' THEN
			DO;
				CALL DEFINE(_col_,'style','style={background = LIPB foreground= WHITE just=c FONTWEIGHT= bold bordercolor=Black }');
			END;
	ENDCOMP;
run;

ods _all_ close ;
Super User
Posts: 11,343

Re: ODS HTML BIG TITLE

Posted in reply to srinidelite

Are trying to make the letters in the title a different size? Try adding a height= option before the text

 

j=c height=24pt "DM Static Testing - PR Report - " would make the text appear with a 24pt size. Pick one you like.

Ask a Question
Discussion stats
  • 1 reply
  • 65 views
  • 0 likes
  • 2 in conversation