<iframeframeborder="no"border="0"marginwidth="0"marginheight="0"width=330height=450src="http://music.163.com/outchain/player?type=0&id=378787615&auto=1&height=430"></iframe>http://www.ganggebanyt.com/news/MD120/
分类:
其他好文 时间:
2016-05-13 17:28:47
阅读次数:
138
<!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <title>图片宽度自适应</title> <style type="text/css"> img{ max-width: 100%;//一个max-width解决图片响应式 ...
分类:
其他好文 时间:
2016-05-13 17:16:38
阅读次数:
229
一、浮动left元素向左浮动right元素向右浮动none元素不浮动inherit从父级继承浮动属性#fd{
width:100px;
height:100px;
background-color:red;
float:left;
}
#sd{
width:100px;
height:100px;
background-color:blue;
float:left;
}
#td{
width:100px;
height:100px;
backgr..
分类:
Web程序 时间:
2016-05-13 15:41:52
阅读次数:
155
返回字符串s的副本,并将首字符变为大写 返回s中间部分的一个子字符串,长度为width,并使用空格或可行的char(长度为1的字符串进行填充 返回字符串s串(或在s的start:end分片中)子字符串t出现的次数 返回一个bytes对象,该对象使用默认的编码格式或指定的编码格式来表示该字符串,并根据 ...
分类:
其他好文 时间:
2016-05-13 14:14:22
阅读次数:
161
在手机排版时,内容绝对居中用到的特别频繁。 1. 如何让未知尺寸的图片在已知宽高的容器内水平垂直居中? .test{ position:relative; width:200px; height:200px; text-align:center; vertical-align:middle; bac ...
分类:
Web程序 时间:
2016-05-13 13:30:31
阅读次数:
168
主页面<title>无标题文档</title> <style type="text/css"> #list{ width:250px; height:200px} #jieguo{ width:250px; height:200px} .x{float:left} </style> </head> ...
分类:
其他好文 时间:
2016-05-13 13:01:36
阅读次数:
134
css3 box-sizing属性 box-sizing属性可以为三个值之一:content-box(default),border-box,padding-box。 content-box,border和padding不计算入width之内 padding-box,padding计算入width内 ...
分类:
其他好文 时间:
2016-05-13 12:18:50
阅读次数:
131
var btn = UIButton(frame: CGRect(x: 200, y: 200, width: 100, height: 100)) btn.setTitle("jicheng", forState: UIControlState.Normal) //btn.setTitleColo ...
分类:
编程语言 时间:
2016-05-13 11:47:11
阅读次数:
425
var SearchBtn = uibutton() SearchBtn.frame.origin.x //获取坐标x SearchBtn.frame.origin.Y // 获取坐标Y SearchBtn.frame.size.width //获取宽度 SearchBtn.frame.size.h ...
分类:
编程语言 时间:
2016-05-13 11:36:55
阅读次数:
3750
let lable1 = UILabel(frame: CGRect(x: CGFloat(self.view.bounds.width/2-20), y: CGFloat(history.frame.origin.x + 12), width: 390.0, height: 24.0)) labl ...
分类:
编程语言 时间:
2016-05-13 10:28:41
阅读次数:
137