Color textbox and select box

I want to color my text box and select box like this attached.

what is the required CSS ?

Why don’t you post a “working page” with the HTML and CSS that you have written for those boxes and we’ll go from there !

as ronpqat has said, in order to give a better response we would have to look at your current CSS and HTML. Code is very specific and all factors have to be considered in order to give accurate answers.

however, answering your question in the general manner than it was asked:
select, input[type="text"]{ background:pink; border: 3px solid red}
would default all your SELECT and INPUT(with type of “text”) to have pink backgrounds and 3px red borders.

hope that helps

Thanks…This works fine.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.