Skip to content

Instantly share code, notes, and snippets.

@jikeytang
Last active August 29, 2015 14:02
Show Gist options
  • Save jikeytang/18c5cfdc9b06cabc6999 to your computer and use it in GitHub Desktop.
Save jikeytang/18c5cfdc9b06cabc6999 to your computer and use it in GitHub Desktop.
[ CSS ] - 20140612-题目1
用html,css实现以下三种情况的布局:
1. 2列布局:左固定,右自适应。
2. 3列布局:左右固定,中自适应。
3. 2行上下布局,下是左右布局:
a. 头部高固定且位置固定,
b. 下左宽度固定,下右宽度自适应且实现iframe高度自适应,
c. 全屏无横向滚动条,下左,下右内容超出高度时出现纵向滚动条 (可以不考虑ie6,用纯css实现)。
PS:
1. 回复时注意加上下面这句话,才会有语法高亮或格式缩进。
```html
// you code
```
2. 也可以粘贴jsfiddle地址,比如:
http://jsfiddle.net/jikeytang/Rmt8M/
评论支持markdown语法。
[http://jsfiddle.net/jikeytang/Rmt8M/](http://jsfiddle.net/jikeytang/Rmt8M/)
@hjzheng
Copy link

hjzheng commented Jun 12, 2014

@chenfengyanyu 你的答案才应该是第一题的最佳答案

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment