Hi, i have one table with <thead>,<tbod y> 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.dt d">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitl ed Document</title>
<style type="text/css">
div.scrollWrapp er{
float:left;
overflow:visibl e !important;
overflow:scroll ;
height:150px;
}
table.scrollabl e{
width:450px;
margin-right:0 !important;
margin-right:16px;
border-collapse:separa te;
}
table.scrollabl e th{
border-top:1px solid #999999;
border-left:1px solid #999999;
border-bottom:1px solid #999999;
padding:5px;
background:#f7f 7f7;
position: relative;
}
table.scrollabl e tbody{
height:100px;
overflow:scroll ;
}
table.scrollabl e tr{
height:0px;
}
table.scrollabl e td{
border-left:1px solid #999999;
border-bottom:1px solid #999999;
text-align:center;
}
</style>
</head>
<body>
<div class="scrollWr apper">
<table class="scrollab le">
<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
0 2012 Sign in to post your reply or Sign up for a free account.
Similar topics |
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...
|
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...
|
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 put
either tag inside an HTML <TD> and have the same kind of scrolling effect.
This would allow me to fill the screen and have the size of the scrolling
box change on resize.
Thanks in advance.
|
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 <table> is very LARGE,
let's say 20 columns, hundreds rows. Usually you have header <th> tags
on 1st (top) row and 1st (most left) column. For a such LARGE <table>.
you really want:
|
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 = elem_a.createNode(true);
elem_b.name = 'elemB';
i then add this to the document.
| |
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 -- each
block contains three rows. this table is destined for paper printing. i
would like to tell the browser *not* to bust up my blocks. rather, i
would like it to smartly insert a page break inbetween <tbody>s if the
last one cannot be rendered...
|
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, Image imgAZ, Image imgZA)
{
|
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 cells of the Age column.
I have this piece of code, but I'm not able to access the column i want to access.
function ShowLogs(opt, num)
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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...
|
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 most users, this new feature is actually very convenient. If you want to control the update process,...
|
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...
|
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...
|
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...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |