[web] ifraame problem

Started by
1 comment, last by Sander 17 years, 4 months ago
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
Advertisement
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
I tried this once. IIRC IE will hate you for it. FireFox likes it though.

<hr />
Sander Marechal<small>[Lone Wolves][Hearts for GNOME][E-mail][Forum FAQ]</small>

This topic is closed to new replies.

Advertisement