全屏 CSS 布局挑战(带页眉和页脚的多列)
我对 CSS 全屏布局做了相当多的研究,但我似乎找不到像我想做的事情。我正在寻找带有页眉、页脚、多列和侧边栏的全屏布局。这是一个 ASCII 模型,然后是一个 Photoshop 模型。有人有什么想法吗?我还没有找到可行的全屏布局技术。
+-----------------------+-------+
| | |
+-------------+---------+ +
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
+-------------+---------+-------+
| |
+-------------------------------+
那么告诉我,你认为这可以如何实现?我对 CSS 3 或 HTML 5 选项持开放态度,因为跨浏览器兼容性是一个好处,但不是必需的(WebKit 是目标平台)。
I've done quite a bit of research on CSS fullscreen layouts I just couldn't seem to find something like what I'm trying to do. I'm looking for a fullscreen layout with a header, footer, multiple columns, and a sidebar. Here's an ascii model and then a photoshop mockup. Anyone have any ideas? I'm yet to find a fullscreen layout technique to work.
+-----------------------+-------+
| | |
+-------------+---------+ +
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
+-------------+---------+-------+
| |
+-------------------------------+
So tell me, how do you think this could be accomplished? I'm open to CSS 3 or HTML 5 options as cross-browser compatibility is a bonus, but not a necessity (WebKit is the target platform).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在这里查看下面的代码:
http://jsfiddle.net/davinciwanab/nX4eq/
See the below code in action here:
http://jsfiddle.net/davinciwanab/nX4eq/
这是一个粗略的线框
http://jsfiddle.net/samccone/UYeEr/
here is a rough wireframe
http://jsfiddle.net/samccone/UYeEr/