wesbos
wesbos

Reputation: 26317

Fixed Table Height in IE?

I'm not sure if this is possible as I rarely work with tables, but I'm looking for a way to have a fixed height on my table and have everything else scroll over.

Demo works in Chrome and Firefox, but not IE: http://jsfiddle.net/wesbos/nxqQH/1/

Any help?

Upvotes: 1

Views: 1929

Answers (2)

Vincent
Vincent

Reputation: 117

You can also add the scroll to tbody instead of table. (if you can't use div as mentioned by MCB)

Upvotes: -1

Lenar Hoyt
Lenar Hoyt

Reputation: 6159

Try to embed the table in a div which has a overflow:scroll style attribute.

Upvotes: 5

Related Questions