码迷,mamicode.com
首页 >  
搜索关键字:div    ( 119410个结果
yii学习笔记(在控制器访问别的类方法)
在当前控制器定义一个actions的方法public function actions(){ return array( // 'captcha'=>array( 'class'=>'CCaptchaAction', 'backColor'=>0xFFFFFF, ), // ...
分类:其他好文   时间:2014-08-05 13:49:19    阅读次数:191
inflate方法与findViewById的区别
LayoutInflater作用是将layout的xml布局文件实例化为View类对象。对于一个没有被载入或者想要动态载入的界面,都需要使用LayoutInflater.inflate()来找 res/layout下的 xml 布局文件,并且实例化为View类对象;获取LayoutInflater的...
分类:其他好文   时间:2014-08-05 13:48:19    阅读次数:192
两种解决IE6不支持固定定位的方法
有两种让IE6支持position:fixed1.用CSS执行表达式*{margin:0;padding:0;}* html,* html body{ background-image:url(about:blank); background-attachment:fixed;}* html ......
分类:其他好文   时间:2014-08-05 13:46:49    阅读次数:260
nginx切割日志
#!/bin/bash## Nginx 日志文件所在的目录LOGS_PATH=/usr/local/nginx/logs## 获取昨天的 yyyy-MM-ddYESTERDAY=$(date -d ”yesterday” +%Y-%m-%d)## 移动文件mv ${LOGS_PATH}/access...
分类:其他好文   时间:2014-08-05 13:44:19    阅读次数:286
PHP:PHP5.4连接SQLSERVER
在PHP5.4的环境下要连接SQLSERVER(2005/2008)数据库,需要以下步骤:1.下载PHP5.4连接SQLSERVER的驱动(两个动态连接库)http://www.microsoft.com/en-us/download/confirmation.aspx?id=20098 解压得到两...
分类:数据库   时间:2014-08-05 13:42:09    阅读次数:477
vc判断是32位编译还是64位编译判断是debug编译还是release编译
来源:http://www.greensoftcode.net/ 发布日期:2014-03-28 点击次数:471 发布者IP:119.119.236.221.判断是debug编译还是release编译。如果_DEBUG定义了表示是debug编译,否则是release编译。2.判断是32位编译还是....
分类:其他好文   时间:2014-08-05 13:41:59    阅读次数:179
windows下Python shell代码自动补全
Unix下实现如题功能用下面的代码:import rlcompleter, readlinereadline.parse_and_bind('tab: complete')但readline不能在win中用,需要为windows编译好的pyreadlinepip install pyreadline...
分类:编程语言   时间:2014-08-05 13:41:09    阅读次数:439
F - To the Max
Given a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1*1 or greater located within th....
分类:其他好文   时间:2014-08-05 13:38:49    阅读次数:218
DIV+CSS IE6/IE7/IE8/FF兼容问题汇总
1.IE8下兼容问题,这个最好处理,转化成ie7兼容就可以。在头部加如下一段代码,然后只要在IE7下兼容了,IE8下面也就兼容了2.flaot浮动造成IE6下面双倍边距问题,这个最常见,也最好处理,!important解决,比如margin-left:10px !important;;margin-...
分类:Web程序   时间:2014-08-05 13:36:39    阅读次数:388
AlertDialog.Builder提示对话框
1 package zyf.EX_Ctrl_3_B; 2 import android.app.Activity; 3 import android.app.AlertDialog; 4 import android.os.Bundle; 5 public class EX_Ctrl_3_B ex....
分类:其他好文   时间:2014-08-05 13:36:29    阅读次数:181
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!