View Full Version : forms


Rosey
11-20-2003, 06:23 AM
You know on the forms how you have the really ugly grey buttons, is there a way to change that into perhaps a text link?

Kblam666
11-20-2003, 02:33 PM
Im not sure about using text but you can use css to change the look or use your own image =D

for css try

<style type="text/css">
<!--

input, textarea
{ background: #000000;
font-family: verdana;
color: #FF0000;
border-style: solid;
border-color: #FFFFFF;
border-width: 1px }

-->
</style>

change your colours and borders to what you want.

or you can use an image code like this one:

<!-- start of form using image-->

<form method="GET" action="index.htm">

<input src="image.gif" name="I1" alt="Your Alt" width="XX" height="XX"

type="image">

</form>

<!-- end of form using image -->

Hope that helps

Kblam666
11-20-2003, 02:41 PM
I found another way, you can use text. try this:

There is a way, it's a little sneaky tho, uses JavaScript. Here's an example:

<HTML>
<HEAD>
<TITLE>Page 1</TITLE>

<SCRIPT LANGUAGE="Javascript">
function sub()
{
document.form.submit();
}
</SCRIPT>

</HEAD>

<BODY>

<form name="form" action="page2.htm">
<input type="text" name="textbox1">
</form>

<a href="javascript: sub()">Submit</a>
</BODY>
</HTML>

=D