Page 1 of 1

Newbie question...

Posted: Mon Oct 05, 2009 7:33 pm
by Cr00zng
This drives me nuts and it's probably very simple...

I use "FORM" to create click-able links with this syntax:

Code: Select all

<FORM action=xyz.php method=post>
<INPUT type=submit value="Whatever"></FORM>
This works just fine and does what I intended to do except the default form colors that I need to change. And that's where I hit the wall, I could not find any reference as to changing the color for the background or the font. Nor do I see how CSS, HTML, etc would be able to control php form colors.
Is there a way to change php form default colors within or outside of the form statement?
TIA...

Cr00zng

Re: Newbie question...

Posted: Mon Oct 05, 2009 7:59 pm
by requinix
Cr00zng wrote:Nor do I see how CSS, HTML, etc would be able to control php form colors.
How about you forget that little notion and look into CSS and HTML?

That <form> and <input> are HTML, which means you can use CSS to affect how they look.

Re: Newbie question...

Posted: Mon Oct 05, 2009 10:17 pm
by Cr00zng
tasairis wrote: How about you forget that little notion and look into CSS and HTML?

That <form> and <input> are HTML, which means you can use CSS to affect how they look.
Did you mean like this?

Code: Select all

<FORM action=xyz.php method=post>
<INPUT type=submit value="Whatever" style="background-color:#123456"></FORM>
Yeah, that'll work. 8O
Thanks!

Cr00zng