Jump to content
  • Advertisement
Sign in to follow this  
ballack

[web] ifraame problem

This topic is 4235 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
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

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!