Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - how to changes the buttom
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how to changes the buttom

 Post Reply Post Reply Page  12>
Author
aero View Drop Down
Groupie
Groupie
Avatar

Joined: 21 May 2003
Location: Denmark
Status: Offline
Points: 80
Post Options Post Options   Thanks (0) Thanks(0)   Quote aero Quote  Post ReplyReply Direct Link To This Post Topic: how to changes the buttom
    Posted: 15 June 2003 at 1:42pm

I have make this site 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 !!!

Back to Top
stephen View Drop Down
Newbie
Newbie


Joined: 23 August 2002
Location: United Kingdom
Status: Offline
Points: 33
Post Options Post Options   Thanks (0) Thanks(0)   Quote stephen Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
FLATLINE View Drop Down
Groupie
Groupie
Avatar

Joined: 08 July 2002
Location: Israel
Status: Offline
Points: 142
Post Options Post Options   Thanks (0) Thanks(0)   Quote FLATLINE Quote  Post ReplyReply Direct Link To This Post 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: DarkGreen HQ
Back to Top
aero View Drop Down
Groupie
Groupie
Avatar

Joined: 21 May 2003
Location: Denmark
Status: Offline
Points: 80
Post Options Post Options   Thanks (0) Thanks(0)   Quote aero Quote  Post ReplyReply Direct Link To This Post 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

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 ???

Back to Top
FLATLINE View Drop Down
Groupie
Groupie
Avatar

Joined: 08 July 2002
Location: Israel
Status: Offline
Points: 142
Post Options Post Options   Thanks (0) Thanks(0)   Quote FLATLINE Quote  Post ReplyReply Direct Link To This Post 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: DarkGreen HQ
Back to Top
aero View Drop Down
Groupie
Groupie
Avatar

Joined: 21 May 2003
Location: Denmark
Status: Offline
Points: 80
Post Options Post Options   Thanks (0) Thanks(0)   Quote aero Quote  Post ReplyReply Direct Link To This Post 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 !!!
Back to Top
FLATLINE View Drop Down
Groupie
Groupie
Avatar

Joined: 08 July 2002
Location: Israel
Status: Offline
Points: 142
Post Options Post Options   Thanks (0) Thanks(0)   Quote FLATLINE Quote  Post ReplyReply Direct Link To This Post 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: DarkGreen HQ
Back to Top
aero View Drop Down
Groupie
Groupie
Avatar

Joined: 21 May 2003
Location: Denmark
Status: Offline
Points: 80
Post Options Post Options   Thanks (0) Thanks(0)   Quote aero Quote  Post ReplyReply Direct Link To This Post 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">

Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.