PDA

Click to See Complete Forum and Search --> : Changing command buttons on HTML page


alex_read
Oct 4th, 2000, 09:02 AM
Don't worry, although I have posted loads last 2 days, think I know what I am doing now!


[1] Is there any way I can change the colour of my command button?
[2] More complicated, but I will ask incase it's possible, can I have a "transparent" command button ?
[3] Is there any performance increase with a file extension? i.e.- between *.htm, *.html, *.asp for example.


Thank you for everyone's help here! Very much appriciated :D

monte96
Oct 4th, 2000, 10:10 AM
To change the color of a button:

<INPUT type=button name=MyButton style="Width: 100px; background: red; color: blue" value=Colors>


I don't believe you can make it transparent though.. best thing to do is create an imagemap instead of using an actual button.

As for speed increases, htm & html files are the same and since they require no server processing other than to just send them through the html stream, they are faster than asp but only because of that.

alex_read
Oct 4th, 2000, 10:24 AM
Wowsers, hey everyone, you can have transparent buttons on a web page (found by experimenting) Thank you to monte96 for the excellent pointers!


<INPUT NAME="About" TYPE="button" VALUE="ABOUT ME" style="HEIGHT: 35px; WIDTH: 149px; BORDER: 0; BACKGROUND=Transparent"