delickate Posted April 21, 2008 Share Posted April 21, 2008 Hello All, I im using input type file in my php code. i need to change bgcolor color of its browse button. any one can help me? if i did this by using following code: <html> <head> </head> <body> <form name="test_form" method="post" action="#"> <input type="File" id="chk1" onChange="chk2.value=chk1.value;" style="display: none;"> <input name="textfield" type="text" value="" id="chk2" disabled="true"> <img src="btn.bmp" width="64" height="36" onclick="chk1.click();"> </form> </body> </html> it works but it disable the upload box.i mean the browser box apears faild. bottun didn't work on clicking is ther any one to guide me? Link to comment https://forums.phpfreaks.com/topic/102086-error-change-bgcolor-of-input-typefile-by-applying-css/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.