Jump to content

Form Field Borders


ben03
 Share

Recommended Posts

I have been working on a form which has a white background. Unfortunately this means the text fields to be filled in are invisible! Its probably fairly simple but I was wondering what code I required to add a border to the text areas? Thanks

Link to comment
Share on other sites

What do I need for simple textfields?
textarea, input {	border: solid 1px #000;}

Add the input after the textarea in the CSS, that will target all input fields, unless they have been given a class and have styles added to them later on in the style sheet.:)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...