Hello i trying to style the input[type="file"]. But like one old man sayed: "One Jsfiddle is better of 1000 words" so.... here you go
--- More details inside --> http://jsfiddle.net/StartStep/4ZuGj/
problem 1 : when i add more files those arent displayed in field...we need to extend it css solution prefered jquery less favorite ^^ thanks for your help
problem 2 : how to expand the transparent file input to 100% height with position absolute?
I thinks the main problem is with position: relative and absolute.....
Try setting opacity to 0 on the file input
.upfield input[type=file]{
opacity:0;
width:100%;
height:100%;
}
Update
For IE also add height:100%
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.