1.固定一个层在页面的位置,不受滚动条影响,
属性position:fixed,如:
.tbar{ height:200px;width:60px;background-color:#666;position:fixed;left:10px;top:10px; }
1.固定一个层在页面的位置,不受滚动条影响,
属性position:fixed,如:
.tbar{ height:200px;width:60px;background-color:#666;position:fixed;left:10px;top:10px; }