Solved

Fixed Title in a Table

Posted on 1998-10-02
3
496 Views
Last Modified: 2012-05-05
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
Comment
Question by:Ricarddo
3 Comments
 

Accepted Solution

by:
trashy earned 30 total points
ID: 1838356
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
 

Author Comment

by:Ricarddo
ID: 1838357
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
 

Expert Comment

by:Hochhauser
ID: 9702832
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now