//透明度
filter: alpha(opacity=60);
-moz-opacity: 0.6;
-khtml-opacity: 0.6;
opacity: 0.6;
//字数限制的样式
样例1:
<div style='width:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;'>12312312312312312312312</div>
样例2:
<style>
/*字符长度限定*/
.stringWidthLimit
{
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}
</style>
<div class='stringWidthLimit' style='width:80px;'>testtesttesttestslkjdflskdjflsjfsdlkj</div>
似乎只有div可以
//同时为多个样式表定义
body, html, #allmap
{
width: 100%;
height: 100%;
overflow: hidden;
margin: 0;
}