BernardBlack Posted April 19, 2006 Share Posted April 19, 2006 I have an upload script (http://tech.tailoredweb.com/simple-upload-53.php), and I was woundering how I can change the buttons browse & upload to an image.Thank you for your help,BernardBlack Quote Link to comment https://forums.phpfreaks.com/topic/7827-how-to-change-the-buttons-look/ Share on other sites More sharing options...
redbullmarky Posted April 19, 2006 Share Posted April 19, 2006 [!--quoteo(post=366348:date=Apr 19 2006, 10:20 AM:name=BernardBlack)--][div class=\'quotetop\']QUOTE(BernardBlack @ Apr 19 2006, 10:20 AM) [snapback]366348[/snapback][/div][div class=\'quotemain\'][!--quotec--]I have an upload script (http://tech.tailoredweb.com/simple-upload-53.php), and I was woundering how I can change the buttons browse & upload to an image.Thank you for your help,BernardBlack[/quote]not 100% sure but i believe that CSS to an extent can style a button, even as far as the background image. really not sure how good it works cross browser though - havent actually ever tried it on a 'file' input type. Quote Link to comment https://forums.phpfreaks.com/topic/7827-how-to-change-the-buttons-look/#findComment-28507 Share on other sites More sharing options...
BernardBlack Posted April 19, 2006 Author Share Posted April 19, 2006 Ok, so it is not possible just do substiute it to like an image (img="imgurl") etc etc? Maybe link it to something in particular? I'm not sure >< Quote Link to comment https://forums.phpfreaks.com/topic/7827-how-to-change-the-buttons-look/#findComment-28532 Share on other sites More sharing options...
AndyB Posted April 19, 2006 Share Posted April 19, 2006 Practically, you can't style the 'browse' button or substitute it.Take a look at [a href=\"http://www.quirksmode.org/dom/inputfile.html\" target=\"_blank\"]http://www.quirksmode.org/dom/inputfile.html[/a] for what can be done. Quote Link to comment https://forums.phpfreaks.com/topic/7827-how-to-change-the-buttons-look/#findComment-28543 Share on other sites More sharing options...
BernardBlack Posted April 19, 2006 Author Share Posted April 19, 2006 Ok thanks for your help - it seems leaving it as is will have to do - otherwise it causes problems :'(Thanks for your fast replies & support again :'),BernardBlack Quote Link to comment https://forums.phpfreaks.com/topic/7827-how-to-change-the-buttons-look/#findComment-28576 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.