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;

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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