检查Partiton Scheme是否mark Next Used FileGroup,需要使用一个system view:sys.destination_data_spaces,如果存在Next Used FileGroup,那么视图返回的Partition的个数会比Partition Funct...
分类:
其他好文 时间:
2015-12-11 18:31:52
阅读次数:
235
1、开关灯效果:varoBody=document.getElementById("bodyEle");oBody.onclick=function(){varbg=this.style.backgroundColor;switch(bg){case"white":this.style.backgr...
分类:
Web程序 时间:
2015-12-09 16:50:27
阅读次数:
201
Kingdom of Black and WhiteTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5583DescriptionIn the Kingdom of Black a...
分类:
其他好文 时间:
2015-12-08 18:05:46
阅读次数:
222
css部分:overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;width是一个固定宽度。对于低版本的Firefox,有两种方法解决。1、使用jQueryellipsisplugin插件$(document).ready(function(){$(‘.ellipsis‘).ellipsis();}2、使用ellipsis.xml..
分类:
Web程序 时间:
2015-12-07 18:48:25
阅读次数:
151
Problem DescriptionIn the Kingdom of Black and White (KBW), there are two kinds of frogs: black frog and white frog.Now N frogs are standing in a line...
分类:
其他好文 时间:
2015-12-02 00:35:38
阅读次数:
249
background: -moz-linear-gradient(top, blue, white);//-webkit-linear-gradient(top, blue, white)谷歌线性渐变,-moz-火狐浏览器,top为方向,blue为起点颜色,white为结束颜色topleftback...
分类:
Web程序 时间:
2015-11-30 19:59:59
阅读次数:
139
图片与文字标题组成的无序列表,会因为标题长度的不同,而出现换行.这样就出现图片无法左对齐的问题.可以这样,一,加上这个css样式.nowrap{white-space:nowrap;overflow:hidden;}二,或用程序逻辑判断.比如循环到第四个图片时,添加一个hr换行符标签.hr{background:#ddd;color:#ddd;..
分类:
其他好文 时间:
2015-11-29 06:40:09
阅读次数:
202
Document 首页 首页 首页 首页连接css文件和js文件控制a标签代码a{color:black;}a:hover{color:#FFF}.change{background-color:f73760;}.normal{background-color:white;color:#000...
分类:
其他好文 时间:
2015-11-28 13:28:30
阅读次数:
111
强制不换行div{white-space:nowrap;}自动换行div{ word-wrap: break-word; word-break: normal; }强制英文单词断行div{word-break:break-all;} =================================...
分类:
Web程序 时间:
2015-11-25 13:10:36
阅读次数:
173
首先对之前的一篇文章进行一点补充。 之前的那篇叫做“强制span不换行”。当时只是实现了功能,并不知其所以然。最近学习了一点页面制作的知识,对原理有了些许了解。对于单行文本,实现溢出不换行并以省略号表示可以完全通过css实现,代码如下:/*处理文本的空白字符,使其不自动换行*/white-...
分类:
其他好文 时间:
2015-11-24 20:38:36
阅读次数:
207