How to remove IE's Select Drop-down box arrow icon

Source: Internet
Author: User
Select {
   width:100%;
   height:34px;
   Border:solid 1px #0086EA;
   /* For the dropdown small arrows to leave a little position, to avoid being covered with text
   /padding-right:34px;
   padding-left:10px;
   /* Clear the Default Select selection box style
   /appearance:none;
   -moz-appearance:none;
   -webkit-appearance:none;
   Background:url ("/assets/img/caret.png") no-repeat scroll right center transparent;
}
/* Clear IE Default selection box style clear, Hidden Drop-down arrow
/select::-ms-expand {Display:none}

Suitable for use with projects, with pictures for select background. Clears the default style for individual browser select.

Currently applicable to Ie10 and above

Thank you so much, http://www.bloggeng.com/archives/225.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.