BookmarkSubscribeRSS Feed
Daily1
Quartz | Level 8

I have a custom proc template for the table frame to be border lines, but it did not work properly. I want the table to have border lines.

 

proc template; 
 define style styles.mystyle1; 
 parent = Styles.Default; 
    style body /
/*        background = white*/
        foreground = black
    ;
    style systemtitle /
        font_face = 'DVOT-SurekhMR'		
        font_weight = bold
        background = white
        font_size = 12pt
    ;	
	style systemfooter /
        font_face = 'DVOT-SurekhMR'
        font_size = 8pt		
    ;
   style data /
        fontfamily = 'DVOT-SurekhMR'
        font_size = 10pt
        foreground = black
/*		borderwidth = 1px		*/
/*        bordercolor = black*/
JUST=CENTER
   VJUST=C

    ;
    style header /
        fontfamily  = 'DVOT-SurekhMR'
        font_size = 10pt
        foreground = Black
	    font_weight = bold 
/*        background = #A9D0F5 */
/*      background = white*/
    ;

	style summary /
        fontfamily  = 'DVOT-SurekhMR'
        font_size = 10pt
        foreground = Black
		font_weight = bold 
/*        background = #A9D0F5 */
      background = white 
    ;

    style table /
        cellpadding = 5px
        cellspacing = 0px
        borderwidth = 1px		
        bordercolor = black
        borderstyle = solid
font_weight = bold 
    ;

end; 
run;

Output

Daily1_0-1715755492944.png

i want 

Daily1_1-1715755684710.png

 

1 REPLY 1
Ksharp
Super User
Try Change
parent = Styles.Default;
into
parent = Styles.analysis;

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
  • 723 views
  • 0 likes
  • 2 in conversation