设置竖直的分割符【使用div】 (根据屏幕的大小自适应)

 

分割符的设置:

<div id="separator" style="float:left; width:1px;  min-height:100% ; background:#808080;  overflow:hidden" ></div>

 style 设置:

<style type="text/css">
body,html{
margin:0;
padding: 0;
height: 100%;
}
</style>

posted @ 2014-08-08 09:42  哼哼c#  阅读(390)  评论(0编辑  收藏  举报