div{width:100%;height:500px;background-image:url('2.png');background-size:cover;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod...
分类:
其他好文 时间:
2014-06-27 20:52:59
阅读次数:
207
关于我们| .footer{ position:relative; overflow:hidden;}.ft{ height:75px; background:#ff...
分类:
其他好文 时间:
2014-06-26 23:57:53
阅读次数:
281
1 currentStyle 可以获取行间样式,但是不兼容 其他浏览器用getComputedStyle(div,null)这个ie低级版本不兼容; if(div.currentStyle){ } else{} 复合样式(background)与单一样式(width) currentStyle 不能...
分类:
Web程序 时间:
2014-06-25 17:08:55
阅读次数:
226
ie6和ie7#tip{*background:black;/*IE7背景变黑色*/_background:orange;/*IE6背景变橘色*/}IE8和IE9:root .test { color:#963\9; } /* IE9 only */ firefox@-moz-document ur...
分类:
Web程序 时间:
2014-06-25 13:36:38
阅读次数:
267
#defineDARK_BACKGROUND[UIColorcolorWithRed:151.0/255.0green:152.0/255.0blue:155.0/255.0alpha:1.0];-(void)tableView:(UITableView*)tableViewwillDisplayCell:(UITableViewCell*)cellforRowAtIndexPath:(NSIndexPath*)indexPath{cell.backgroundColor=DARK_BACKGROUND;}
分类:
其他好文 时间:
2014-06-25 10:48:56
阅读次数:
264
使QScrollArea的背景透明,乍看很easy,其实却是一个目前百度上百不出来的问题;最容易想到的,用qss:scrollArea->setStyleSheet("background-color:transparent;");但是这样会使scrollArea所包含的所有子控件的背景也变成透明,...
分类:
其他好文 时间:
2014-06-24 13:34:31
阅读次数:
230
a{color:#fff; background:#F93;width:100px;height:50px;/*内联元素的宽度高度不起作用--><!--将内联元素转换为块元素*/ display: block;}没有加 display: block; 之前width:100px;height:50p...
分类:
Web程序 时间:
2014-06-23 00:38:02
阅读次数:
420
修改MyEclipse编辑框背景色
1、未修改之前,编辑框背景色
2、依次操作,“Window--->Preferences”
3、选择“General--->Editors--->Text Editors”,找到右侧的“Background color”,
取消“System Default”,单击“Color”,选中喜欢的颜色...
分类:
系统相关 时间:
2014-06-22 21:37:45
阅读次数:
302
自由拖动的DIV层方块
#draggable{
background-color:green;
font-size:9pt;
padding:30px;
color:white;
width:360px;
height:224px;
position:absolute;
}
var rDrag = {
o:null,
init:function(o){
o.onmoused...
分类:
其他好文 时间:
2014-06-22 19:28:18
阅读次数:
292
Oracle 11g之前,当数据库出现问题时,往往第一时间需要看alert日志,看看里面记录了哪些错误,可以给我们提示。alert文件名则
是alert_.log,文件存储路径由参数background_dump_dest决定,例如:
SQL> show parameter background_dump_dest
NAME...
分类:
数据库 时间:
2014-06-22 11:43:46
阅读次数:
296