Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Diego Murray
2,515 PointsHow do I keep this code from pushing around other content in my nav?
a:hover { font-size: 1.1em; }
1 Answer
Jaco Burger
20,807 PointsMy guess is, that the link ("a") tags font is smaller, so when you hover over it, the size grows, thus pushing the content off a bit. Easiest solution would be, is to give the list item ("li">) a fixed width. Currently there are none, causing it to grow and shrink.
Check out my solution on sassmeister.
myackley35
34,574 Pointsmyackley35
34,574 PointsHey Cristo!
Do you have an example/workspace to share?