瀑布流
*{
margin: 0px;
padding:0px;
}
.box{
position: relative;
top:0px;
}
ul li{
list-style-type: none;
position...
分类:
Web程序 时间:
2014-08-01 16:17:01
阅读次数:
294
CSS盒子模式具备的属性: 内容(content)、填充(padding)、边框(border)、边界(margin)。从上面的例子来看:内容即对应盒内的物品;填充对应盒内为了防止物品破碎的填充物;边框则是盒子的纸壳部分;边界就是纸壳外围的间隙了。
标准流,是指各元素没有特殊规则时的排列方式。它分为两类:块级元素和行内元素。二者的区别在于块级元素拥有自己的区域,而行内元素没有。...
分类:
Web程序 时间:
2014-08-01 10:54:20
阅读次数:
305
Software License
.box { overflow:hidden; width:96%; margin: 0 auto; padding-top: 20px;}
.lan { overflow:hidden; margin-bottom:20px; color:#2f2f2f; background-color:#eee;}
...
分类:
移动开发 时间:
2014-07-31 20:57:17
阅读次数:
332
很早以前了解过当元素是固定宽度和高度的时候,水平垂直高居中的方法可以设置margin的负值来使其居中,这个负值是元素的宽和高的一半,比如宽高是100px,那么就用margin-left:-50px;margin-top:-50px这样的写法。但如果这个元素的宽高是用百分比表示呢?如果使用百分比来设置...
分类:
Web程序 时间:
2014-07-31 16:17:36
阅读次数:
227
英文词组强制换行word-wrap:break-word超宽图居中自适应.header{height:425px;width:100%;margin-left:50%;}.top1{height:65px;margin:0 auto;background:url(../img/header.jpg)...
分类:
其他好文 时间:
2014-07-31 13:11:16
阅读次数:
220
CSS代码: .floatDiv { right: 0; bottom: 50%; position: absolute; z-index: 100; margin-right: 10px; } 代码使用: 浮动DIV 代码效果:
分类:
Web程序 时间:
2014-07-30 11:41:33
阅读次数:
181
<!doctype html> <html> <head> ??? <meta charset="UTF-8"> ??? <title>Document</title> ??? <style type="text/css"> ???????? body{ ??????????? margin: 0; ?????????...
分类:
编程语言 时间:
2014-07-30 10:15:53
阅读次数:
271
Android表格布局本身没有边框,不过可以通过背景色的设置可以实现表格边框的显示。首先可以设置TableRow的背景色,然后设置内容的背景色。根据它们的颜色差就出现了边框。只要微调Content与TableRow的margin和pading属性就可以了!调的过程真是烦人!下次不做这种工作了~呜呜!...
分类:
移动开发 时间:
2014-07-30 00:17:42
阅读次数:
358
Jquery 操作 Html Table 是很方便的,这里对表格的基本操作进行一下简单的总结。首先建立一个通用的表格css 和一个 表格Table:table{ border-collapse: collapse; border-spacing: 0; margin-right: ...
分类:
Web程序 时间:
2014-07-29 10:32:56
阅读次数:
485
spin.js,ruby上使用例子<divid="spinBody">
<div>
<%form_tag"/login",:id=>"login_form"do-%>
<tablewidth="100%"cellpadding="3"style="margin-top:15px;">
<tr>
<thstyle="width:80px;"><%=t"a.loginid"%></th>
<td..
分类:
Web程序 时间:
2014-07-28 16:47:24
阅读次数:
294