样式定义:#ContactAbout { height: auto; position:
relative; overflow: hidden; }#sectioncontact { display: block; width: 100%;
position: relative; height: 7...
分类:
Web程序 时间:
2014-05-27 01:32:15
阅读次数:
415
.v_comment
img{ height:36px; height:36px; float:left; padding:1px; margin:2px; border: 1px
solid #ddd; }.v_comment img:hover{border: 1px solid #ccc; -...
分类:
Web程序 时间:
2014-05-27 01:31:52
阅读次数:
264
$(window).scrollTop();
滚动条距顶部距离(页面超出窗口的高度)$(document).scrollTop(); 滚动条到顶部的垂直高度$(document).height()
页面的文档高度$(window).height() 窗口的高度高度
分类:
其他好文 时间:
2014-05-24 07:14:28
阅读次数:
252
Dynamic Flash Messages的类似软件 - 其他jQuery插件 -
开源中国社区 Dynamic Flash Messages
分类:
其他好文 时间:
2014-05-23 11:26:29
阅读次数:
194
戳我去解题Given an array where elements are sorted in
ascending order, convert it to a height balanced
BST.分析:因为BST中序序列是升序的,所以中序遍历序列最中间的元素一定是根节点,然后左右递归构建二叉...
分类:
其他好文 时间:
2014-05-20 11:38:16
阅读次数:
233
line-height可以给某个元素指定一个不带单位的缩放因子,这样它的后代元素就会继承这个缩放因子,再根据自身的字号大小来计算自己的行高(line-height)值,body
{ font-size: 12px; line-height: 1.5;}h1 { font-size: 36px;...
分类:
Web程序 时间:
2014-05-20 09:57:32
阅读次数:
311
十二、组件(component), 动态组件(dynamic-component)
元素把子对象的一些元素与父类对应的表的一些字段映射起来。 然后组件可以定义它们自己的属性、组件或者集合。 ........ 说明:(1)name:
属性名(2)clas...
分类:
系统相关 时间:
2014-05-20 08:20:50
阅读次数:
583
RTTI(Run-Time Type
Information,通过运行时类型信息)程序能够使用基类的指针或引用来检查这些指针或引用所指的对象的实际派生类型.RTTI提供了以下两个非常有用的操作符:(1)typeid操作符,返回指针和引用所指的实际类型。(2)dynamic_cast操作符,将基类类型...
分类:
编程语言 时间:
2014-05-19 15:51:05
阅读次数:
312
for (int k = 0; k
if (((k + 1) % 2) != 0) {
m1 = (MealEntity) list.get(k);
%>
">
src="mealImg/.jpg" width="148"
height="126" border="0" />
:
原价:人民币元
现价:人民币
元
">
...
分类:
其他好文 时间:
2014-05-18 14:07:40
阅读次数:
234
WPF下如果希望界面大小固定不变时,设置很简单:
只需要将窗口中的Width/MaxWidth/MinWidth , Height/MaxHeight/MinHeight 设置成两组一样的值,同时将 ResizeMode设 为 NoResize即可。
例子代码如下所示:
<Window
xmlns="http://schemas.microso...
分类:
其他好文 时间:
2014-05-18 08:53:16
阅读次数:
256