Focus type css while hovering on html button in IE -


on page when tab across elements, focused , elements highlighted browser specific css.

like on button when focused shows below screen shot.

notice white dotted line on button

enter image description here

i show similar when button hovered

button:hover {    /*what should go here?*/ } 

is you're looking for? http://jsfiddle.net/screetop/tpx5tyxc/ mentioned others, take @ outline property. box-shadow simulates border around button.

<button>submit</button>  button {     display: block;     background: grey;     padding: 5px;     border: none;     box-shadow: 0 0 0 3px grey; } button:hover {    /*what should go here?*/     outline: 1px dotted white; } button:focus {     outline: 1px dotted white; } 

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -