Page 1 of 1

HTML BUTTONS

Posted: Tue May 24, 2005 1:43 pm
by Parody
I would like to create a link in the form of a HTML button, the ones that can be coded in html without the use of images, the default ones. I can't seem to find a clear explanation of them.

Could someone please post a sample code of one please?

Thanks :D

Posted: Tue May 24, 2005 1:48 pm
by hawleyjr

Code: Select all

<input type=&quote;submit&quote; name=&quote;Submit&quote; value=&quote;Submit&quote;>

Posted: Tue May 24, 2005 1:57 pm
by Parody
What I mean is, something like the login button on this page:
http://themafianetwork.net/(5nen0jv3opx ... login.aspx

The code for it is:

Code: Select all

<P align=&quote;center&quote;><INPUT class=&quote;NormalButton&quote; id=&quote;btnsubmit&quote; style=&quote;WIDTH: 88px; HEIGHT: 20px&quote; type=&quote;submit&quote;
							value=&quote;Login Now!&quote;></P>
But, this creates a normal button, like the code for the submit button that was posted.

Posted: Tue May 24, 2005 2:01 pm
by Parody
I worked it out. It is a css file. But I don't really want to use css files, can I just specify a style in HTML

BTW, this is the style:

Code: Select all

.NormalButton 
{
	border-width:1;
	border-style:solid;
	background-color:darkred;
	color:AliceBlue;
	border-color:Black;
	Font-family:&quote;Verdana&quote;;
	font-size:8pt;
	cursor:hand;
	height:20px;
}

Posted: Tue May 24, 2005 2:08 pm
by hawleyjr
Why would you NOT want to use a css file?

Posted: Tue May 24, 2005 2:13 pm
by Parody
Its only for one page, I don't want an extra file, I did it by the way, it looks alright. Thanks for your help.

:D :D :D :D :D