Print Page | Close Window

how to changes the buttom

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: General Discussion
Forum Description: General discussion and chat on any topic.
URL: https://forums.webwiz.net/forum_posts.asp?TID=3557
Printed Date: 29 March 2026 at 5:01pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: how to changes the buttom
Posted By: aero
Subject: how to changes the buttom
Date Posted: 15 June 2003 at 1:42pm

I have make this site http://www.javacoder.dk:56400/fileupload/insert.htm - http://www.javacoder.dk:56400/fileupload/insert.htm

if U look at the submitbuttom I have changet it to another type of buttom then normal !!!

But if U look at the buttom at FILE: (to get the file) it is like normal !!!

how can I make it like my submitbuttom and can i changes it so I kan make my own buttomtext to like the submitbuttom !????

the code to the form !!!

<table border="0" align="center">
 <tr>
 <form method="POST" enctype="multipart/form-data" action="Insert.asp">
 <td><div class=text>First Name :</div></td><td>
  <input type="text" name="fname" size="40"></td>
 </tr>
 <td><div class=text>Last Name :</div></td><td>
  <input type="text" name="lname" size="40"></td>
 </tr>
 <td><div class=text>Profession :</div></td><td>
  <input type="text" name="profession" size="40"></td>
 </tr>
 <td><div class=text>The image name you want to give your image :</div></td><td>
    <input type="text" name="iname" size="40" ></td>
 </tr>
 <td><div class=text>File :</div></td><td>
  <input type="file" name="file" size="40"></td></tr>
 <td> </td><td>
  <input class="Button" type="submit" value="Submit"></td></tr>
 </form>
 </tr>
 </table>


<input class="Buttom" type="file" name="file" size="40"> can't i get to work on this like in the submit buttom !!!




Replies:
Posted By: stephen
Date Posted: 16 June 2003 at 8:44am

seems pretty straight forward 2 me.

<td><div class=text>File :</div></td><td>
  <input type="file" name="file" size="40" class="button"></td></tr>
 <td> </td>
 

from what I remember, it still gives the button a gre color, but it also styles it like your submit button.



Posted By: FLATLINE
Date Posted: 17 June 2003 at 4:49am
First of all it's Button, not Buttom. And second of all, how did you set up the "button" class?

-------------
Visit my site: http://darkgreen.service-club.net - DarkGreen HQ


Posted By: aero
Date Posted: 17 June 2003 at 2:14pm

he he SORRY FLATLINE

I has set up my BUTTON class in my CSS file like this:

}
INPUT.Button {
 BACKGROUND : #ffffff;
 BORDER : 2px solid #000000;
 COLOR : #000000;
 FONT-FAMILY: tahoma, verdana, arial;
 FONT-SIZE: 10pt
}

 

STEPHEN

it is not working 100 % it is making a border at 2px om my text input !!!   se the link !!!

http://www.javacoder.dk:56400/fileupload/insert.htm - http://www.javacoder.dk:56400/fileupload/insert.htm

CAN I remove the border on the input text so it is just the button that is like my submit and what about the text on the button and the gre color ???



Posted By: FLATLINE
Date Posted: 17 June 2003 at 2:17pm

You change the text using the "Value" field.

Like this:<input class="Button" type="submit" value="Send">

Will generate a submit button with the word "Send" written on it.
About the color, I'll have to check that...



-------------
Visit my site: http://darkgreen.service-club.net - DarkGreen HQ


Posted By: aero
Date Posted: 17 June 2003 at 2:34pm
okay I will wait then but the name shut not be send but Get File or something like that !!!


Posted By: FLATLINE
Date Posted: 17 June 2003 at 2:37pm

Oh I thought you meant the submit button. Oh well!

I've checked in Dreamweaver and didn't find any field that manipulates the color or text of the browse button seperately! But who knows, it might still be possible.



-------------
Visit my site: http://darkgreen.service-club.net - DarkGreen HQ


Posted By: aero
Date Posted: 17 June 2003 at 2:37pm

and like U say about the Value is not working

<input type="file" name="file" size="40" class="Button" value="Get the File">



Posted By: aero
Date Posted: 17 June 2003 at 2:38pm

K NP



Posted By: FLATLINE
Date Posted: 17 June 2003 at 2:40pm
Yeah the Value is changing the text field not the button I know that. I just thought you were talking about the Submit button.

-------------
Visit my site: http://darkgreen.service-club.net - DarkGreen HQ


Posted By: stephen
Date Posted: 18 June 2003 at 1:44am

Check out this link

http://www31.brinkster.com/alaletech/testing/testing.html - http://www31.brinkster.com/alaletech/testing/testing.html

.button {
  color: #000000;
  background-color: #EFF5F7; /*#D2DCF2*/
  border: 1px solid #2D559F;
  font-family: verdana, arial;
  font-size:8pt; width:85px;
  }



Posted By: abhinav
Date Posted: 19 June 2003 at 4:45am
nice css trick .. I could use it somewhere too, thx!

-------------
http://www.sgkabra.com - Accountancy Firm | http://www.mp3oldies.com.ar - Mp3 Oldies | http://www.best-mp3software.com - Mp3 Software



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net