[web] ifraame problem
Hi all,
I am given a HTML code which has a <iframe> . in this Iframe they are displaying a table. and we are able to scroll .this table also has Headers.
Right now ,when we scroll even the headers also moves up. so the users cant see the table header when they scroll down.
I am asked to modify the code so that the users can see the header everytime, even if they scroll down.
can anyone help me with this?
Glen
I suggest:
1. Remove the iframe. It's not necessary.
2. Ensure that the table has a correct thead and tbody element in it
3. On the tbody element, set the CSS property "overflow: auto".
You can look all this up.
I've no idea on which browsers this will work (if any), but it sounds right.
Mark
1. Remove the iframe. It's not necessary.
2. Ensure that the table has a correct thead and tbody element in it
3. On the tbody element, set the CSS property "overflow: auto".
You can look all this up.
I've no idea on which browsers this will work (if any), but it sounds right.
Mark
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement