Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Freeze pane in a html table within a div

    I came across of some code, but some only works in IE and not Firefox. It should be able to work in both browsers. Also in the page I need to use a <div style="height:100%; overflow:auto; "> before I want to create the table so that the header row is always visible. Please help

  • #2
    Banned
    Join Date
    Feb 2011
    Posts
    2,699
    Thanks
    13
    Thanked 395 Times in 395 Posts
    Before you can set a % height on an element, all of its ancestors must also have a height set, otherwise the browser won't know what height to take a % of.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •