Hello Godwin Im using $page.setStyleSheet(url) just like you mentioned and it works fine. If you have an application myapp with an stylesheet in styles/style1.css your url should look like "/myapp/styles/style.css".
Uwe -----Urspr�ngliche Nachricht----- Von: Godwin Ko [mailto:[EMAIL PROTECTED]] Gesendet am: Donnerstag, 9. Mai 2002 18:11 An: [EMAIL PROTECTED] Betreff: How to apply stylesheet in turbine How can I apply stylesheet in my web page? Do I need to use VelocityOnlyLayout? I try to call $page.setStyleSheet(url) when using the default VelocityECSLayout but no style can be apply even though the stylesheet link tag generated in the html page. Besides, the turbine user mailing list archive seems not functioning otherwise I think I can find the answer by searching the archive instead of posting this message. Thanks, Godwin Ko. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
