Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Fixed Title in a Table

Posted on 1998-10-02
3
Medium Priority
?
504 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 60 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
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).

618 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