Home >Web Front-end >HTML Tutorial >position:fixed attribute setting_html/css_WEB-ITnose
http://hf711.com/house/search.php
The navigation bar uses the attribute: position:fixed. When the browser is reduced, the content of the web page is covered
Please help to take a look, thank you
Try setting it as a percentage
. . . Why is it all about browser zooming in and out?
When using the position:fixed attribute, sometimes we inevitably need some CSS expressions in order to consider browser compatibility.
Our display standard for web browsers is 100%, and it is enough to display at 100%. But if you want to see the specific effect, you can look at the floating next to the "exam point". I don't know if this code is what you want. Or, you can adapt it to what you want based on this.