css常用总结

1.固定一个层在页面的位置,不受滚动条影响,

属性position:fixed,如:
 .tbar{
      height:200px;width:60px;background-color:#666;position:fixed;left:10px;top:10px;
      }

posted on 2014-11-11 22:58  liuxuze  阅读(85)  评论(0编辑  收藏  举报

导航