/ Published in: CSS

To correct the shift that happens on hover when the weight of the link is normal, but bold on hover.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// top nav, prevent shift on hover $('ul.nav li a').each(function(){ $(this).parent().width($(this).width() + 4); });
URL: http://stackoverflow.com/questions/556153/horiz-css-menu-text-shifting-on-bold-hover
Comments
