Reputation: 4733
I'm trying to make language switcher like this:
I have added
select {
border: none;
background: url(../Photos/bg.png) no-repeat;
}
but after that it looks like:
how can i improve that?
I dont know why but in jsfiddle everything is ok. but in browser it's different
Upvotes: 0
Views: 51
Reputation: 50203
Your code works in Firefox, but doesn't work in IE (you should have specified this in the question, TBH).
Instead of trying to uniform the way each browser paint the box around the second background image, the Egg of Columbus is to set the background transparent:
select {
background : transparent;
border : none;
color : white;
}
Upvotes: 1