时间:2021-07-01 10:21:17 帮助过:35人阅读
1 .Phone2title{ 2 width:100%; 3 height:30px; 4 line-height:30px; 5 /*text-align:left;*/ 6 /*background-color:RGB(239,101,25);*/ 7 background-color:#b81c22; 8 position:fixed; 9 _position:absolute; 10 *position:absolute; 11 top:0px;12 color:white; 13 font-size:18px;14 z-index:99999;15 /*border:1px blue solid;*/16 17 /*_top:expression(document.documentElement.clientHeight + document.documentElement.scrollTop - this.offsetHeight);*/ 18 vertical-align: middle;19 }
div绝对居上
1 .Phone2title{ 2 width:100%; 3 height:30px; 4 line-height:30px; 5 /*text-align:left;*/ 6 /*background-color:RGB(239,101,25);*/ 7 background-color:#b81c22; 8 position:fixed; 9 _position:absolute; 10 *position:absolute; 11 top:0px;12 color:white; 13 font-size:18px;14 z-index:99999;15 /*border:1px blue solid;*/16 17 /*_top:expression(document.documentElement.clientHeight + document.documentElement.scrollTop - this.offsetHeight);*/ 18 vertical-align: middle;19 }