首先我们介绍一下HACK原理,就是不同浏览器对字符的识别不同在CSS中常用特殊字符识别表:(1)*:IE6+IE7都能识别*,而标准浏览器FF+IE8是不能识别*的;(2)!important:除IE6不能识别!important外,FF+IE8+IE7都能识别!important;(3)_:除IE...
分类:
Web程序 时间:
2014-07-12 09:01:02
阅读次数:
294
关于CSS对各个浏览器兼容已经是老生常谈的问题了, 网络上的教程遍地都是.以下内容没有太多新颖, 纯属个人总结, 希望能对初学者有一定的帮助.一、CSS HACK 以下两种方法几乎能解决现今所有HACK.1, !important随着IE7对!important的支持, !important ...
分类:
Web程序 时间:
2014-07-11 23:25:34
阅读次数:
342
Now the security has a trend to become more and more important in our daily work, hence I did some researches on some of the topics, and hope to do mo...
分类:
其他好文 时间:
2014-07-11 19:20:52
阅读次数:
283
今天在项目中遇到一个问题,我使用**ol**,并且在css里设置list-style不为none,但是始终显示不了序号,当然最初我认为是css样式层叠被覆盖,但是连最终神器都用上了:```cssol { list-style-type: decimal!important; }```问题却还是没有解...
分类:
其他好文 时间:
2014-07-11 12:52:33
阅读次数:
764
根据FF和IE对一些符号识别的差异,我们可以单独对FF以及IE定义样式,例子:区别IE6与FF: background:orange;*background:blue; 区别IE6与IE7: background:green!important;background:blue; 区别IE7与...
分类:
Web程序 时间:
2014-07-09 16:52:26
阅读次数:
211
1、常见的特殊符号的应用: IE6: _selector{property:value;} selector{property:value;property:value !important;} //IE6 不支持同一选择符中的 !important IE7: +selector{property:...
分类:
Web程序 时间:
2014-07-09 16:42:13
阅读次数:
210
#include
using namespace std;
int partition(int *a,int p,int r)
{
int x=a[r];
int i=p-1;//note i important which is used for
//storage the number smaller than flag x=a[r]
for (int j=p;j<r;j++...
分类:
其他好文 时间:
2014-07-08 21:06:59
阅读次数:
232
Bootloader:u-boot.2009.08分析与移植
4.1:分析u-boot根目录下的Makefile,可以看到uboot编译的顺序如下,由此可知编译执行的第一个文件是cpu/$(CPU)/start.o,又由于是基于arm920t架构的,所以去分析cpu/arm920t/start.S源文件。
# U-Boot objects....order is important (i.e....
分类:
其他好文 时间:
2014-07-08 15:34:46
阅读次数:
151
IE6识别*和_,不识别!important
IE7识别*,不识别_,识别!imortant
而firfox两个都不识别,识别!important
框架用990,非框架用1000
1、设了float:left的元素允许它的右边存在任何元素同行显示,不论是内联元素还是块元素。但它的左边还是不允许存在任何元素与之同行显示,哪怕其它的元素的代码在前,除非也给前面的元素加上float:l...
分类:
Web程序 时间:
2014-07-06 00:47:55
阅读次数:
375
What is the Median?
The Problem
Median plays an important role in the world of statistics. By definition, it is a value which divides an array into two equal parts. In this problem you are ...
分类:
其他好文 时间:
2014-07-03 17:43:53
阅读次数:
250