码迷,mamicode.com
首页 >  
搜索关键字:hidden member    ( 5793个结果
让div内容垂直居中
一、行高(line-height)法如果要垂直居中的只有一行或几个文字,那它的制作最为简单,只要让文字的行高和容器的高度相同即可,比如:p { height:30px; line-height:30px; width:100px; overflow:hidden; }这段代码可以达到让文字在段落中垂...
分类:其他好文   时间:2014-08-18 12:26:44    阅读次数:199
两列布局,一列定宽,一列宽度自适应
方法一:body{ margin: 0;}.container{ height: 300px; overflow: hidden;}.left{ width: 200px; height: 300px; background: red; position: absolute; left:0; top...
分类:其他好文   时间:2014-08-18 12:15:04    阅读次数:160
jquery-图片轮播(新手请大神指教一下)
这是我刚学jquery写的,感觉效果不是很好。#scrollPics{ height: 330px; width: 980px; margin-bottom: 10px; overflow: hidden; position:relative;}.slider ul{ ...
分类:Web程序   时间:2014-08-17 22:45:53    阅读次数:202
jquery页面加载效果
此为有时页面加载很慢时体验效果很不好而写的加载动画CSS样式:#loading{position:fixed;_position:absolute;top:50%;left:50%;width:124px;height:124px;overflow:hidden;background:url(wai...
分类:Web程序   时间:2014-08-17 12:57:32    阅读次数:162
F#编译器的一个Bug
[]typeTestStruct = valmutable _x:int new(x) = {_x = x} member this.Set(x) = this._x ]去掉,执行结果是10,这就正确了。结构里,Set函数运行没有报错,但是实在上并没有改变到_x的值。因此得出结论:F#中,结构里面的...
分类:其他好文   时间:2014-08-17 11:44:22    阅读次数:293
HDU 1686 Oulipo(KMP)
Problem Description The French author Georges Perec (1936–1982) once wrote a book, La disparition, without the letter 'e'. He was a member of the Oulipo group. A quote from the book: Tout avait...
分类:其他好文   时间:2014-08-16 19:50:11    阅读次数:239
form 提交数组的一些trick
在给服务器传值时form利用 $.post( "/member/member/book/" + event_id, { tickets: tickets, csrf_ppw_token : csrf_ppw_token, event_id : ...
分类:其他好文   时间:2014-08-16 12:27:30    阅读次数:191
CSS 高度自适应
当html,body的高度为百分比时,的高度根据父元素来计算,的高度根据可视窗口的高度度来计算,所以在上面的示例中 html,body{ height:100%; overflow:hidden;} 表示、的高度为整个内容可视窗口的高度,并且内容超出一屏时隐藏滚动条,而下面又使用了 body{ o....
分类:Web程序   时间:2014-08-15 09:20:27    阅读次数:244
POJ 1200 Crazy Search(Hash)
Description Many people like to solve hard puzzles some of which may lead them to madness. One such puzzle could be finding a hidden prime number in a given text. Such number could be the number of d...
分类:其他好文   时间:2014-08-14 23:55:56    阅读次数:329
发现的问题
在做项目的时候出现了这个异常:ognl.NoSuchPropertyExceptionjava.lang.IllegalAccessException: Class ognl.OgnlRuntime can not access a member of引起这种原因就是属性名称的不规范!!比如 "nT...
分类:其他好文   时间:2014-08-14 20:19:29    阅读次数:139
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!