KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Please check out my JSFiddle https://jsfiddle.net/WK2N3/1/ #searchbar { float: left; display: inline; background: #FFFFFF; height: 29px; width: 660px; border: 1px solid #bdbdbd; margin: 55px 0px 0px 10px; font-size : 17px; font-family : Georgia; font : 17px Georgia, Times, âTimes New Romanâ, serif; color : #333333; } #searchbar:focus { float: left; display: inline; background: #FFFFFF; height: 29px; width: 660px; border: 1px solid #2e9afe; margin: 55px 0px 0px 10px; font-size : 17px; font-family : Georgia; font : 17px Georgia, Times, âTimes New Romanâ, serif; color : #333333; -moz-box-shadow: 0 0 2px #2e9afe; -webkit-box-shadow: 0 0 2px#2e9afe; box-shadow: 0 0 2px #2e9afe; } input:focus { outline : none; } <form><input type="text" id="searchbar" autofocus="autofocus"/></form> How can I make this on autofocus like it is for chrome, safari, opera and firefox for IE?
Tags (comma-separated)
Save Edits
Cancel