473,320 Members | 1,732 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Scroll table but not header

Can anyone think of a way to create a table such that the top or X rows of
the table do not scroll while the rest do (overflow:scroll) without creating
two separate tables and trying to align the columns?

Thanks!
Jon
Jul 21 '05 #1
5 12835
*Jon Glazer* <jg***************@adconn.com>:

Can anyone think of a way to create a table such that the top or X rows
of the table do not scroll while the rest do (overflow:scroll)


@media screen/*, handheld*/ {
tbody {overflow: scroll}
}
@media print, projection {
table {position: relative}/*?*/
thead, tfoot {position: fixed}
}

Should be listed in the better FAQLs by now (with the usual "hardly
supported" and technical explanation).

--
"Computers are useless. They can only give you answers."
Pablo Picasso
Jul 21 '05 #2
Thanks, can you give this to me in straight HTML/CSS?

THanks!
jon
"Christoph Paeper" <ch**************@nurfuerspam.de> wrote in message
news:opsi3xqvfwb8p244@crissov...
*Jon Glazer* <jg***************@adconn.com>:

Can anyone think of a way to create a table such that the top or X rows
of the table do not scroll while the rest do (overflow:scroll)


@media screen/*, handheld*/ {
tbody {overflow: scroll}
}
@media print, projection {
table {position: relative}/*?*/
thead, tfoot {position: fixed}
}

Should be listed in the better FAQLs by now (with the usual "hardly
supported" and technical explanation).

--
"Computers are useless. They can only give you answers."
Pablo Picasso

Jul 21 '05 #3
*Jon Glazer* <jg***************@adconn.com>:

Thanks, can you give this to me in straight HTML/CSS?


No, I think I was verbose enough. You should be able to find any needed
additional information within a few minutes of search.

--
The Hitchhiker's Guide to the Galaxy:
"In the beginning the Universe was created.
This has made a lot of people very angry
and been widely regarded as a bad move."
Jul 21 '05 #4
Ok, the info I've found so far was its not currently supported. Ah well.

I'll try another route.
"Christoph Paeper" <ch**************@nurfuerspam.de> wrote in message
news:opsi30rekkb8p244@crissov...
*Jon Glazer* <jg***************@adconn.com>:

Thanks, can you give this to me in straight HTML/CSS?


No, I think I was verbose enough. You should be able to find any needed
additional information within a few minutes of search.

--
The Hitchhiker's Guide to the Galaxy:
"In the beginning the Universe was created.
This has made a lot of people very angry
and been widely regarded as a bad move."

Jul 21 '05 #5
Jon Glazer wrote:
Can anyone think of a way to create a table such that the top or X rows of the table do not scroll while the rest do (overflow:scroll) without creating two separate tables and trying to align the columns?

Thanks!
Jon


Try this

http://www.imaputz.com/cssStuff/bigFourVersion.html

-- I've actually got it bookmarked and it seems to do exactly what
you're looking for...

Cheers,
Travis

Jul 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: george1069 george1069 | last post by:
Hi, I'm repeating <fo-table> using loop and there is <fo-table-header> to generate a title for each of the table generated. In one of the output pages, a new table is generated near to the...
1
by: Satyabrata | last post by:
Can anybody provide me some pointers on how to modify a JSP / CSS / table.htc to make the subscript / superscipt functionality available for a table header? Though the row values show the...
1
by: patelbrijeshn | last post by:
Hi , I want to display a huge table. So I want to make the table header visible on the screen even as the user scrolls the window. I am using div tag to create the floating table header. Here is...
0
by: kaushik.jaimalani | last post by:
Hi W3 Priority 1 checklist points for Table Header 5.2 For data tables that have two or more logical levels of row or column headers, use markup to associate data cells and header cells. ...
2
by: vunet.us | last post by:
This beautiful code allows a table header to be not scrollable in IE. Since Firefox does not support this CSS method expression(...), the code does not do the desired work in Firefox or other...
1
by: archnavish | last post by:
Hi, Is it possible to set focus to a table header during page load? My web page is basically a search-display kind of a page. The search results get displayed in a tabular fashion once the search...
8
by: shapper | last post by:
Hello, I created a table and applied an image as background in table header: ..MyTable th { font: normal 0.7em verdana,arial,helvetica,sans-serif; background: url(Images/Header.jpg) repeat-x...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.