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

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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