DIV CSS 佈局教程網

 DIV+CSS佈局教程網 >> 網頁腳本 >> CSS入門知識 >> CSS詳解 >> css表頭固定樣式的方法
css表頭固定樣式的方法
編輯:CSS詳解     
這篇文章主要為大家介紹了CSS表頭固定樣式的方法,涉及樣式的相關操作技巧,需要的朋友可以參考下

本文實例講述了CSS表頭固定樣式的方法。分享給大家供大家參考。

具體實現方法如下:


復制代碼代碼如下:
<style type="text/CSS">
/*表頭樣式*/
.scll {
position: relative;
top: expression(this.offsetParent.scrollTop);
//background: url(../img/tab_15.gif) repeat-x left;
background-color: #BCF4EC;
text-align: center;
vertical-align: middle;
text-indent: 5px;
}

/*div樣式*/
.h_500 {
width: 100%;
overflow: auto;
height: 80%;/**根據具體的屏幕分辨率調整*/
border: 0px;
}

/*細線表格*/
.TABLE {
margin-top: 0px;
margin-bottom: 3px;
margin-bottom: 3px;
border-top: 0px;
border-bottom: 1px solid silver;
}
</style>

希望本文所述對大家的CSS樣式設計有所幫助。

XML學習教程| jQuery入門知識| AJAX入門| Dreamweaver教程| Fireworks入門知識| SEO技巧| SEO優化集錦|
Copyright © DIV+CSS佈局教程網 All Rights Reserved