Click here to Skip to main content
15,885,767 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
actually i want to see me my textbox like microsoft login page textboxe(s)

in Microsoft login page when its focus(click) on textbox box-shadow is 0 and border is black

if i try any browser if focus on my textbox default its show skyblue box-shadow color

how its solve


finally i wanna textbox css like micosoft textbox plz tell me
Posted
Updated 23-Dec-15 7:58am
v2
Comments
Member 11878680 23-Dec-15 14:11pm    
hi raj
visit this for your solution
https://msdn.microsoft.com/en-in/library/documentformat.openxml.vml.textbox(v=office.14).aspx
Parazival 23-Dec-15 23:05pm    
thanks for u replay
Member 11878680 23-Dec-15 14:13pm    
https://msdn.microsoft.com/en-IN/library/ms178331(v=vs.90).aspx
Sergey Alexandrovich Kryukov 23-Dec-15 15:27pm    
No, this is not a question. Use CSS and style your text box the way you want. You did not explain any problems.
—SA
Suvendu Shekhar Giri 23-Dec-15 20:21pm    
Open the login page of the Microsoft website (one you were talking about) and right click on the textbox and click "Inspect Element".
Have you noticed the CSS classes listed to the right side pan (on most of the browsers)?
Try them and see.

As mentioned in the comments, just use your browser to find the CSS that is being applied and then do the same thing.
 
Share this answer
 
Well, that blue border is the outline of your textbox. If you want to get rid of it, do something like-
CSS
.textbox:focus{
    /*
    your other CSS rules
    */
    outline: 0;
}

Hope it helps.

-KR
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900