I would suggest to make it with only div s and not with a table.. then u can do it easly like:
<style>
.row {
float: left;
width: 990px;
overflow: hidden;
}
.row .col {
float: left;
width: 490px;
}
.row .col.first {
width: 200px;
}
.row .col.last {
width: 300px;
}
</style>
<script type="text/javascript">
[...]
SF.deleteRow = function(selector) {
$(selector)
.find( .row )
.animate({ height: 0 },"fast", "linear", function() {
$(this).remove();
});
};
[...]
</script>
<div class="row even">
<div class="col first">[....]</div>
<div class="col">[....]</div>
<div class="col last">[....]></div>
</div>
<div class="row odd">
<div class="col first">[....]</div>
<div class="col">[....]</div>
<div class="col last">[....]></div>
</div>
<div class="row even">
<div class="col first">[....]</div>
<div class="col">[....]</div>
<div class="col last">[....]></div>
</div>
<div class="row even">
<div class="col first">[....]</div>
<div class="col">[....]</div>
<div class="col last">[....]></div>
</div>
这只是一个例子。 由于在<代码>上出现超支, 阶级是隐蔽的,当高点为0时,就会显示任何情况。
If you just wanna use a table it will be a little bit harder!
答案只是建议使用四舍五入而不是表。 i 还要使用浮标,因为其更容易对当时未变物体的成分进行估算(我的意见)。