473,910 Members | 5,613 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

TBODY scrollable

Adi
Hi,
I made a TBODY scrollable but I have a problem,
If there is a "Select" boxes in the table it puts the select boxes on
top of the Table head when scrolling.
Any idea if that can be fixed?
Thanks
Jul 23 '05 #1
2 2249
Adi wrote:
Hi,
I made a TBODY scrollable but I have a problem,
If there is a "Select" boxes in the table it puts the select boxes on
top of the Table head when scrolling.
Any idea if that can be fixed?
Thanks


Try putting them in a tfoot.

--
Rob
Jul 23 '05 #2
Ivo
"Adi" asks
I made a TBODY scrollable but I have a problem,
If there is a "Select" boxes in the table it puts the select boxes on
top of the Table head when scrolling.
Any idea if that can be fixed?
Thanks


It 's the old problem of elements which are not built by the browser but
borrowed from the OS, they don't listen to z-indeces or other style
properties. You may notice the same with most form controls in some
browsers. Iframes suffered from the same thing until IE5.5 iirc. One
workaround is to note the position of each select element in the tbody so
you can calculate when one is about to overlap the thead and it is time to
remove it. Another, equally cumbersome solution, is to place your content in
an iframe...
HTH
--
Ivo
Jul 23 '05 #3

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

Similar topics

4
6601
by: None | last post by:
i checked the archives of this group and found that, so far, no-one has posted a working css solution to making a <tbody> block scrollable, using the overflow property. the purpose is to create scrolling data under fixed-position column headers aligned with the data columns. actually, the best solution posted was as described above, but it was found not to work in any known UA. i suspect it was an implementation problem and not an error...
0
1523
by: Dave Mausner | last post by:
i checked the archives of this group and found that, so far, no-one has posted a working css solution to making a <tbody> block scrollable, using the overflow property. the purpose is to create scrolling data under fixed-position column headers aligned with the data columns. actually, the best solution posted was as described above, but it was found not to work in any known UA. i suspect it was an implementation problem and not an error...
5
2173
by: Brian Henry | last post by:
Hello, I want to make a control that has a scrollable Gantt type display (not really one but will look similar to one) this is going to be custom drawn (i already have the drawing procedure completed for the overriden onpaint event) but the problem is this can be a very long scrollable viewport (part that scrolls inside the control) while the control will be relatively 800x600 in size)... i tried to do this with a panel scrolling inside...
3
14199
by: Seni Seven | last post by:
Extensive Google searching for more than a couple of hours has not provided me with a satisfactory answer to this question: How can I make scrollable TBODY elements in tables which: * create a vertical scrollbar that DOES NOT occupy the content space of the last column of table cells such that it obscures that content in any way within that last column of cells (irrespective of whether the text remains "intelligible")
2
4115
by: Ben H | last post by:
Hello all I'm using a listview in my app but I want to scroll the listview programatically as I hate the look of the standard scrollbar. So, the listview is scrolled programatically using ensurevisible, ie the listview shows a maximum of 6 items and if I want to scroll down one I use the code... listview.ensurevisible(listview.TopItem.Index + 6)
1
13715
by: since | last post by:
How do I get a html table in mozilla to only have scrollbars if it is exceeds a height. "max-height" used to work but it no longer works for me. I can scrollbars added if it exceeds a height. In the example below IE will shrink the table if I comment out some of the rows. Mozilla won't shrink the table. I tried using max-height but that doesn't seem to work. Any help would be greatly appreciated. Steve since@opendemand.com <html> <head>...
13
2936
by: Joy M | last post by:
When is it necessary to use the <tbodytag on a web page? Can you have tables, and <trand <tdand never use <tbody>? What harm comes if you leave out the <tbodytags? Thanks, Joy
0
2022
by: pravinnweb | last post by:
Hi, i have one table with <thead>,<tbody> and <tfooter> i have applying the overflow property for <tbody> section in firefox its working fine.but in IE6 the <thead> section is coming in the <tbody> section can anyone give me solution here is the code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta...
5
6368
by: r_ahimsa_m | last post by:
Hello, I am lerning HTML/CSS/JavaScript. I created HTML page with table "property_fields" containing 24 rows ('tr' elements). I want to remove last 23 rows: var table = document.getElementById("property_fields"); var tbody = table.tBodies; for (var r = 1, len = tbody.rows.length; r < len; r++) tbody.removeChild(tbody.lastChild);
0
9879
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10921
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10541
tracyyun
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9727
agi2029
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7250
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5939
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6142
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4337
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3360
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.