xsl-list
[Top] [All Lists]

Re: CSS

2003-08-04 06:41:20
Jarkko Moilanen wrote:
On Mon, 4 Aug 2003, AROSO Jose Antonio wrote:

Hi...

Is it possible to use cascade style sheets with XSL?

Yes.

  <!-- Internal CSS -->
  <style type="text/css">
   p.element-syntax { border: solid thin }code { font-family: monospace }
  </style>

Its possible the reader had tried something like

   <style type="text/css">
<!--
    p.element-syntax { border: solid thin }code { font-family: monospace }
-->
   </style>

... only to discover the CSS code missing, due to it being a comment in the
XSLT stylesheet. The solution:

   <style type="text/css">
     <xsl:comment>
    p.element-syntax { border: solid thin }code { font-family: monospace }
</xsl:comment>
   </style>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>