By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,742 Members | 1,044 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,742 IT Pros & Developers. It's quick & easy.

Scrollable table widget with fixed header

P: n/a
Mel
Scrollable table widget with fixed header

is there such thing ?

thanks,
Mel
Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Mel wrote:
Scrollable table widget with fixed header

is there such thing ?

thanks,
Mel

no, but you can 'build' such widgets just by using <div> elements as
containers for tables and using CSS. No J(ava)Script required.

cu, Michael
Jul 23 '05 #2

P: n/a
Michael Schmitt wrote:
Mel wrote:
Scrollable table widget with fixed header

is there such thing ?
[...]

<http://learn.to/quote>
no, but you can 'build' such widgets just by using <div> elements as
containers for tables
No. The goal was a *fixed header*. To achieve that with `div' elements
you would need to have the `div' element as a direct descendant of the
`table' element which creates invalid HTML as `div' is not part of
`table''s content model.
and using CSS. No J(ava)Script required.


Correct:

<table>
<thead>
...
</thead>

<tfoot>
...
</tfoot>

<tbody style="height:50%; overflow:scroll">
...
</tbody>
</table>

Alas, this still waits for implementation in some widely used browsers.
PointedEars
Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.