Home › Forums › CSS › Menu items moving when one goes bold on hover › Re: Menu items moving when one goes bold on hover
June 12, 2013 at 12:51 am
#138408
Alen
Participant
Line #28 in your CSS `#menu a:hover {padding: 1px;}` you are adding padding which then exceeds the width of container.
Consider adding, top of your stylesheet:
`*{
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
box-sizing:border-box;
}`
More here: http://learnlayout.com/box-sizing.html