@Fady有正确的主意,有点...
因此,此处的标题似乎与具有滚动条的内容是分开的。
大概的概念。
--- Header width Fixed Height
|
|
--- Main Content - with a set height and overflow-y set to auto.
实际写出来的是以下内容:
html
<header>Header Content here</header>
<main>Main Content here</main>
的CSS
header {
height: 50px;
}
main {
height:500px;
overflow: auto;
}
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句