IE6/IE7 css border on select element

前端 未结 14 749
面向向阳花
面向向阳花 2020-11-28 11:26

Does anyone have a solution for styling the borders of \"select\" elements in Internet Explorer using CSS?

14条回答
  •  隐瞒了意图╮
    2020-11-28 11:45

    To do a border along one side of a select in IE use IE's filters:

    select.required { border-left:2px solid red; filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=-2, OffY=0,color=#FF0000) }

    I put a border on one side only of all my inputs for required status.

    There is probably an effects that do a better job for an all-round border ...

    http://msdn.microsoft.com/en-us/library/ms532853(v=VS.85).aspx

提交回复
热议问题