Sign in to follow this  

[web] ifraame problem

Recommended Posts

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

Share this post

Link to post
Share on other sites
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.


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this