0

I wonder, if I could make HTML FORM input controls invisible, while keeping their input text-editing functionality active.

Why? Because a designer created an image, which should be used as a form. The image make use of color gradients - all over and inside the form fields.

2
  • if you make it INVISIBLE then you won't even see the text they input...it's better to remove its border and to make its background transparent (on browsers where it's available) Commented Apr 7, 2013 at 20:29
  • Yeah, exactly this is the reason I asked... Commented Apr 7, 2013 at 20:38

2 Answers 2

2

You can use

input{
    background:transparent;
    border:none;
    outline:none;
}

JSFiddle.

To keep input (text-editing) functionality and to hide it.

Sign up to request clarification or add additional context in comments.

Comments

1

You could try some styling like this for a textfield:

input[type="text"] {
  background: transparent;
  border: 0;
}

Note: Transparency does not work by default in IE6.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.