background colour

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
z0
Forum Newbie
Posts: 15
Joined: Wed Sep 05, 2007 7:17 am

background colour

Post 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.
User avatar
stakes
Forum Commoner
Posts: 48
Joined: Tue Jun 12, 2007 12:05 pm

Post 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
Post Reply