[Asking smart questions] [About Bear] [Books by Bear]
Bear Bibeault wrote:Before you even think of using the JSTL and EL, have you figured out what HTML and CSS will give you the desired result?
Tim Driven Development | Test until the fear goes away
allen robin wrote:Hey,try using this code: Put background-color on the option tag.. select option { margin:40px; background: rgba(0,0,0,0.3); color:#fff; text-shadow:0 1px 0 rgba(0,0,0,0.4); } If you want to style each one of the option tags.. use the css attribute selector: select option { margin:40px; background: rgba(0,0,0,0.3); color:#fff; text-shadow:0 1px 0 rgba(0,0,0,0.4); } select option[val="1"]{ background: rgba(100,100,100,0.3); } select option[val="2"]{ background: rgba(200,200,200,0.3); } ...