how would i customize a form using css by like changing background, putting text in it already, border and more?
customizing forms
Started by xiLLeNtz, Aug 22 2005 07:43 PM
2 replies to this topic
#1
Posted 22 August 2005 - 07:43 PM
#2
Posted 22 August 2005 - 07:55 PM
The css is easy with a class="textfield" in the <input> tag
The text in it: value="default here"
.textfield {
background-color: #000000;
border-width: 1px;
border-style: solid;
border-color: #ff0000;
color: #ffffff;
}
The text in it: value="default here"
#3
Posted 22 August 2005 - 10:16 PM
don't forget, short-had is always a must 
.textfield {
background-color: #000000;
border: 1px solid #FF0000;
color: #FFFFFF;
}
you could also try adding an image for the background using something likebackground-image: url('path/to/image.gif');
But i'm not sure that would work, last time i tried failed, but it was back in the day that i didn't know wtf i was doing.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
