select box styling
by jamna
HTML
<select>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
</select>
CSS
.customStyleSelectBox {
border:none;background:red;
}
.customStyleSelectBox.changed {
/* You can use this if you want a different style after user has made a selection */
}
/* on the next line we add a down arrow on the right to indicate that it is a select box */
.customStyleSelectBoxInner {
background:url(canvas-list-nav-item-arrow-.gif) no-repeat center right;
}
JavaScript
$(document).ready(function(){
$('.select').customStyle();
});