Clicky

Experts,

How to create a highlight textbox with blue colors like gmail did in his login page? It appears in every browsers firefox, chrome, etc.

Thanks

asked 10/24/2011 02:49

jimmycdinata's gravatar image

jimmycdinata ♦♦


6 Answers:
set the border color in CSS like:
  border-color:#4d90fe;
link

answered

raysonlee's gravatar image

raysonlee

@raysonlee
I need the color when the textbox got focus only
link

answered 2011-10-24 at 01:30:54

jimmycdinata's gravatar image

jimmycdinata

/* This is the CSS class to use when no focus is on the input control */
.input_text
{
   border:1px solid #c0c0c0;
   padding:4px;
   font-size:14px;
   color:#000000;
   background-color:#ffffff;
}
   
/* This is the CSS class to use when the control has focus */
.input_text:focus
{
   border-color:#4d90fe;
}
link

answered 2011-10-24 at 21:34:30

raysonlee's gravatar image

raysonlee

I found this:

http://twitter.github.com/bootstrap/javascript.html#

It is solvedmy problems.
link

answered 2011-10-25 at 18:02:31

jimmycdinata's gravatar image

jimmycdinata

I found this:

http://twitter.github.com/bootstrap/javascript.html#

It is solved my problems.

link

answered 2011-10-26 at 01:23:15

jimmycdinata's gravatar image

jimmycdinata

Glad you solved your problem. I'm sure there are many ways to get the same result.
Just want to clarify that my solution will work as well and don't need browser to turn on Javascript support.
link

answered 2011-10-26 at 01:23:47

raysonlee's gravatar image

raysonlee

Your answer
[hide preview]

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×1

Asked: 10/24/2011 02:49

Seen: 523 times

Last updated: 10/30/2011 09:15