码迷,mamicode.com
首页 >  
搜索关键字:height    ( 24230个结果
C语言——结构体数组的使用案例(如何判断两个矩形是否相交,其中一个是否包含在另外一个里面,点是否在矩形中)
Rect.hstruct CPoint { float x; float y;};typedef struct CPoint CPoint;struct CSize { float width; float height;};typedef struct CSize CSiz...
分类:编程语言   时间:2014-06-28 15:10:15    阅读次数:381
AMD and CMD are dead之KMD.js依赖可视化工具发布
使用 require("MyAapp.DepTree", function (DepTree) { DepTree(({ renderTo: "holder", width: "820", height: "580", data: [ { "name": "System" }, { "nam...
分类:Web程序   时间:2014-06-28 10:47:03    阅读次数:320
HTML--内联元素和块状元素--大全
a{color:#fff; background:#F93;width:100px;height:50px;/*内联元素的宽度高度不起作用--><!--将内联元素转换为块元素*/ display: block;}没有加 display: block; 之前width:100px;height:50p...
分类:Web程序   时间:2014-06-23 00:38:02    阅读次数:420
html5 canvas 学习笔记(一)
一、canvas元素API canvas元素并未提供很多API,实际上他只提供了两个属性与三个方法: 1、canvas元素属性 width 属性:与height 属性: canvas元素绘图表面的宽度,在默认状况下,浏览器会将canvas元素大小设定成与绘图表面大小一...
分类:Web程序   时间:2014-06-23 00:24:13    阅读次数:322
jquery实现轮播插件
这几天用jquery写了两个轮播的插件,功能很简单。第一次尝试写插件,有很多不足的地方,代码如下:注:图片链接请替换掉,配置信息必须加上图片width和height。 轮播动画 1 2 3 4 ...
分类:Web程序   时间:2014-06-23 00:06:16    阅读次数:483
[工作记录] Android OpenGL ES 2.0: square texture not supported on some device
npot texture: non-power-of-two texture.rectangle texture: non-square (height != wdith)在测试Samsumg Galaxy S4的时候, 发现rectangle texture支持不好, 虽然创建成功, 但是绘制有问...
分类:移动开发   时间:2014-06-22 23:17:17    阅读次数:240
【微信公众平台开发】微信刮刮乐,解决三星兼容性问题
刮刮乐jquery插件:wScratchPad 运用wScratchPad插件很快弄出刮刮乐的效果,代码如下: 刮刮乐 $("#scratchpad").wScratchPad({ width:'150',height:'40',color : "#a...
分类:微信   时间:2014-06-22 21:54:17    阅读次数:519
可以拖动的DIV
自由拖动的DIV层方块 #draggable{ background-color:green; font-size:9pt; padding:30px; color:white; width:360px; height:224px; position:absolute; } var rDrag = { o:null, init:function(o){ o.onmoused...
分类:其他好文   时间:2014-06-22 19:28:18    阅读次数:292
android基础之LinearLayout布局
LinearLayout布局:<?xmlversion="1.0"encoding="utf-8"?><LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent"androi..
分类:移动开发   时间:2014-06-21 19:17:45    阅读次数:239
IE6 max-width max-height 不起作用 解决其兼容性问题
.catelistdlddulliimg{width:expression(this.width>228?'228px':true);max-width:228px;height:expression(this.height>160?'160px':true);max-height:160px;}解...
分类:其他好文   时间:2014-06-20 17:50:42    阅读次数:155
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!