所以,它是2010年,我仍然不知道如何在CSS中进行这种布局..
很抱歉,如果这有明显的答案,我感谢您提供的任何帮助。
我已经看到了部分内容的紧密解决方案,但并非所有这些结合起来。
alt text http://img203.imageshack.us/img203/6096/layoutc.png
答案 0 :(得分:5)
啊,我挣扎了一段时间......结果比预期的要容易得多。
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;
}
请注意,#px应替换为大小。 希望这有帮助!