I recently designed a webpage that includes a feature where clicking a button adjusts the font size within the div
.
Within the div
, there is a ul
containing the buttons. However, when the font size changes, the div
expands and the nav
buttons also shift accordingly.
Is there a way to keep the layout fixed while still allowing the font size to be modified?