首先严重的BS 百毒!我坚决以后不用它了,强烈抵制它!以后用yahoo,用有道,用soso,用什么都不用百毒了。
google真的太冤枉了…. 看见CCAV 和某些国内所谓顶尖大学的学生对你的报道,仿佛就像回到大跃进时期。这是google的悲哀,还是我们的悲哀… 哎~
什么是继承 inherit?
意思就是你在某个elements上添加了以下的css 属性,那么这个 elements 下面的所有子元素都会继承这个css属性。最典型的就是 color 这个属性。现在汇总一下,以后写css的时候,就可以更放心了。
/*常用*/ color:; text-indent:; text-align:; line-height:; list-style-type:; list-style-image:; list-style-position:; list-style:; cursor:; /*不常用*/ direction:; text-transform:; word-spacing:; white-space:; letter-spacing:; caption-side:; border-spacing:; empty-cells:; border-collapse:; speak-header:; page-break-inside:; page:; orphans:; widows:; volume:; speak:; azimuth:; quotes:;
Axure PR 是目前比较流行的 Web产品原型软件啦。今天无意看到一个涂鸦式的产品原型制作软件-Balsamiq Mockups。 这个软件是基于 adobe air 制作的。想试试的朋友,就要先装一下air了。
桌面版下载安装地址:http://www.balsamiq.com/products/mockups/desktop#download
其相关资源下载:http://www.mockupstogo.net/
注册码:
organization name:leexij@gmail.com
Serial Key:eNrzzU/OLi0odswsqslJTa3IzHJIz03MzNFLzs+tMTQyNrcwsTQyAIEa5xpDAIFxDy8=
Balsamiq Mockups 支持 桌面程序、网站、iphone、等各种软件产品原型的制作。
1.桌面程序


2. 网站web产品




3.ipone

4. RIA 产品


现在唯独IE6 这个死家伙不支持min-height 属性,平时在某些页面需要使用到的时候,就出现问题了。目前我想找了一个比较笨的方法实现: 因为IE6 容器的高度是根据容器内容多少而自动增长的。所以只要单独给ie6一个hack 就可以了。
<style type="text/css">
div{
border:1px #000 solid;
min-height:200px;
_height:200px; /*hack 4 ie6*/
}
</style>
<div>
test
</div>
<html>
<head>
<meta http-equiv=";Content-Type"; content="34;text/html; charset=utf-8" />
<title>基于dl dt dd 实现toggle 隐藏显示的方法</title>
<script type="text/javascript"; src="jquery-1.3.2.min.js";></script>
<style type="text/css">
.none{
display:none;
}
dl dt{cursor:pointer; font-weight:bold;}
</style>
</head>
<body>
<dl id="test">
<dt >栏目一</dt>
<dd>1.0</dd>
<dd>1.1</dd>
<dd>1.2</dd>
<dd>1.3</dd>
<dt>栏目二</dt>
<dd>2.1</dd>
<dd>2.3</dd>
<dd>2.3</dd>
</dl>
<script type="text/javascript">
$("#test dt").each(function(){
var dt = $(this);
//找到dt下的dd
var objList =new Array();
var tmpDD = dt.next();
while(tmpDD.attr("tagName")!=null && tmpDD.attr("tagName")!="DT")
{
objList.push(tmpDD);
tmpDD = tmpDD.next();
}
//alert(dt.html()+" 有:"+objList.length+"个dd");
dt.toggle(
function(){
$(objList).each(function(){
$(this).addClass("none");
});
},
function(){
$(objList).each(function(){
$(this).removeClass("none");
});
}
);
});
