2012-06-29 32 views
0

如何修改此CSS以应用具有固定标题的滚动条?如何添加具有固定标题的滚动条

#gradient-style { 
    font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif; 
    overflow: auto; 
} 

#gradient-style th { 
    font-size: 12px; 
} 

#gradient-style td { 
    height: 20px; 
} 

我的表是这样的:

<table id="gradient-style" align="center"> 
+3

您需要发布与此相关的HTML。 – j08691

+1

请解释“固定标题”的含义。你的意思是你想要在桌上的滚动条,但你只希望桌面内容可以滚动和表头保持不变? –

+0

是的你是正确的 –

回答