How to create a table with fixed header
[table style="width: 300px" cellpadding="0" cellspacing="0"]
[tr]
[td]Column 1[/td]
[td]Column 2[/td]
[/tr]
[/table]
[div style="overflow: auto;height: 100px; width: 320px;"]
[table style="width: 300px;" cellpadding="0" cellspacing="0"]
[tr]
[td]Value 1[/td]
[td]Value 2[/td]
[/tr]
[tr]
[td]Value 1[/td]
[td]Value 2[/td]
[/tr]
[tr]
[td]Value 1[/td]
[td]Value 2[/td]
[/tr]
[tr]
[td]Value 1[/td]
[td]Value 2[/td]
[/tr]
[tr]
[td]Value 1[/td]
[td]Value 2[/td]
[/tr]
[tr]
[td]Value 1[/td]
[td]Value 2[/td]
[/tr]
[/table]
[/div]
Thanks
Helpondesk team
No comments:
Post a Comment