[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: include css in xsl

Subject: RE: include css in xsl
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Wed, 19 Mar 2003 11:57:42 -0500
include css
> The browser is IE 6.0 sp1 and it shows all web-pages (the ones i visit
> properly). I also see this problem with netscape 7.02. I checked my
> stylesheet at http://www.htmlhelp.com/tools/csscheck/.
> 
> I think the path is a problem.
> I got
> WEB-INF
> --- classes
> --- lib
> --- xslt
>     --- the xsl
> --- css
>     --- the css
> Any ideas. I realize that this is not a xsl question per se 
> but I would
> appreciate help.
> 

You need to include the path to the css file from the location of the
___html output file___.  The browser knows nothing about how you
generated the html file.  Either the css file path has to be absolute,
or it has to be relative to the html file that is being viewed.  

Then, of course, the css file has to be valid css.

You should first create an simple html file by hand that displays the
way you want, including using the css stylesheet correctly.  Then you
can learn to duplicate it using xslt.  Then you can add in all the other
content you want to have.

Cheers,

Tom P

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.