0
did some Select
and within them there are Options
.
I tried styling Option, only I’m not getting it, I’m doing something wrong?
HTML:
<div class="imobSelect">
<select>
<option>Todos</option>
<option>teste1</option>
<option>teste2</option>
</select>
</div>
CSS:
.imobSelect select {
font-family: "Trebuchet MS", Helvetica, sans-serif;
background: transparent;
width: 233px;
color: #474747;
padding: 8px 5px 5px 5px;
font-size: 12px;
line-height: 1;
border: 0;
border-radius: 0;
height: 34px;
-webkit-appearance: none;}
.imobSelect option {
height: 30px;
border: 1px solid #cbcbcb;
padding-left: 17px;
padding-top: 12px;}
.imobSelect {
width: 207px;
height: 34px;
overflow: hidden;
background: url(../images/arrow.jpg) no-repeat right #f0f0f0;
border-radius: 3px;}
Where am I going wrong?
What is missing?
– Leonel Sanches da Silva
If you go here www.felipestoker.com/imob you will see that Options are not stylized in Chrome. And that in Mozilla, it gets a black border around it.
– Felipe Viero Goulart
What is going wrong?
– Silvio Andorinha
Could you clarify what your doubt is? It’s hard to understand what you need.
– Math
What exactly was the goal with these styles? Which part did not turn out as you would like? What is the question? More details would help clarify.
– Guilherme Bernal
I already found what I needed. Styling Options is too boring, each browser treats it with particularities.
– Felipe Viero Goulart