On Jan 9, 2008 11:53 AM, Mansour <[EMAIL PROTECTED]> wrote: > Is there answer to this question ??
Is this for HTML or print output? If print, how about: <xsl:param name="shade.verbatim" select="1"/> <xsl:attribute-set name="shade.verbatim.style"> <xsl:attribute name="background-color">#E0E0E0</xsl:attribute> <xsl:attribute name="border-width">0.5pt</xsl:attribute> <xsl:attribute name="border-style">solid</xsl:attribute> <xsl:attribute name="border-color">#575757</xsl:attribute> <xsl:attribute name="padding">3pt</xsl:attribute> </xsl:attribute-set> suggested by: http://www.sagehill.net/docbookxsl/ProgramListings.html#FormatListings If HTML, """Formatting a program listing for HTML output is best handled by CSS. Read the class attributes generated by the HTML stylesheet and write CSS selectors to apply styles. See the section "Styling displays with CSS" for an example (http://www.sagehill.net/docbookxsl/UsingCSS.html#StylingDisplays)."""" """You could create a selector and set styles in your CSS stylesheet like the following: pre.programlisting { background-color: #FFFF99 ; border: 1px solid #006600 ; } """" HTH, Keith --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
