所以,它是2010年,我仍然不知道如何在CSS中做这个布局..
对不起,如果这有明显的答案,我感谢您提供的任何帮助.
我已经看到了部分解决的紧密解决方案,但并非所有这些组合在一起.
alt text http://img203.imageshack.us/img203/6096/layoutc.png
啊,我挣扎了一段时间......然而,结果比预期的要容易得多.
A {
position: absolute;
top: 0;
left: 0;
height: #px;
width: #px;
}
B {
position: absolute;
top: {height of A};
left: 0;
width: #px;
bottom: {height of C};
overflow-y: scroll; /* note that the scrollbar will always be visible */
}
C {
position: absolute;
left: 0;
width: #px;
bottom: 0;
height: #px;
}
D {
position: absolute;
top: 0;
left: {width of A};
right: 0;
height: #px;
}
E {
position: absolute;
top: {height of D};
left: {width of B};
right: 0;
bottom: {height of F};
overflow-y: scroll;
}
F {
position: absolute;
left: {width of F};
right: 0;
bottom: 0;
height: #px;
}
Run Code Online (Sandbox Code Playgroud)
请注意,#px应该替换为大小.希望这可以帮助!