码迷,mamicode.com
首页 >  
搜索关键字:max-width    ( 346个结果
轮播图
html: css:.posterTvGrid{position:relative;height:280px;}.posterTvGrid img{max-width:none;max-height:none;border:0 none;background:#888;}.posterTvGrid....
分类:其他好文   时间:2014-08-19 18:37:15    阅读次数:270
响应式网站
可以在 链接样式中,直接写屏幕的宽度@media screen and (max-width:1880px) { #minm .autocw { width: 1180px; }}@media screen and (max-width:1250px) { #minm .autocw { w...
分类:Web程序   时间:2014-08-08 20:54:26    阅读次数:251
IE6支持兼容min-width、max-width CSS样式属性
IE6支持兼容min-width、max-width CSS样式属性让IE6支持max-width、IE6支持min-width样式(体感音乐)我们在写CSS的时候,常常会遇到让一个图片或一个布局不能超出设定一定宽度范围值,有时需要设置一个最小宽度,接下来由DIVCSS5为大家总结的解决IE6不支持...
分类:Web程序   时间:2014-07-31 16:21:26    阅读次数:239
图片超过DIV宽度自适应
.main_con img{ max-width: 610px; height: auto; cursor: pointer; border: 0px double #cccccc; padding: 2px; zoom: expression( function...
分类:其他好文   时间:2014-07-25 14:27:11    阅读次数:177
兼容IE6、IE7的min-width、max-width
警句:珍爱生命,远离IE 很多时候,我们会想要设置容器的最小宽度或最大宽度,但IE6不支持min-width、max-width属性怎么办? 别着急,跟着我慢慢来,会让你捉急的还很多呢 首先我们来看看标准属性min-width、max...
分类:其他好文   时间:2014-07-22 08:34:35    阅读次数:257
webapp设置适应pc和手机的页面宽高以及布局层叠图片文字
html: 我趣旅行网-美剧迷 Pisode css: html,body{ height:100%; margin:0; padding:0; } .wrapper{ position:relative; margin: 0 auto; max-width: 500px; min-...
分类:移动开发   时间:2014-07-17 17:20:56    阅读次数:262
关于textarea在safari chrome下可拖动大小的问题
解决方法:resize: none;或者:max-width:300px;max-height:300px;width:300px;height:300px;
分类:其他好文   时间:2014-06-26 12:27:35    阅读次数:194
IE6 max-width max-height 不起作用 解决其兼容性问题
.catelistdlddulliimg{width:expression(this.width>228?'228px':true);max-width:228px;height:expression(this.height>160?'160px':true);max-height:160px;}解...
分类:其他好文   时间:2014-06-20 17:50:42    阅读次数:155
!!!手机网页开发
移动篇:@media screen and (min-width:540px){#news_detail .pinglun-form { margin:0 auto;width: 540px;}}@media screen and (max-width:540px){#news_detail .pi...
分类:移动开发   时间:2014-06-15 06:26:51    阅读次数:400
如?何?屏?蔽?C?h?r?o?m?e?、?S?a?f?a?r?i?等?W?e?b?k?i?t?内?核?浏?览?器?文?本?框?和?文?本?域?的?高?亮?边?框?、?可?变?大?小?等?自?动?外?观?处?理
1、高亮外框的取消 input { outline: none; } textarea { outline: none; } 如上,使用CSS的outline就可以实现 2、文本域缩放功能的取消 也是使用CSS,具体有两种方法 textarea { width: 400px; max-width: ...
分类:其他好文   时间:2014-06-12 10:53:22    阅读次数:225
346条   上一页 1 ... 32 33 34 35 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!