.x { border: solid 1px red; width: 100px; height:
100px; position: relative; background-color: ...
分类:
Web程序 时间:
2014-06-13 13:13:47
阅读次数:
262
将8Bit灰度数据转化为Bgr24的彩色图像8bit灰度数据:byte[] GrayValue
长度:width * height PixelFormat pixelFormat = PixelFormats.Bgr24; byte[]
colorvalues = G...
分类:
其他好文 时间:
2014-06-12 23:13:37
阅读次数:
255
样式:a{text-decoration: none;}*{margin:0;
padding:0;}/*容器设置*/.player { width:216px; height:248px;
background:url(http://i2.itc.cn/20120117/2cc0_da8f6c82...
分类:
Web程序 时间:
2014-06-12 22:19:02
阅读次数:
409
css:.wraper{ width:980px; height:2048px; margin:0
auto; background:#ccc; }/*返回头部*/#backToTop a{ display:block;
cursor:pointer;width:25px; height:26px;...
分类:
Web程序 时间:
2014-06-12 21:52:32
阅读次数:
362
解决div嵌套时IE8和FF无法自适应高度
还是做类似新浪评论回复的时候,将回复的DIV嵌套在一个DIV中,然后点击回复的时候显示子DIV,这是父DIV的高度是会变化的,于是我将父DIV的高度设置为height:auto;可是问题就出现了,在IE6和IE7下父DIV的高度可以自适应而在IE8和FF下...
分类:
其他好文 时间:
2014-06-12 16:11:42
阅读次数:
196
在head标签中加入以上meta声明。具体属性可以谷歌/百度。
我查了下viewport,有几个属性:width - viewport的宽度 height - viewport的高度initial-scale -
初始的缩放比例minimum-scale - 允许用户缩放到的最小比例maximum-...
分类:
移动开发 时间:
2014-06-12 10:24:54
阅读次数:
430
1.AS代码<?xmlversion="1.0"encoding="utf-8"?>
<mx:Applicationxmlns:mx="http://www.adobe.com/2006/mxml"layout="absolute"
width="200"height="200"creationComplete="initApp()">
<mx:Script>
<![CDATA[
importmx.controls.Alert;
importf..
分类:
Web程序 时间:
2014-06-10 23:45:06
阅读次数:
341
首先下载lua源码包,然后分别是make,make linux,make
install注意如果没有make
install,那么在#include时,会报找不到lua.h文件的错误。网上找到一段源码:func.lua--变量定义width=1;height=2;--lua函数定义,实现加法func...
分类:
编程语言 时间:
2014-06-10 16:19:01
阅读次数:
323