html:
亲,请竖屏观看本屏内容,谢谢^_^
css:
/* 判断手机横竖屏 */
@media screen and (orientation:portrait) {
/* css[竖向定义样式] */
#cover1{display: none;width: 100%;height: 100%;backg...
分类:
移动开发 时间:
2014-12-24 13:33:21
阅读次数:
321
JS Bin 发送验证码cssa{ display:box; display:-webkit-box; box-pack:center; box-align:center; width:100px; height:100px; -webkit-box-pack:center; -webki...
分类:
其他好文 时间:
2014-12-24 13:08:40
阅读次数:
117
参考《C语言入门经典》 1 struct horse /*没有horse,就是无名的结构体*/ 2 { 3 int age; 4 int height; 5 }Slever; /*slever是这种结构体类型(horse类型)的一个变量*/ 6 7 struct horse Da...
分类:
其他好文 时间:
2014-12-24 11:16:28
阅读次数:
118
早上没事干,感觉字体阴影的效果还是好看的,那么就来一个小demo吧!1、这是html 简单的有一个标签或者盒子都可以我爱考试2、css样式,用css3编写样式,感觉还不错。.demo11 { border: 1px dashed #f2b; height: 150px; wid...
分类:
其他好文 时间:
2014-12-24 09:49:46
阅读次数:
128
动态设置图片控件的宽度和高度:imageView.getLayoutParams().width=600;imageView.getLayoutParams().height=400;设置图片(src):imageView.setImageResource(resId);android获得屏幕高度和...
分类:
其他好文 时间:
2014-12-24 00:02:35
阅读次数:
417
设置屏幕上显示的宽和高。void size() { NSSize size; //也可以写成CGSize size; size.width = 100; size.height = 90; size = NSMakeSize(90, 80); size = CGSizeMake(10, ...
分类:
其他好文 时间:
2014-12-23 21:06:15
阅读次数:
131
解决网页在IE7中的兼容情况:*如:.content{height:30px;/*正常显示效果*/ *height:20px;/*IE7显示效果*/}解决网页在IE8中的兼容情况:在网页头部做个判断即可。 如果是在IE8浏览器下就用类名以.ie8为前缀的样式。如:.content{height:.....
分类:
Web程序 时间:
2014-12-23 19:12:36
阅读次数:
220
一、 网页手机wap2.0网页的head里加入下面这条元标签,在iPhone的浏览器中页面将以原始大小显示,并不允许缩放。 width - viewport的宽度 height - viewport的高度 initial-scale - 初始的缩放比例 minimum...
分类:
Web程序 时间:
2014-12-23 19:04:16
阅读次数:
126
需要文件jquery.accordion.css和jquery.accordion.js。jquery.accordion.css: 1 .accordion h5 { 2 height: 35px; 3 line-height: 35px; 4 margin: -1px 1...
分类:
其他好文 时间:
2014-12-23 19:03:44
阅读次数:
305
题目链接:http://www.lydsy.com/JudgeOnline/problem.php?id=1071题目很好,居然写了很久,题解找了真多;主要两种做法:O(n^2lgn),通过优先堆维护,首先 等式变换:A*height+B*speed-C 8 #include 9 #includ.....
分类:
其他好文 时间:
2014-12-23 17:08:46
阅读次数:
146