I have an li styled as follows:
li
li{ display:inline-block; padding:5px; border:1px solid none; } li:hover{ border:1px solid #FC0;
The easiest solution to this is to use rgba as the color: border-color: rgba(0,0,0,0); That is fully transparent border color.
rgba
border-color: rgba(0,0,0,0);