1 reply [Last post]
Ninja2112
Ninja2112's picture
Offline
newbie
Last seen: 5 years 9 weeks ago
Timezone: GMT-3
Joined: 2015-05-03
Posts: 2
Points: 4

Hello...

How can I style a specific form element ? For example..I wish to change the size
of a text box, add color,..etc...

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 4 days ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

Form elements can be

Form elements can be difficult to style as many of their properties are controlled by the browser and OS.
That said much of what you want should be possible.

input{
  height:3em;
  width:300px;
  color:red;
  border:blue 5px solid;
  background:green;
}