> I can use the image file in tml file using the > ${asset:context:/images/****.gif} ,but how to use the image file in css > file.
Your CSS file is not being run through the template parser so you can't use template syntax. Here are a few options: You could define the style in your page. If you need it in a few places you could make it a component. That has the downside of adding page weight because it's inline with your html. I haven't tried this, but you could try making your CSS into a .tml file. Adding the @Meta annotation to change the returned content type: @Meta(value = {"tapestry.response-content-type=text/css"}) Your .tml needs to be valid XML so you'll have to wrap the whole thing in a t:container. The downside is this might be a waste of time and not work... and it adds a little overhead. If you're deploying your app to the root context (and thus don't have to worry about changing contexts) then you can just use absolute paths in your css (that's how I deploy...) Josh -- -- TheDailyTube.com. Sign up and get the best new videos on the internet delivered fresh to your inbox. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]