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
RicarddoAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.