Input boxes with transparent background are not clickable in IE8

后端 未结 14 1746
暖寄归人
暖寄归人 2020-12-13 06:11

I have an absolutely positioned input box in a form. The input box has transparent background:

.form-page input[type=         


        
14条回答
  •  醉话见心
    2020-12-13 06:56

    IE in its infinite wisdom is deciding not to render the item because it thinks there is nothing to render. There are numerous ways to address this but basically you'll need to give IE something to chew on.

    Adding a 'value=x' to the input tag itself definitely works. But more than likely it's not the best solution. A simple, color:black (without the focus) allows the element to be tabbed to. Adding ':focus' to the input style allows the element to render.

    Try this:

    
    
    
    
    
    
    
    
    
    
    

提交回复
热议问题