Background colour for form fields?

F

FatBlokeOnBikepins

..
Is there a way to control the background colour of input fields?

TIA.
 
D

David Dorward

Is there a way to control the background colour of input fields?

Same as the background colour for any HTML element. The CSS background-color
property.
 
M

Matthias Gutfeldt

.
Is there a way to control the background colour of input fields?

Sure. Use this simple example to make filling in forms on your website a
much more "exciting" "experience" for your users:

put this in the HEAD of the document:
<style type="text/css">
input.ohboy {
color:lime;
background-color:eek:range;
border:none;
font-size:9px;
font-family:"Times New Roman", serif;
}
</style>


In the FORM:
<p>Input here: <input type="text" class="ohboy" value="Fill 'er up!"
/></p>



Matthias
 
F

FatBlokeOnBikepins

Is there a way to control the background colour of input fields?
Sure. Use this simple example to make filling in forms on your website a
much more "exciting" "experience" for your users:

put this in the HEAD of the document:
<style type="text/css">
input.ohboy {
color:lime;
background-color:eek:range;
border:none;
font-size:9px;
font-family:"Times New Roman", serif;
}
</style>


In the FORM:
<p>Input here: <input type="text" class="ohboy" value="Fill 'er up!"
/></p>
How to win friends and influence visitors.....

Thanx all.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,733
Messages
2,569,440
Members
44,830
Latest member
ZADIva7383

Latest Threads

Top