有谁知道 cmake 是否有任何努力来生成 Visual Studio Code 项目(不要与 Visual Studio 混淆)?IE
cmake -G "Eclipse CDT4 - Unix Makefiles"
大多数人告诉我不要创建一个包含表格但使用div和CSS的页面布局.很酷 - 我可以坚持下去.很抱歉有一个基本问题.
我希望将中心(内容)拉伸到可见页面的左侧,右侧,顶部和底部.如果内容增长超出可见页面的T,L,R,B div,则可以滚动.左,右,顶部,底部div固定在可见页面中的位置.摆弄,我永远无法到达那里.
关于如何攻击这个的任何建议?
|--------------------------------| <--- Visible page
| Top |
|--------------------------------| Right/left fixed with stretched height
|------| Center/content |------| Top/bottom fixed height stretched width
|------| |------|
|------| ^ |------|
|------| | |------|
| Left | <--stretch--> | Right|
|------| | |------|
|------| v |------|
|------| |------|
|--------------------------------|
| Bottom |
|--------------------------------|
Run Code Online (Sandbox Code Playgroud)
下面是基本代码,没有div的定位.我玩过各种位置/绝对/相对等,但总是会从顶部和底部div中得到一些奇怪的溢出.
<body>
<style>
.container {
border: 3px solid #FF00FF;
width: 100%;
height: 100%;
}
.top {
background: red;
height: 3em;
width: 100%; …Run Code Online (Sandbox Code Playgroud)