XML布局<RelativeLayoutxmlns: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"android:paddingBottom="@dimen/activity_vertical_margin"an..
分类:
其他好文 时间:
2015-02-27 01:34:17
阅读次数:
148
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such tha...
分类:
其他好文 时间:
2015-02-23 16:38:13
阅读次数:
141
XML布局<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"android:orientation="vertical"><TextViewstyle="@style..
分类:
其他好文 时间:
2015-02-14 01:13:52
阅读次数:
133
题意:统计字母的个数,以“*”号输出 1 #include 2 #include 3 #include 4 int main() 5 { 6 char str[4][100]; 7 char map[100][100]; 8 int i,j; 9 int a[100]...
分类:
其他好文 时间:
2015-02-09 22:58:17
阅读次数:
154
让div里面的多行文本垂直居中的方法:div{height:100px;width:100px;border:solid 1px red;text-align:center; display:table-cell;vertical-align:middle}下面是网上好不容易找的多种办法:看到问此问...
分类:
Web程序 时间:
2015-02-06 20:22:19
阅读次数:
274
999img { /* ... */ vertical-align: text-bottom;}
分类:
Web程序 时间:
2015-02-06 18:47:08
阅读次数:
210
main.xml代码:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"...
分类:
移动开发 时间:
2015-02-06 13:21:22
阅读次数:
211
题目描述: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 ...
分类:
其他好文 时间:
2015-02-05 10:56:24
阅读次数:
173
CSS2中常用的属性:text-indent:首行缩进;vertical-align:垂直对齐方式;white-space:空格处理方式;line-height:设置行高;CSS3新增文本属性:text-overflow:clip:溢出的部分裁切掉;ellipsis:显示省略标记(...) //该属...
分类:
Web程序 时间:
2015-02-03 14:51:56
阅读次数:
194
最近几天仔细研究了一下vertical-align这个属性,结果让我大吃一惊,这个很“资深”的CSS标准竟然在各个浏览器里面的表现都各不相同。vertical-align的值有点多,包括 baseline sub supper top text-top bottom text-bottom midd...
分类:
其他好文 时间:
2015-02-03 14:44:20
阅读次数:
233