try styleClass attribute for both components like
styleClass="colorYellow"

in css file
.colorYellow {
 background-color:#FFFF00;
}

On 5/7/07, Döring Markus <[EMAIL PROTECTED]> wrote:

 Hello,

I'm using multiple <tr:selectOneChoice> and <tr:inputText> components on
one page.

Only some of them should have an other background color.

If I put the inlineStyle="background-color:#FFFF00;" attribute on the
component, the style get's rendered on an <span> tag surrounding the
<select>.

Is there a way to change the background color directly on the <select> (or
in other cases on the <input>)?



Thanks for help

Markus Döring
TCC Products GmbH
Anwendungsentwicklung

Benzstr. 3
71696 Möglingen
Germany

 mail: [EMAIL PROTECTED]



Reply via email to