Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.

Closed Thread
Thread Tools Display Modes
Share |
Old 07-03-2014, 09:41 AM
chrisjchrisj chrisjchrisj is offline
Contributing Member
Join Date: 04-05-10
Posts: 77
iTrader: 0 / 0%
Help with changing default "Choose File" button image in Upload Form

I'd like to replace the default "Choose File" button with an image of my own.
Here is the code, I believe, and an image of it currently:

<div class='controls'> <input id="file" type="file" name="file" /> <?php //echo form_error('file'); ?></div> </div>
Any help will be appreciated.
Attached Thumbnails
Click image for larger version

Name:	ChooseFile1.png
Views:	79
Size:	1.1 KB
ID:	18078  



Old 07-07-2014, 07:03 PM
williamforrest williamforrest is offline
Contributing Member
Join Date: 12-01-13
Posts: 98
iTrader: 0 / 0%
you cannot change them, they are set by the browser and differs to every browser, what you can do is to place a formatted in place of it but you cannot replace it..

check this: http://www.quirksmode.org/dom/inputfile.html
Go Back   Webmaster Forum > Web Development > Coding Forum

Closed Thread

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible to monitor webspace for "no files" or "no index file" 1611mac Web Hosting Forum 6 12-24-2013 05:54 AM
<input type="image" src="login_button.png" name="login" /> Error in IE !! HELP 2939195631902 Coding Forum 9 02-20-2009 09:43 AM

V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory

All times are GMT -7. The time now is 01:47 PM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2018 VIX-WomensForum LLC