Return to Snippet

Revision: 63892
at June 15, 2013 01:41 by stephcode


Initial Code
// top nav, prevent shift on hover
$('ul.nav li a').each(function(){
    $(this).parent().width($(this).width() + 4);
});

Initial URL
http://stackoverflow.com/questions/556153/horiz-css-menu-text-shifting-on-bold-hover

Initial Description
To correct the shift that happens on hover when the weight of the link is normal, but bold on hover.

Initial Title
Text shifting on bold hover

Initial Tags
link, text

Initial Language
CSS