473,396 Members | 1,689 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,396 software developers and data experts.

problem with the scroll bar for <tbody> section with IE

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
[html]
<!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 http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
div.scrollWrapper{
float:left;
overflow:visible !important;
overflow:scroll;
height:150px;
}
table.scrollable{
width:450px;
margin-right:0 !important;
margin-right:16px;
border-collapse:separate;
}
table.scrollable th{
border-top:1px solid #999999;
border-left:1px solid #999999;
border-bottom:1px solid #999999;
padding:5px;
background:#f7f7f7;
position: relative;
}
table.scrollable tbody{
height:100px;
overflow:scroll;
}
table.scrollable tr{
height:0px;
}
table.scrollable td{
border-left:1px solid #999999;
border-bottom:1px solid #999999;
text-align:center;
}


</style>
</head>

<body>
<div class="scrollWrapper">
<table class="scrollable">
<thead>
<tr>
<th>Numbers</th>
<th>Letters</th>
<th>Symbols</th>
</tr>
</thead>
<tfoot>
<tr>
<th>total numbers</th>
<th>total letters</th>
<th>total symbols</th>
</tr>
</tfoot>
<tbody>
<tr>
<td>111</td>
<td>aaa</td>
<td>@@@</td>
</tr>
<tr>
<td>222</td>
<td>bbb</td>
<td>###</td>
</tr>
<tr>
<td>222</td>
<td>bbb</td>
<td>###</td>
</tr>
<tr>
<td>222</td>
<td>bbb</td>
<td>###</td>
</tr>
<tr>
<td>222</td>
<td>bbb</td>
<td>###</td>
</tr>
<tr>
<td>222</td>
<td>bbb</td>
<td>###</td>
</tr>
<tr>
<td>222</td>
<td>bbb</td>
<td>###</td>
</tr>

<tr>
<td>999</td>
<td>iii</td>
<td>???</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>
[/html]

Thanx in Advance
Feb 14 '08 #1
0 1996

Sign in to post your reply or Sign up for a free account.

Similar topics

4
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...
0
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...
44
by: Jim M | last post by:
I have had great success with using <iframe> with overflow-y set to auto. I can get a similar look with the <iframe> tag. BUT... In all cases I need to have fixed heights. Is there a way to...
3
by: RC | last post by:
Dear Dudes, I post this in multiple groups for opening brain storm. Sometime I need to query the data from database server then display them into user's browser in HTML <table>. But if the...
8
by: ppcguy | last post by:
i've got a form element (named 'elemA') created in html. dynamically, in javascript, i duplicate this element and rename the new element 'elemB' var elem_a = ... var elem_b =...
16
by: matt | last post by:
hello, ive been trying to figure something out, largely thru trial & error. thought perhaps someone else may have knowledge. i have an html table that consists of blocks of related data --...
3
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Hi misters, How I generate <tbodytag using Table, TableRow, etc ... controls ? I have this method: private Table GenerarTablaOrdenacion(LinkButton lnkAscendente, LinkButton lnkDescendente,...
1
by: thanawala27 | last post by:
Hi, I wanted to know how to access a particular column of a table. Suppose the table has the following columns. Name University Age Grades Now, I want to access the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...
0
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...
0
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,...

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.