batchUpload.html
批量上传
.tableStyle {
border: 1px solid blue;
padding: 1px;
height: 45px;
vertical-align: middle;
}
.tableStyle .tdStyle { /* 派生选择器+类选择器 */
border: 1px solid gr...
分类:
Web程序 时间:
2014-12-06 19:32:43
阅读次数:
194
LinearLayout sc = new LinearLayout(this);
// sc.setBackgroundColor(R.color.white);
sc.setBackgroundResource(R.color.black);
sc.setOrientation(LinearLayout.VERTICAL);
// TextView txbg = new TextView(this);
// txbg.setBackgroundDrawable(getResources().getDra...
分类:
其他好文 时间:
2014-12-05 14:20:52
阅读次数:
145
文字旁边搭配图片时,发现图片比文字靠上,原来默认的情况是图片顶对齐而文字底对齐,通过设置css属性可以使得图片与文字对齐。方法一、设置各对象的vertical-align属性,属性说明:baseline-将支持valign特性的对象的内容与基线对齐sub-垂直对齐文本的下标super-垂直对齐文本的...
分类:
其他好文 时间:
2014-12-04 17:49:49
阅读次数:
175
效果:CSS:.dot{width:14px;height:14px;font:12px/18pxArial;border-radius:7px;display:inline-block;vertical-align:middle;position:relative;box-shadow:0px1p...
分类:
Web程序 时间:
2014-12-03 12:08:22
阅读次数:
314
效果:html:一旦你娶了中国太太,就等于娶了她全家,不到半年,她爹、她妈、她二姐、她二姐的孩子就排着队全来了……我好端端的一个美国家庭,一眨眼工夫,就被中国人给占领了。css:#demo{display:table-cell;/*表格单元格*/vertical-align:middle;/*ver...
分类:
其他好文 时间:
2014-12-03 11:51:51
阅读次数:
218
【题目】
Given n non-negative integers a1, a2,
..., an, where each represents a point at coordinate (i, ai). n vertical
lines are drawn such that the two endpoints of line i is at (i, ai) and (i,...
分类:
其他好文 时间:
2014-12-02 10:38:56
阅读次数:
170
//Activity里面编辑布局//LinearLayoutlayout=newLinearLayout(this);//LayoutParamsparam=newLayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT,ViewGroup.LayoutParams.WRAP_CONTENT);//layout.setOrientation(layout.VERTICAL);//TextViewtv=newTextView(this);//tv.setTex..
分类:
其他好文 时间:
2014-12-02 09:06:13
阅读次数:
181
在IE7下,是不支持inline-block元素的,当对块级元素如dl进行inline-block样式设置时,在IE7浏览器是下样式是不会生效的。若要在IE7下实现将块级元素设置为内联元素,可以这样进行设置:*display:inline;*zoom:1; //获取布局在这样设置之后,就能继续设置....
分类:
其他好文 时间:
2014-12-01 20:38:10
阅读次数:
174
li::before{ content:url(./images/icons/yes.png); padding-right:6px; vertical-align: middle; } 可用于在li前面加图片内容
分类:
其他好文 时间:
2014-11-29 18:54:52
阅读次数:
181
Given n non-negative integers a1, a2,
..., an, where each represents a point at coordinate (i, ai). n vertical
lines are drawn such that the two endpoints of line i is at (i, ai) and (i,
0). Fin...
分类:
编程语言 时间:
2014-11-29 10:30:19
阅读次数:
179