[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Using CSS with XSL stylesheet
Maybe you should put the entire line that is causing the problem? - is imageurl supposed to be a XSL variable???, then you should have: H1 {background-image: url(<xsl:value-of select=$imageurl/>) - notice no quotes and where the var gives you the path the an image file. ----- Original Message ----- From: <Joshua.Kuswadi@xxxxxxxxxxxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Thursday, January 11, 2001 2:35 PM Subject: Using CSS with XSL stylesheet > Part of my stylesheet used to convert to HTML has the HTML tag > > <link rel="stylesheet" href="stylesheeturl" type="text/css" /> > > This works fine except for the stylesheet property background-image which has the format: > background-image: url("imageurl"); > > This background image property doesn't work, while all the others do. I'm guessing it is the parenthases but don't know how to fix it. > > I'm using Tomcat 3.1 as the servlet engine for Cocoon 1.8. > > Thanks, > > Joshua Kuswadi > ________________________________________________________ > joshua.kuswadi@xxxxxxxxxxxxxxxxxxxx > > > -------------------------------------------------------------------------- ---- > This message and any attachment is confidential and may be privileged or otherwise protected from disclosure. If you have received it by mistake please let us know by reply and then delete it from your system; you should not copy the message or disclose its contents to anyone. > > > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|