<!DOCTYPE html >
<html>
<head>
<title>顶部固定</title>
<style>
* {
margin: 0;
padding: 0;
}
.topbar-wrap {
background-color: #005BAC;
width: 100%;
position: fixed;
_position: static;
top: 0;
z-index: 99999;
height: 36px;
line-height: 36px;
_height: 36px;
}
</style>
</head>
<body>
<div class="topbar-wrap">
</div>
<div class="topbar-blank"></div>
<div style="height: 1000px;"></div>
</body>
</html>
顶部固定CSS
猜你喜欢
转载自blog.csdn.net/wupd2014/article/details/71042540
今日推荐
周排行