JSF renders selectOneMenu as an HTML SELECT and the selectItems as HTML OPTIONs. Although the specs say that you can attach CSS to OPTION elements, I know of absolutely no browsers that actually support that ability. Instead, they use the OPTION elements as data-only definitions without regard to display properties.
An IDE is no substitute for an Intelligent Developer.
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database