设置网页自适应最大最小宽度,超过则隐藏
2014-02-25 14:02
302 查看
#chat{ width:100%; min-width:500px; width:expression_r(document.body.clientWidth < 1000 ? "1000px": "auto" ); bottom: 1px; /*width: auto;*/ height:auto; overflow:hidden; margin-left: auto; margin-right: auto; background:#8FBAE5; text-align:center; }
相关文章推荐
- try语句...
- Word2007文档结构图层级错乱的解决办法(尤其打开2003兼容版本时)
- TMM软件测试成熟度模型
- Choose a destination with a supported architecture in order to run on this device. 模拟器设备问题
- ubuntu 12.04 安装 RMyQL 包
- 关于Application.DoEvents()
- objective -c 第一节
- 【C#】Unicode的流言终结者和编码大揭秘
- spring中xml的javabean的配置
- Oracle练习:块、过程、函数、游标的练习
- CUDA到底是什么???
- C/C++中switch用法的一种替换方式
- ubuntu安装ftp服务器 (二) 总结我自己的一些办法
- C#+AE 判断点是否在面内的方法
- cocos2dx 3.0 ----- __Array
- 使用java连接Mysql 和Using JDBC Statement Objects to Execute SQL
- C/C++中switch用法的一种替换方式
- NtQuerySystemInformation和ZwQuerySystemInformation的区别
- android UI进阶之实现listview中checkbox的多选与记录
- 微软 Remote App