Hey guys,
I'm trying to make a scrollable table as follows:
table is inside a div that is scrollable, both horiz and vert
above that div is another div, containing the table headers.
As the user scrolls the main div horizontally, the headers should move accordingly.
http://www.ruimtemaker .nl/test/index.html
It does work as i wanted now, only thing is the alignment of the two table columns. The more columns, the more it's off...
Does anyone have any tips on how to get the two tables aligned in a better way?
Thanks,
2 1612
well i guess you can use CSS to keep alignment of your tables same. define a class for a table and call the same class in both tables. so you can call your class in the DIV, something like this
<DIV class="your class name">
<table>
<tbody>
</tbody>
</table>
</DIV>
Hey guys,
I'm trying to make a scrollable table as follows:
table is inside a div that is scrollable, both horiz and vert
above that div is another div, containing the table headers.
As the user scrolls the main div horizontally, the headers should move accordingly.
http://www.ruimtemaker .nl/test/index.html
It does work as i wanted now, only thing is the alignment of the two table columns. The more columns, the more it's off...
Does anyone have any tips on how to get the two tables aligned in a better way?
Thanks,
I had a similar query just a few days back and here is the response I got from this forum! It might be of some help to you!
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Matt Kruse |
last post by:
This is a typical layout, but I have specific requirements. I'm trying to
figure out a) if it's possible to meet the requirements and b) if so, how.
+---------------+
| header |
+---------------+
| body |
| (scrollable) |
+---------------+
| footer |
|
by: Michael Schuerig |
last post by:
I'm trying to do something seemingly very simple, but it's brought me
close to crushing my head on the keyboard. All I want is a table where
the head row is fixed and the body columns below are scrollable (with
the ordinary scrollbars, no less). Whatever I try, the columns in the
head and the body aren't aligned; the widths are computed...
|
by: david.joyce |
last post by:
I am aware that v7 Static Scrollable Cursors do not work with
pseudo-conversational CICS because of the temp work file being
destroyed but will v8 Dynamic Scrollable Cursors work with
pseudo-conversational CICS due to these cursors directly using the base
table?
|
by: RJN |
last post by:
Hi
Sorry for posting again.
I have a datagrid which is put inside a div tag to make it scrollable. I
need to page the datagrid. The page numbers appear at the bottom of the
datagrid and has to be scrolled down completely to see the page number
links. The page number should always be visible outside the scroll bar.
Basically I want to...
|
by: pmud |
last post by:
Hi,
I have a web page (asp.net, code:c#). I havean html table with text boxes.
Based on the user input , records are displayed in the data grid below it.
Now the datagrid has a large no. of columns. & depending on what the user
enters, the data grid can grow very large. So to avoid scrolling the whole
page, I just want the data grid to be...
| |
by: Keimo Repo |
last post by:
Hello
I would need some advice, even just speculations...
A customer of ours insists on a couple of customer specific design
features for our existing multi-customer web application:
- A top header with a dropdown menu which does not scroll when the page
is scrolled.
- A lower detail part of the screen (table) where the headers stay,...
|
by: abctech |
last post by:
Helo Friends,
I am a novice Java programmer, I'm working with Jsp + Javascript to develop a web application.I only have basic Html knowledge and I mostly use "FrontPage" to develop my web pages but currently my webpage requires some dHtml and CSS fundamentals hence I'm posting a query in this forum expecting some guidance,
I have a floating...
|
by: since |
last post by:
I figured I would post my solution to the following.
Resizable column tables.
Search and replace values in a table. (IE only)
Scrollable tables.
Sortable tables.
It is based on a lot examples I found on the web. Works in IE and mozilla.
http://www.imaputz.com/cssStuff/bigFourVersion.html
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |