[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 505
  • Last Modified:

Fixed Title in a Table

Hi!
I'd like to know how can I keep a fixed title for an HTML table, I mean, you can scroll down the data lines but the title will remain on the page.

Thanks,

Ricardo
0
Ricarddo
Asked:
Ricarddo
1 Solution
 
trashyCommented:
It's not possible with just plain HTML table, but you can use frames.
Put your header table in the upper frame and the contents of the table in the lower frame.
This way you can scroll down the lower frame while you still see the header in the upper frame.
But make sure that you specify the column width the same in the header and the content table.
0
 
RicarddoAuthor Commented:
Trashy,
I was thinking about it (two frames), and even so, I thought I could find another way to do it.
But that's ok.

Thanks.
0
 
HochhauserCommented:
We wanted t ogo this route also, however, the bottom frame and the top frame kept getting out of synch and the numbers below the headers became misaligned.  

Any other thoughts?
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now