开发者

Internet Explorer filters <input> transparent

开发者 https://www.devze.com 2023-03-12 22:26 出处:网络
So I want to make an <input type=\"text\"> transparent under IE and this filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0) 开发者_开发问答makes the job

So I want to make an <input type="text"> transparent under IE and this filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0) 开发者_开发问答makes the job however, the text can't be seen... is there some workaround?

Thank you.


What about the following.

<input type="text" class="transparent"/>

<style>
input.transparent{
    background-color: transparent;
    border: 0 none; 
}
</style>

Also the IE version makes quite a difference.

0

精彩评论

暂无评论...
验证码 换一张
取 消