码迷,mamicode.com
首页 >  
搜索关键字:height    ( 24230个结果
Android学习笔记-Activity的布局
线性布局<?xmlversion="1.0"encoding="utf-8"?> <LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical"> <!-- android:id为控件..
分类:移动开发   时间:2014-11-17 19:43:38    阅读次数:283
侧边栏层滚动缓存运动
侧边滚动运动 #div1 { width: 100px; height: 100px; positi...
分类:其他好文   时间:2014-11-17 16:02:23    阅读次数:212
圆角框练习(1)
Document pre { width:100px; display: block; padding: 9.5px; margin: 0 0 10px; font-size: 13px; line-height: 1.42857143; color: #333; word-break: break-all; word-wrap: break-word; background...
分类:其他好文   时间:2014-11-17 16:01:23    阅读次数:210
输入框 最简单的样式
首先是代码.m{ height:30px; border:0; color:#666; width:140px; margin:4px 43px; background:url(images/m.png) no-repeat; padding-left:10...
分类:其他好文   时间:2014-11-17 13:59:37    阅读次数:126
HTML iframe 用法小总结
Iframe用法,下面是一个常规的列子 <iframe?border=2?frameborder=0?width=500?height=500?marginheight=0?marginwidth=0?scrolling=no?src="move-ad.html"> </iframe> 其中: iframe用于设置文本或图形的浮...
分类:Web程序   时间:2014-11-17 12:38:15    阅读次数:182
Android学习笔记-Activity的生命周期
界面activity_main.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_..
分类:移动开发   时间:2014-11-17 12:31:37    阅读次数:295
用纯css写出三角形
1、新建一个元素,随便什么元素,不过我习惯性的会用块元素来做。如果行内元素就display:block它。2、把它的宽高设置为height:0px; width:0px;3、设置边框border属性,用来实现三角形。首先要了解border具体是怎么样的,我写了一个这样的样式:border:50px ...
分类:Web程序   时间:2014-11-17 12:04:49    阅读次数:182
消除ie6 7 输入框上下边与容器间的间距
这个bug很常见 *{ margin: 0; padding: 0;}input{ height: 19px; line-height: 19px; padding: 11px 0 11px 10px; width: 192px; ...
分类:其他好文   时间:2014-11-17 01:43:37    阅读次数:230
多级菜单(CSS)
CSS代码:*{ margin:0; padding:0;}/*静态网页中的导航*/#nav{ background:#eee; width:600px; height:40px; margin:0 auto; /*居中*/ } /*一级菜单css的样式*/ul...
分类:Web程序   时间:2014-11-16 20:07:40    阅读次数:154
HTML学习笔记(七)
1.       如果想让div中的内容(content)垂直居中,可以将line-height的值设置与div的高度相等来实现。 2.       超伪类链接的四种形式: 3.       我们可以通过设置background属性来美化图片按钮,可以设置cursor属性来改变鼠标在按钮上的图像。 4.       首字下沉是使用p:first-letter,注意:letter与后面...
分类:Web程序   时间:2014-11-16 14:46:30    阅读次数:248
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!