Page 1 of 1

background colour

Posted: Sun Sep 23, 2007 1:09 am
by z0
Can anyone please help me regarding the coloring of the browse button?
I mean the "Browse" & not the "Submit" button.
The code is -

Code: Select all

<form action="upload.php" method="POST" enctype="multipart/form-data">
<input type="file" name="img"/><br>
But I cannot separately color the "Browse" button?
Please help me.
Thanks in advance.
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:1. Select the correct board for your query. Take some time to read the guidelines in the sticky topic.

Posted: Sun Sep 23, 2007 3:59 am
by stakes
This is the php forum. Your post belongs in the clientside forum.

However you cannot do what you ask. You'll have to go through with something like this:

http://www.quirksmode.org/dom/inputfile.html