SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Enhancing HTML Tabular Reports
Adding Color to Table Cells


Question: Edit the program below to turn the background of the Mean heading to aqua. Use the color name CYAN or the RGB value 00FFFF.
ods listing close;
ods html path='c:\data' body='table.html';
proc tabulate data=clinic.admit format=4.1;
   var age;
   class sex actlevel;
   table sex*actlevel*age,mean;
   
run;
ods html close;
ods listing;

  Mean
Sex ActLevel   39.8
F HIGH Age
LOW Age 32.5
MOD Age 39.3
M HIGH Age 27.0
LOW Age 48.3
MOD Age 41.5



           

  back||next


Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.

Terms of Use & Legal Information | Privacy Statement