Use styleClass attribute.

http://struts.apache.org/struts-doc-1.2.9/userGuide/struts-html.html#optionsCollection

<p class="pEstrecho">
        <span><fmt:message key="search2.filter.job.area"/></span>
        <html:select property="jobCategory" styleClass="selectAncho">
                <html:options collection="area"
                      property="key" labelProperty="value"/>
        </html:select>
</p>            


PD: do you speak spanish?

El mié, 17 de 05 de 2006 a las 12:04, José María Tristán escribió:

> Hi:
>       I hava a <html:optionsCollection property="empresasSelect" 
> style="red:color"/>.
>       Is possible use a css into a html control? 
> 
>       Por example:
>               
>               <style>
>                       empresa{red:color}
>               </style>
> 
> 
>               <html:optionsCollection properby="empresasSelect" 
> style="empresa"/>
> 
> 
> Thank you very much.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
;-)
____________________________________
Jorge Martin Cuervo
Analista Programador

Outsourcing Emarketplace
deFacto Powered by Standards

email <[EMAIL PROTECTED]>
voz +34 985 129 820
voz +34 660 026 384
____________________________________

Reply via email to