Home >Web Front-end >HTML Tutorial >position:fixed attribute setting_html/css_WEB-ITnose

position:fixed attribute setting_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:17:11790browse

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


Reply to discussion (solution)

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.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn