Solved

Fixed Title in a Table

Posted on 1998-10-02
3
500 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Adding a countdown to HTA 12 111
Text too large in Chrome 17 82
How to get chosen background-color on every line? 10 42
HTML 5 Input Type Numeric 5 31
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

738 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