fixed header not working on simple table
fixed header not working on simple table
itsmaheshp
Posts: 4Questions: 0Answers: 0
here is the code:
[code]
New Document
$(document).ready( function () {
new FixedHeader( document.getElementById('dataTable') );
} );
body {margin:5px;}
p {margin:30px 0px 30px 0px;}
table.display {border-width: 1px;border-spacing:0px ;border-style: solid;border-color: #cfcfcf;border-collapse: collapse;background-color: transparent;}
table.display th {border-width: 1px;padding: 1px;border-style: solid;border-color: #cfcfcf;white-space: normal; background-color: #afafaf;text-align:left;}
table.display td {border-width: 1px;padding: 1px;border-style: solid;border-color: #cfcfcf;text-align: left;vertical-align:middle;white-space:nowrap;}
School sdfsdf
Date sdfd
Time1 sdf
Time2 sd
Time3 sd
Facility 3453453534
School1
01.01.2009
08:00
10:00
11:00
Location of Event
.............. so on till end of the table.
[/code]
[code]
New Document
$(document).ready( function () {
new FixedHeader( document.getElementById('dataTable') );
} );
body {margin:5px;}
p {margin:30px 0px 30px 0px;}
table.display {border-width: 1px;border-spacing:0px ;border-style: solid;border-color: #cfcfcf;border-collapse: collapse;background-color: transparent;}
table.display th {border-width: 1px;padding: 1px;border-style: solid;border-color: #cfcfcf;white-space: normal; background-color: #afafaf;text-align:left;}
table.display td {border-width: 1px;padding: 1px;border-style: solid;border-color: #cfcfcf;text-align: left;vertical-align:middle;white-space:nowrap;}
School sdfsdf
Date sdfd
Time1 sdf
Time2 sd
Time3 sd
Facility 3453453534
School1
01.01.2009
08:00
10:00
11:00
Location of Event
.............. so on till end of the table.
[/code]
This discussion has been closed.
Replies
Allan
The problem, when I scroll down, the header doesn't scroll smoothly in IE 8. But it works fine in Chrome, FF & Safari
Mahesh
Allan
pls help if you can.
thanks
Allan