Does anyone if the label of an <input type="file"> can be hidden? I can't find anything useful.
            Asked
            
        
        
            Active
            
        
            Viewed 2,866 times
        
    5
            
            
         
    
    
        Heldraug
        
- 256
- 1
- 3
- 10
- 
                    What exactly do you mean by "label"? – Bojangles Feb 01 '12 at 18:31
- 
                    1On some browsers there's a label beside the button used to select the file that will be uploaded. – Heldraug Feb 01 '12 at 18:36
- 
                    Are you talking about "Browse"? – Devin Burke Feb 01 '12 at 18:37
- 
                    2This is a duplicate of http://stackoverflow.com/questions/1084925/input-type-file-show-only-button – Justin Pihony Feb 01 '12 at 18:44
- 
                    @Justin: I think that's a little presumptuous. He said "labels", not "input box". – Devin Burke Feb 01 '12 at 18:49
- 
                    1That post refers to the text box that is beside the button. I'm talking about the label that says "No file chosen". Here's a screenshot: http://imageshack.us/photo/my-images/23/screenshot20120201at124.png/ – Heldraug Feb 01 '12 at 18:52
1 Answers
4
            
            
        Make the color the same as the background, for example:
html, input, textarea {
color: #something or other;
}
 
    
    
        jazcam
        
- 135
- 1
- 11