You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Struts Newsgroup (@Basebeans.com)" <st...@basebeans.com> on 2002/07/16 06:25:02 UTC

Re: Cascading Style Sheets for struts tags?

Subject: Re: Cascading Style Sheets for struts tags?
From: Matt Raible <ma...@raibledesigns.com>
 ===
the html:text tag renders an <input type="text"> element in HTML, so 
you'd just use that:

<style type="text/css">
     input {color: green}
</style>

Keep in mind that you'll get your best support for stylesheets in the 
5.x+ browsers.

Roland Berger wrote:
> Hi all
> 
> How is it possible to use CSS for struts tags? Or does anybody know a better
> way than using CSS for formating etc. WEB pages generated with struts and
> JSP?
>       <style type="text/css">
>         html:text {color: green}
>       </style>
> 
> Does not work with me.
> 
> Thanks
> Roland
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>