fixed真的是一个很好的属性。特别是做弹层的时候。可惜的是“国内主流浏览器”IE6大大不支持。
一般的我们都会通过CSS中的表达式来解决这个问题。
.fixed {
position:absolute;
left:expression(eval(document.documentElement.scrollLeft));
top:expression(eval(document.doc...
分类:
其他好文 时间:
2014-07-22 23:03:15
阅读次数:
318
Little Vasya has received a young builder’s kit. The kit consists of several wooden bars, the lengths of all of them are known. The bars can be put one on the top of the other if their lengths are the...
分类:
其他好文 时间:
2014-07-22 23:01:53
阅读次数:
323
查询数据库中第五条数据到第十条数据,分两种情况:
1,ID是连接的,当然这种情况比较好查。直接SELECT就可以了,取ID大于5小于10就可以了,
这种情况比较少。
2,ID不是连接的,如果要取第五条数据到第十条数据,就得从SQL查询SELECT着手
select top 10 * from TB1 where Id not in (select top 5 Id ...
分类:
数据库 时间:
2014-05-02 22:58:20
阅读次数:
597
Shaass has decided to hunt some birds. There are n horizontal electricity wires aligned parallel to each other. Wires are numbered 1 to n from
top to bottom. On each wire there are some oskols sitti...
分类:
其他好文 时间:
2014-05-02 20:48:26
阅读次数:
462
这道题,采用动态规划算法。from top to
down,把到每个节点的最小路径和都求出来。下面是AC代码: 1 /** 2 * Given a triangle, find the minimum path
sum from top to bottom. 3 * Each ...
分类:
其他好文 时间:
2014-05-02 12:19:23
阅读次数:
382
1.列表框中标题栏(Column)的添加创建一个List
Control,其ID为IDC_LIST,在其Styles属性项下的View项里选择Report、Align项里选择Top、Sort项里选择None.然后在该List所在对话框的类(头文件)里创建ClistCtrl的一个对象m_list然后在...
分类:
其他好文 时间:
2014-05-02 01:50:52
阅读次数:
420
对于任意非空集合$C$,都有一个锥与其关联,称作$C$的极锥(polar
cone),定义如下:\begin{align*} C^* = \{ \boldsymbol{y} \ | \ \boldsymbol{y}^\top
\boldsymbol{x} \leq 0, \forall \bol.....
分类:
其他好文 时间:
2014-05-01 22:44:08
阅读次数:
1251
Android SlidingMenu 开源项目导入
http://blog.csdn.net/top_code/article/details/17336203Android SlidingMenu
开源项目使用示例(一)http://blog.csdn.net/top_code/article/...
分类:
移动开发 时间:
2014-05-01 10:27:48
阅读次数:
358
--跟踪文件读入到表中分析
SELECT * INTO ZGSJY
FROM fn_trace_gettable('E:\wxxcdbprofiler.trc', default);
--某时间内,最耗时SQL
select TOP 100 SUBSTRING(Textdata,1,660) as '名称',
count(*) as '数量', sum(duration/1000) as '总执行...
分类:
数据库 时间:
2014-04-30 22:37:39
阅读次数:
327
好久不写CSS代码 感觉忘的差不多了,代码就是要多敲才行的。就行武林中的武者一样,每天都要勤加练习才可。
正好写写博客,就当复习复习。
position 主要是用来 元素的定位方式
static : 无特殊定位,对象遵循HTML定位规则
absolute : 将对象从文档流中拖出,使用left,right,top,bottom等属性进行绝对定位。而其层叠通过z-index属性定义。此...
分类:
Web程序 时间:
2014-04-29 13:45:20
阅读次数:
354