This REPLACE statement adds to the child style definition the style
element byline
, which also exists in the parent
style definition. This style element inherits all attributes from titlesandfooters
as it is specified in the previous REPLACE
statement. Therefore, the initial definition for the byline includes the foreground
and background colors that are used for system titles, and a smaller version
of titlefont2
. However, the FOREGROUND= attribute
replaces the foreground color with the foreground color that is used for headers.
Note that in the default style definition, the background color for the byline
differs from the background color for the document, so it appears as a gray
stripe in
HTML Output from PROC PRINT with the Default Style Definition.
In this customized style definition, the stripe disappears because the background
color for the byline and the document are the same.
replace byline from titlesandfooters /
foreground=colors("headerfg");