码迷,mamicode.com
首页 >  
搜索关键字:no-repeat    ( 2408个结果
无聊js画了个菱形
function repeat(str, count) { return count '; }; document.write(s);}diamond('A', 5);
分类:Web程序   时间:2014-07-11 23:17:14    阅读次数:213
IE中图片不显示火狐中可以显示解决方法
我的背景图片是png格式的,在IE中不显示但是在火狐和chrom中显示正常,以下是代码:body{ background: url(image/bj.jpg) no-repeat scroll 0px 0px;}更改图片类型为jpg格式就可以了
分类:其他好文   时间:2014-07-07 12:22:14    阅读次数:194
[CSS]三层嵌套的滑动门
原理:最外层放水平平铺的背景,第二层放左边,第三层放右边,注意这个做法背景图不能透明结构: 样式:.module-title { height:33px; background: url(../images/more-title.png) 0 -33px repeat-x; text-inden.....
分类:Web程序   时间:2014-07-01 18:23:28    阅读次数:235
Lua学习(3)——控制结构
Lua提供了一组传统的,小巧的控制结构,包括用于条件执行的if,用于迭代的while、repeat和for。所有的控制结构都有一个现实的终止符号:if for while 都以end结尾,repeat以until作为结尾。控制结构中的条件表达式可以使任何的值,Lua将所有false和nil的值视为“...
分类:其他好文   时间:2014-07-01 12:41:38    阅读次数:253
SICP 习题 (1.43)解题总结
SICP 习题 1.43 是前面两道题的延续,习题要求我们定义一个过程(repeat f n) ,其中f是一个单参数过程,题目要求我们通过repeat过程将过程f调用n次,注意是嵌套调用n次,不是连续调用n次。就是说结果应该是(f ( f ( … (f x) …))),而不是(begin (f x) (f x) (f x) … (f x))。题目还提醒我们使用习题1.42所定义的compose方法...
分类:其他好文   时间:2014-07-01 09:13:03    阅读次数:201
Codeforces 442B Kolya and Tandem Repeat(暴力)
题目连接:Codeforces 442B Kolya and Tandem Repeat 题目大意:给出一个字符串,可以再添加n个字符,问说可以找到SS的子串形式,S尽量长。 解题思路:枚举长度和起点判断即可,超过len的可以作为任意值,但是超过len+n就不行了。 #include #include const int N = 205; int n, len; char s...
分类:其他好文   时间:2014-06-30 20:21:48    阅读次数:220
Repeat Number
Problem B: Repeat NumberTime Limit:1 SecMemory Limit:32 MBDescriptionDefinition: a+b = c, if all the digits of c are same ( c is more than ten),then w...
分类:其他好文   时间:2014-06-30 14:59:33    阅读次数:508
Codeforces Round #253 (Div. 2) B - Kolya and Tandem Repeat
本题要考虑字符串本身就存在tandem,如测试用例aaaaaaaaabbb3输出结果应该是8而不是6,因为字符串本身的tanderm时最长的故要考虑字符串本身的最大的tanderm和添加k个字符后最大的tanderm#include #include #include #include #inclu...
分类:其他好文   时间:2014-06-23 06:00:10    阅读次数:328
AngularJS-ng-model+ng-repeat实现搜索框
{{count.name }}{{count.age}} ...
分类:Web程序   时间:2014-06-19 07:29:29    阅读次数:289
【IE兼容性】background:transparent IE中Bug,不能选中input输入框,出现这个问题主要是IE8
先解释下,background:transparent,默认在IE上会被解析成 background: none transparent scroll repeat 0% 0%  transparent表示透明无颜色  none 表示没有设置背景图片 repeat 表示图片重复 scroll 表示背景图片随浏览器下拉而滚动 0%水平位置在x0 0%垂直位置在y0...
分类:其他好文   时间:2014-06-16 22:29:27    阅读次数:298
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!