Home > Web Front-end > HTML Tutorial > css固定div头部不随滚动条滚动_html/css_WEB-ITnose

css固定div头部不随滚动条滚动_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:17:48
Original
1120 people have browsed it

给div加浮动:
Copy after login
position:fixed;
Copy after login
固定宽度,高度,距离头部,左部为0:<br />width: 99%; <br />height: 80px;
Copy after login
top:0; <br />left: 0;
Copy after login
Copy after login

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template