Click to See Complete Forum and Search --> : Buttons
hi, ive got a problem with the css colored button form. I cant find where the link goes. Say i wanted a button that says Home. Where do i put the command, that says e.g"home?
here's the code :
____________________
<INPUT TITLE="Home" TYPE="button" STYLE="background:B0C4DE" VALUE="Home">
____________________
As you see im a newbie...:o
DaveSW
11-10-2003, 09:38 AM
Do you mean you want the part that tells the form where to go?
if so you need a form at at the start:
<form action="" method="post">
In the action part you should have the name of the script that processes it.
Or isn't that what you mean?
[<form action="" method="post">
In the action part you should have the name of the script that processes it. [/B]
Sorry, what does it mean "in the action part you should have the name of the script that processes it? does that mean css.
And does the home page, the index, go in the "post" or "method" part of the code..?
so you'd have :
<css script=""method="index">
where index is the page and css script is the script that processes
Would that be it?
Its not correct, but would that be what it could possibly look like. Ok, whole thing goes like this? :
<css script="" method="index"> <INPUT TITLE="Home" TYPE="button" STYLE="background:B0C4DE" VALUE="Home">
:confused:
DaveSW
11-10-2003, 12:27 PM
I'm afraid you've lost me there! :eek:
Lets get this straight first: Is this button to send a form somewhere?
DaveSW
11-10-2003, 12:28 PM
Or simply to change page?
Aronya1
11-10-2003, 12:33 PM
I think he just wants to change a page: I cant find where the link goes. Say i wanted a button that says Home. Where do i put the command, that says e.g"home?
Blog,
Try this:
<a href="www.yoursitename.com"><INPUT TITLE="Home" TYPE="button" STYLE="background:B0C4DE" VALUE="Home"></a>
Just substitute the proper web address.
DaveSW
11-10-2003, 12:38 PM
That would explain it lol.
Originally posted by Blog
method="index"
Got you...
Thanks to all of you, sorry for the dumb question.:rolleyes: .
That was a real help.
;)
DaveSW
11-11-2003, 06:37 AM
If you just want to link to another page you can just use text
<a href="www.yoursitename.com">Home</a>
You might want to check out www.w3schools.com for some good tutorials - HTML then CSS