I made a webpage, on which clicking the button 30px changes the font inside the div.

I have a ul inside it with the buttons. When I change the font size, the div expands and the nav buttons move with it as well.

How do I make it so it stays fixed but the fonts can still change.

Edit
Report