Jump to content

Archived

This topic is now archived and is closed to further replies.

BernardBlack

How to change the button's look

Recommended Posts

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

Share this post


Link to post
Share on other sites
[!--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.

Share this post


Link to post
Share on other sites
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 ><

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.