<select> elements are a bit notorious in not allowing you all the CSS flexibility the other controls do. This is, as I understand it, because a <select> is treated essentially as a separate window. For instance, note that if you have a <div> and you position it over a <select>, regardless of how you try and set the z-index, the <select> will show through the <div>. The browser keeps the <select> at a higher z-index no matter what because it isn't like the other form controls exactly.
I think at one point IE literally spawned a separate browser thread for each <select>, as it did for each frame. I may be remembering that incorrectly, and certainly it isn't true any more in any case. All that possibly shotty memory aside though :), <select>'s don't always behave themselves as you'd like in terms of CSS. Trial and error and research is required. I unfortunately don't have an answer for your specific issue. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] Java Web Parts - http://javawebparts.sourceforge.net Supplying the wheel, so you don't have to reinvent it! On Thu, March 16, 2006 9:57 am, fea jabi said: > This might not be Struts related issue. More of CSS stuff I guess. > > I am using this errorStyleClass and works great for text fields, where I > am > highlighting the border with different color when there is an error. > > If it is a dropdown when there is an error(when the user did not select > any) > then dropdown border is not changing color why is that? did anyone work on > such a thing i.e highlighting the dropdown border with different color > when > there is an error. > > Would appreciate your help. Thanks. > > _________________________________________________________________ > Is your PC infected? Get a FREE online computer virus scan from McAfee® > Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]