play_ Posted February 14, 2007 Share Posted February 14, 2007 Hi all, I have an upload form here, <input type="file" name="image" /> As we know, file-type inputs have a 'browse' button next to them. How can i change the style of this button? Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted February 14, 2007 Share Posted February 14, 2007 If you have styled a button then simply apply the same class to the file input. But remember some browers won't style buttons anyway... Quote Link to comment Share on other sites More sharing options...
play_ Posted February 15, 2007 Author Share Posted February 15, 2007 Ok. i have this in the css .submit_button { border: 1px solid #999; background-color: #fcfcfc; } and this in the hml: <input type="file" name="image" class="submit_button" /> Doesn't work in firefox =/ like you said, doesn't work in some browsers. Thanks for the help though. Quote Link to comment Share on other sites More sharing options...
play_ Posted February 15, 2007 Author Share Posted February 15, 2007 ::edit:: nvm. posted something but solved it. Quote Link to comment Share on other sites More sharing options...
Jessica Posted February 19, 2007 Share Posted February 19, 2007 To help future readers, you should post what the solution was. Quote Link to comment Share on other sites More sharing options...
play_ Posted February 20, 2007 Author Share Posted February 20, 2007 I didn't find the solution to the original post. I asked another question, but then solved it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.