多栏布局时高度自适应:父级over-flow:hidden; 内容外层:padding-bottom:9999px;margin-bottom:-9999px;
或者父级布局position:relative;内容区position:absolute;top:0;left:0;bottom:0...
分类:
其他好文 时间:
2014-12-08 19:29:11
阅读次数:
192
无标题文档.div1{ width:420px;}.div1 li { list-style: none; float:left; border:1px solid #EAF3FA; background:#FBFCFF; margin:10px; width:120px; height:40px; line-height:40px; padding-left:10px;}.div span{pa...
分类:
Web程序 时间:
2014-12-08 17:44:19
阅读次数:
206
index.html
{required:true,minlength:5,equalTo:'#password'} 在class里面如果需要使用{}必须加metadata.js
-->
自定义扩展
-->
label.error {
padding-left: 2px;
padding-bottom: 2px;
font-weight: bold;...
分类:
Web程序 时间:
2014-12-08 15:41:16
阅读次数:
228
.aspx代码如下:
#tbl_summary{ border:1px solid black;}
#tbl_summary td,#tbl_summary th
{ padding:10px; border:1px solid silver;}
td span...
分类:
Web程序 时间:
2014-12-08 12:27:30
阅读次数:
225
一、使用js操作css属性的写法1、对于没有中划线的css属性一般直接使用style.属性名即可。如:obj.style.margin,obj.style.width,obj.style.left,obj.style.position2、对于含有中划线的css属性,将每个中划线去掉并将每个中划线后的...
分类:
编程语言 时间:
2014-12-08 09:15:59
阅读次数:
132
1.带"layout"的属性是指整个控件而言的,是与父控件之间的关系,如 layout_gravity 在父控件中的对齐方式, layout_margin 是级别相同的控件之间的间隙等等;不带"layout" 的属性是指控件中文本的格式,如gravity是指文本的对齐方式等等,而其中文本的格式又受制...
分类:
其他好文 时间:
2014-12-07 19:04:04
阅读次数:
179
margin-top ,margin-right ,margin-bottom ,margin-left 。方向为 上右下左,顺时针方向,值可以是:百分比(基于父对象总高度或宽度的百分比)长度值(定义一个固定的边距)auto(浏览器设定的值)。margin指的是元素边界外的距离,padding指的是...
分类:
其他好文 时间:
2014-12-07 19:00:21
阅读次数:
148
HTML 默认的排版方式,不能够满足需求。所以我们要更高级的表现形式。这些是盒模型的变易之道。 ????还记得吗,盒模型有三个关键点,margin border padding 。这里讲述的变易的方法,还要从这个盒模型做起。为...
分类:
Web程序 时间:
2014-12-07 16:32:56
阅读次数:
207
.prod_description_sizechart table{margin-bottom:0;width:992px;max-width:none;border-collapse:collapse;background-color:transparent;table-layout:fixed;...
分类:
Web程序 时间:
2014-12-07 12:34:37
阅读次数:
262
DIV+CSS布局教程 这里设置了padding属性介绍一下padding的用法,padding将设置文本与边框的距离。 Content-Left Content-Main Footer
分类:
其他好文 时间:
2014-12-07 01:14:29
阅读次数:
121