Mesden Posted June 30, 2010 Share Posted June 30, 2010 This is probably really simple, but when I look at my Form on Dreamweaver, it looks so much different than when I look at it on the website. See, in Dreamweaver, it has a big text box with a button that says "Browse" next to it. On the actual website, it has a button which says "Choose File", and then next to it, it says "No file chosen". http://173.83.91.119/upload_file.php Any variety of coding, PHP or HTML I can use to make this look a bit more interesting? Quote Link to comment https://forums.phpfreaks.com/topic/206343-need-a-different-style-for-my-forms-browse-command/ Share on other sites More sharing options...
haku Posted July 1, 2010 Share Posted July 1, 2010 I believe that the 'browse' button is not themeable. The best you can do is a javascript replacement of the button altogether. Quote Link to comment https://forums.phpfreaks.com/topic/206343-need-a-different-style-for-my-forms-browse-command/#findComment-1079446 Share on other sites More sharing options...
Mesden Posted July 1, 2010 Author Share Posted July 1, 2010 Okay, well there seems to be an issue with the way it's appearing. In dreamweaver it appears as a Text Box with a browse button to the right of it. In my Internet Browser, it appears completely different: http://sc2x.net/upload_file.php Choose File: No File Chosen. WTF? I mean how can I at least make it say something other than "No file chosen"? Quote Link to comment https://forums.phpfreaks.com/topic/206343-need-a-different-style-for-my-forms-browse-command/#findComment-1079521 Share on other sites More sharing options...
haku Posted July 1, 2010 Share Posted July 1, 2010 Dreamweaver is not a browser. Unless your users are surfing your site using Dreamweaver, it's 100% irrelevant how it looks there. Each browser will style it a different way. I believe Safari doesn't even have the textbox, it just has a 'browse' button, with the file name beside it if one exists. Quote Link to comment https://forums.phpfreaks.com/topic/206343-need-a-different-style-for-my-forms-browse-command/#findComment-1079533 Share on other sites More sharing options...
Mesden Posted July 1, 2010 Author Share Posted July 1, 2010 Is there a way I can make it look the same on all browsers? Quote Link to comment https://forums.phpfreaks.com/topic/206343-need-a-different-style-for-my-forms-browse-command/#findComment-1079536 Share on other sites More sharing options...
haku Posted July 1, 2010 Share Posted July 1, 2010 I answered this in the first post. Quote Link to comment https://forums.phpfreaks.com/topic/206343-need-a-different-style-for-my-forms-browse-command/#findComment-1079548 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.