针对五个模块的不同类型布局demo,基本上概括了所有需求,很有代表性。注意dtd为strict模式,编码是已改为utf。
个人觉得虽然实用有限,但作为技术参考,一定程度上总结了很多解决方案。
固定代码架构,分为五个部分 eader, content, navigation, other stuff and footer
HTML 代码:<div id="container">
<div id="header">Header</div>
<div id="wrapper">
<div id="content">Content</div>
</div>
<div id="navigation">Navigation</div>
<div id="extra">Extra stuff</div>
<div id="footer">Footer</div>
</div>
作者是意大利设计师,标题不好翻译,看示意图加例子就明白了。
screen.width-300) {this.width=screen.width-300;this.alt='本图片已被缩小,点击查看原大小图片。';}" border=0Three percentage columns (n.01)
http://www.rexsong.com/blog/attachme...youtgala01.htm
screen.width-300) {this.width=screen.width-300;this.alt='本图片已被缩小,点击查看原大小图片。';}" border=0Three percentage columns (n.02)
http://www.rexsong.com/blog/attachme...youtgala02.htm
screen.width-300) {this.width=screen.width-300;this.alt='本图片已被缩小,点击查看原大小图片。';}" border=0Three percentage columns (n.03)
http://www.rexsong.com/blog/attachme...youtgala03.htm
screen.width-300) {this.width=screen.width-300;this.alt='本图片已被缩小,点击查看原大小图片。';}" border=0Three percentage columns (n.04)
http://www.rexsong.com/blog/attachme...youtgala04.htm
screen.width-300) {this.width=screen.width-300;this.alt='本图片已被缩小,点击查看原大小图片。';}" border=0Three percentage columns (n.05)
http://www.rexsong.com/blog/attachme...youtgala05.htm
screen.width-300) {this.width=screen.width-300;this.alt='本图片已被缩小,点击查看原大小图片。';}" border=0Three percentage columns (n.06)
http://www.rexsong.com/blog/attachme...youtgala06.htm
screen.width-300) {this.width=screen.width-300;this.alt='本图片已被缩小,点击查看原大小图片。';}" border=0Three fixed columns (n.7)
http://www.rexsong.com/blog/attachme...youtgala07.htm
screen.width-300) {this.width=screen.width-300;this.alt='本图片已被缩小,点击查看原大小图片。';}" border=0Three fixed columns (n.8)
http://www.rexsong.com/blog/attachme...youtgala08.htm
screen.width-300) {this.width=screen.width-300;this.alt='本图片已被缩小,点击查看原大小图片。';}" border=0Three fixed columns (n.9)
http://www.rexsong.com/blog/attachme...youtgala09.htm
screen.width-300) {this.width=screen.width-300;this.alt='本图片已被缩小,点击查看原大小图片。';}" border=0Three fixed columns (n.10)
http://www.rexsong.com/blog/attachme...youtgala10.htm
screen.width-300) {this.width=screen.width-300;this.alt='本图片已被缩小,点击查看原大小图片。';}" border=0Three fixed columns (n.11)
http://www.rexsong.com/blog/attachme...youtgala11.htm
screen.width-300) {this.width=screen.width-300;this.alt='本图片已被缩小,点击查看原大小图片。';}" border=0Three fixed columns (n.12)
http://www.rexsong.com/blog/attachme...youtgala12.htm
screen.width-300) {this.width=screen.width-300;this.alt='本图片已被缩小,点击查看原大小图片。';}" border=0Liquid, secondary columns fixed-width (n.13)
http://www.rexsong.com/blog/attachme...youtgala13.htm
screen.width-300) {this.width=screen.width-300;this.alt='本图片已被缩小,点击查看原大小图片。';}" border=0Liquid, secondary columns fixed-width (n.14)
http://www.rexsong.com/blog/attachme...youtgala14.htm
screen.width-300) {this.width=screen.width-300;this.alt='本图片已被缩小,点击查看原大小图片。';}" border=0Liquid, secondary columns fixed-width (n.15)
http://www.rexsong.com/blog/attachme...youtgala15.htm
screen.width-300) {this.width=screen.width-300;this.alt='本图片已被缩小,点击查看原大小图片。';}" border=0Liquid, secondary columns fixed-width (n.16)
screen.width-300) {this.width=screen.width-300;this.alt='本图片已被缩小,点击查看原大小图片。';}" border=0