473,763 Members | 8,483 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

I have two almost identical pages in IE, one works and the other doesn't

I have two pages. Both of them are supposed to have one table on it
with a fixed header. Both pages were tested in IE6. Structurally they
are identical. Both have a <divthat wraps a <tablethat has a
<theadand a <tbody>. In the first example, the <theadstays fixed
at the top of the div as it scrolls. In the second example the
<theadscrolls away. Could anyone tell me what about the second page
makes it not work?

Thanks
Luminari

###### Working Page ############
<!doctype html public "-//w3c//dtd html 4.0 strict//en">
<html>
<head>
<SCRIPT>
window.onload=f nInit;
function fnInit(){
document.getEle mentById('heade r').style.setEx pression("top",
"document.getEl ementById('tC') .scrollTop");
}

</SCRIPT>
<stylebody {
width: 90%;
}
.tContainer {
overflow: scroll;
overflow-x: hidden;
height: 200px;
}

.tHead {
position: relative;
background-color: black;
color: white;
border: 1px black solid;

}
/*.tBody {
overflow: auto;
overflow-x: hidden;
height: 200px;
}*/

table {
width: 100%;
} </style>
</head>
<body>
<div class="tContain er" id="tC">
<table cellspacing="0" cellpadding="0" >
<thead class="tHead" id="header">
<tr class="tHead">
<th>heading1</th>
<th>heading2</th>
</tr>
</thead>
<tbody class="tBody">
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>
<tr>
<td>cell</td>
<td>cell</td>
</tr>

</tbody>
</table>
</div>
</body>
</html>
###### End Working Page ########

###### Broken Page #############
<!doctype html public "-//w3c//dtd html 4.0 strict//en">
<html>
<head>
<SCRIPT>
window.onload=f nInit;
function fnInit(){
document.getEle mentById('heade r').style.setEx pression("top",
"document.getEl ementById('tabl eWrapper').scro llTop");
}

</SCRIPT>

</head>
<body>

<DIV id=tableWrapper style="OVERFLOW : scroll; WIDTH: 300px; HEIGHT:
200px; overflow-x: hidden"><TABLE style="HEIGHT: 100%" __eventBits="1"
onchange="null" onload="null" onerror="null">
<THEAD style="POSITION : relative" id="header">
<TR>
<TH>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2621826 3">Header 0</DIV></TH>
<TH>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1355408 8">Header 1</DIV></TH>
<TH>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2523263 ">Header 2</DIV></TH>
<TH>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1222284 8">Header 3</DIV></TH>
<TH>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="9186595 ">Header 4</DIV></TH>
<TH>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1516927 1">Header 5</DIV></TH></TR></THEAD>
<TBODY>
<TR>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="3363479 ">Cell 0,0</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="436958" >Cell 1,0</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="3278711 0">Cell 2,0</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2699919 0">Cell 3,0</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2659883 7">Cell 4,0</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1154792 2">Cell 5,0</DIV></TD></TR>
<TR>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2434017 1">Cell 0,1</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2910006 3">Cell 1,1</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2208176 2">Cell 2,1</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1881678 6">Cell 3,1</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="971362" >Cell 4,1</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="7100172 ">Cell 5,1</DIV></TD></TR>
<TR>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2317945 2">Cell 0,2</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2892737 4">Cell 1,2</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1616642 8">Cell 2,2</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="3204263 ">Cell 3,2</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1823585 5">Cell 4,2</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1304616 1">Cell 5,2</DIV></TD></TR>
<TR>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1010939 4">Cell 0,3</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1222423 9">Cell 1,3</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1892933 5">Cell 2,3</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="3274248 9">Cell 3,3</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="3845057 ">Cell 4,3</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2217800 7">Cell 5,3</DIV></TD></TR>
<TR>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2249818 4">Cell 0,4</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="3256749 6">Cell 1,4</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1576475 1">Cell 2,4</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1033438 1">Cell 3,4</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="3159379 2">Cell 4,4</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2313658 0">Cell 5,4</DIV></TD></TR>
<TR>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2094435 ">Cell 0,5</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2201074 2">Cell 1,5</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1238482 4">Cell 2,5</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1221622 2">Cell 3,5</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="3153987 7">Cell 4,5</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2775036 5">Cell 5,5</DIV></TD></TR>
<TR>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2573832 ">Cell 0,6</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="3049730 4">Cell 1,6</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1361086 2">Cell 2,6</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="3202827 3">Cell 3,6</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="3135383 3">Cell 4,6</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2735042 3">Cell 5,6</DIV></TD></TR>
<TR>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="6740524 ">Cell 0,7</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2424606 9">Cell 1,7</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1720950 2">Cell 2,7</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1899639 6">Cell 3,7</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2507371 1">Cell 4,7</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1640138 4">Cell 5,7</DIV></TD></TR>
<TR>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="8238932 ">Cell 0,8</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1866465 4">Cell 1,8</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="907175" >Cell 2,8</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2020896 ">Cell 3,8</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="3763928 ">Cell 4,8</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="8409752 ">Cell 5,8</DIV></TD></TR>
<TR>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2614822 0">Cell 0,9</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="3001510 2">Cell 1,9</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1318939 6">Cell 2,9</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="8119943 ">Cell 3,9</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1024621 0">Cell 4,9</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1143487 1">Cell 5,9</DIV></TD></TR>
<TR>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1075175 8">Cell 0,10</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="6503304 ">Cell 1,10</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1360587 2">Cell 2,10</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="6021038 ">Cell 3,10</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="6718343 ">Cell 4,10</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1964544 7">Cell 5,10</DIV></TD></TR>
<TR>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1419622 6">Cell 0,11</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1425244 5">Cell 1,11</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="450123" >Cell 2,11</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2898741 4">Cell 3,11</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="4537415 ">Cell 4,11</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="5428820 ">Cell 5,11</DIV></TD></TR>
<TR>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2397079 0">Cell 0,12</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2931338 7">Cell 1,12</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1547951 8">Cell 2,12</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1466937 9">Cell 3,12</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2467021 3">Cell 4,12</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="7680063 ">Cell 5,12</DIV></TD></TR>
<TR>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2256579 1">Cell 0,13</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2394067 0">Cell 1,13</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1675546 6">Cell 2,13</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2384894 2">Cell 3,13</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="169091" >Cell 4,13</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2847658 0">Cell 5,13</DIV></TD></TR>
<TR>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="3107086 7">Cell 0,14</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1966304 7">Cell 1,14</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2033750 4">Cell 2,14</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2147945 3">Cell 3,14</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="2334724 0">Cell 4,14</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="12 5" onchange="null" onload="null"
onerror="null" __hash="1902349 4">Cell 5,14</DIV></TD></TR></TBODY></
TABLE></DIV>
</body>
</html>
###### End Broken Page ########

Feb 9 '07 #1
18 2162
On Fri, 9 Feb 2007, Luminari wrote:
Lines: 631
Moron!
I have two pages.
Give URLs!
Feb 9 '07 #2
Luminari wrote:
I have two pages. Both of them are supposed to have one table on it
with a fixed header. Both pages were tested in IE6. Structurally they
are identical. Both have a <divthat wraps a <tablethat has a
<theadand a <tbody>. In the first example, the <theadstays fixed
at the top of the div as it scrolls. In the second example the
<theadscrolls away. Could anyone tell me what about the second page
makes it not work?
URLs don't past code!

"identical" eh, not hardly!

1) did you even compare? Hint: look at embedded styles...
2) did you even validate, almost 200 errors! Not a record, but with
practice...
3) "tested in IE6", obviously since neither work and any other browser.
--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Feb 9 '07 #3
My apologies, I didn't have a web host set up externally at the time.

Here is the url for the working page:
http://applicationsdev.vettro.com:8080/tmp/Table3.html

Here is the url for the broken page:
http://applicationsdev.vettro.com:8080/tmp/Table3.html

- Luminari

Feb 9 '07 #4
Most of those validation errors are because the script that generates
the html adds a bunch of non-standard properties to the html
elements.

I'm looking at the embedded styles and I don't see the difference (its
probably that I'm looking right at it but not seeing it)

In both pages the div has: overflow: scroll;overflow-x:hidden;height :
200px; and one one it has width:300px (although I can't imagine why
that would change the result.

In both pages the thead has style: position:relati ve;

What am I missing?

- Luminari

"identical" eh, not hardly!

1) did you even compare? Hint: look at embedded styles...
2) did you even validate, almost 200 errors! Not a record, but with
practice...
3) "tested in IE6", obviously since neither work and any other browser.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIOhttp://www.LittleWorks Studio.com

Feb 9 '07 #5
On 9 Feb, 16:48, "Luminari" <Luminari...@gm ail.comwrote:
Most of those validation errors are because the script that generates
the html adds a bunch of non-standard properties to the html
elements.
So what? You're asking other people for their efforts, so it's
incumbent upon _you_ to make this as easy for them as is practical.
It's even worse when you clearly know some of what you're dealing with
and aren't just a newbie!

First step with any problem like this is to validate. Validation means
0 errors or >0 errors. It doesn't mean "not many errors" and it
doesn't mean "only unimportant errors". It means "0 errors" because
this is simple and objective. Anything else is subjective and needs
effort to tell if they really are unimportant -- which is against the
whole idea of validation to an objective standard.

Feb 9 '07 #6
Sorry, I've been working on this for four days now and I'm a little
frustrated, however I shouldn't be giving more work to you because of
that, you're right.

I have fixed the broken page so that my Ide stopped reporting
validation errors and posted the new version.

Broken Page: http://applicationsdev.vettro.com:8080/tmp/Table5.html

Working Page: http://applicationsdev.vettro.com:8080/tmp/Table3.html

Thank you for taking the time to be patient with me.

- Luminari

Feb 9 '07 #7
On 9 Feb, 16:48, "Luminari" <Luminari...@gm ail.comwrote:
Most of those validation errors are because the script that generates
the html adds a bunch of non-standard properties to the html
elements.
If this is the __eventBits="12 5" attribute, then I assume that's
metadata used to avoid passing a bitmask parameter explicitly to an
event handler, often because the event handler functions are added
later as listeners from window.onload (a typical AJAX trick).

This is a bad practice, because it breaks validation and it's also
unneccesary. I see the need, but there are better ways.
<div class=gwt-Label __eventBits="12 5" >
can be replaced by
<div class="gwt-Label eventBits-125" >
Just write the event handler to retrieve the element's classes and
parse out the values, rather than retrieving its invalid attribute.

As to looking at the code, then I'm sorry but I can't get to it at
present 8-( New firewall in the office and the proxy won't access
port 8080 Sorry! I would have taken a look.

Feb 9 '07 #8
In our last episode,
<11************ **********@s48g 2000cws.googleg roups.com>, the lovely and
talented Luminari broadcast on comp.infosystem s.www.authoring.html:
Sorry, I've been working on this for four days now and I'm a little
frustrated, however I shouldn't be giving more work to you because of
that, you're right.
I have fixed the broken page so that my Ide stopped reporting
validation errors and posted the new version.
Broken Page: http://applicationsdev.vettro.com:8080/tmp/Table5.html
Working Page: http://applicationsdev.vettro.com:8080/tmp/Table3.html
Thank you for taking the time to be patient with me.
Your first step should have been to validate your documents. You have
invalid doctypes for both. Your public identifier (the stuff in the quotes)
seems to be nonsense as I can find no record of a "-//w3c//dtd html 4.0
strict//en" DTD. These are NAMES. They are not parsable and you cannot
make them do something else by plugging something into them. You must
recite them verbatim. The correct public id for 4.0 strict (assuming that
is what you want) is "-//W3C//DTD HTML 4.0//EN" (although I would advise you
to use 4.01 as 4.0 was dead on arrival and never well-supported by
browsers).

The TITLE element is required. Neither of your documents have it.

STYLE requires the attribute TYPE. Table3.html does not have it.

There may be other problems, but asking about invalid documents here is a
waste of your time because hardly anyone will have the time to try to guess
how various browsers will handle invalid documents.

--
Lars Eighner <http://larseighner.com/ <http://myspace.com/larseighner>
Countdown: 710 days to go.
Feb 9 '07 #9
I have set the Doctype to be 4.01 (I hope correctly)
Added a Title Tag to both pages and type for script on both pages.

Broken Page: http://applicationsdev.vettro.com:8080/tmp/Table5.html
Working Page: http://applicationsdev.vettro.com:8080/tmp/Table3.html

Both documents should now be valid, unfortunately the behavior hasn't
changed, the table still doesn't have the fixed header.

P.S.: Andy: Sorry about the port 8080, I don't have any webservers
available right now on port 80.
Feb 9 '07 #10

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

Similar topics

14
1871
by: Dafydd | last post by:
I have the following Script in my web page reduce to two pages. <script> function details() { document.getElementById('details').style.visibility='visible'; document.getElementById('capabilities').style.visibility='hidden'; } function capabilities() {
8
1871
by: Larry | last post by:
I have 2 pages on a site that will not validate as XHTML 2/CSS 2. They are http://www.ccmeonline.org/email.html and http://www.ccmeonline.org/pastpres.html. All the other pages validate without problem. The validator seems to have an issue with me using the same box multiple times on the same page. This is what error it gives me, one for each instance of the box: Line 71, column 9: ID "box" already defined (explain...). <div...
1
1257
by: teddysnips | last post by:
Crystal Report problem - HELP! The fragments below come from two fundamentally identical applications. The one at the top - PrintEASAReport - throws an exception on the final line with the message "Invalid Printer Specified". The one below - PrintDainReport - prints fine. The value of mstrPrinterName is the same in both instances, and is a network printer installed on the intranet server. Any thoughts? They are both built under the...
1
1600
by: Neo Geshel | last post by:
I am having conflicting results with two pieces of identical code. One is an insert, the other is an update to a db. The first code, which works, is this: Sub Add3_Click(sender As Object, e As EventArgs) Dim imgStream as Stream = Add3Image.PostedFile.InputStream Dim imgLen as Integer = Add3Image.PostedFile.ContentLength Dim imgType as String = Add3Image.PostedFile.ContentType If Not imgStream Is Nothing And imgLen > 0 And (imgType =
1
1372
by: Paul Wagstaff | last post by:
Hi Folks, I have a report for which I need three copies - identical in every way except each contains a label (lets call it 'lblReportInstance') with a caption saying "Part 1", "Part 2" and "Part 3" respectively. At the moment I have 3 separate reports that I run sequentially and output as snapshot files. Can someone suggest a swifter method? Thanks,
0
915
by: Jean-François Michaud | last post by:
Hello, I'm trying to generate identical keys on 2 different sets of nodes Basically I need to be able to create a new identity tag on each page where the tag is not present, but the restriction is that the ids on each corresponding identity tag needs to match. Page number 3 id 3 needs to have the same "identity" tag (with the same id) as page number 8 id 2 same for page with page number 4 id 4 and page number 9 id 3, page number 6 id...
6
1426
by: AbraAbraCadabra | last post by:
Ok I think I've almost got my problem solved. I am using this code to send mail. I am simply pasting it into an .ASP page. Why doesn't this code work? I do have ..NET 2.0 installed, but I haven't done any configuration to it. Am I missing something? 'Create a new MailMessage object and specify the"From" and "To" addresses Dim Email As New System.Net.Mail.MailMessage( _
1
1135
by: Luminari | last post by:
I have two pages. Both of them are supposed to have one table on it with a fixed header. Both pages were tested in IE6. Structurally they are identical. Both have a <divthat wraps a <tablethat has a <theadand a <tbody>. In the first example, the <theadstays fixed at the top of the div as it scrolls. In the second example the <theadscrolls away. Could anyone tell me what about the second page makes it not work? Thanks Luminari
5
1728
by: gamename | last post by:
Hi, I have 2 vendor libraries. One is for transmitting, the other receiving data. Virtually all of the functions in either lib are almost exactly alike in the way they're called. The only external difference is the name has an "R" or an "S" in it. ex fooSGetBytes(bufa, buftemp); fooRGetBytes(bufa, buftemp);
0
9564
marktang
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...
0
9387
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
10002
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...
1
9938
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,...
0
9823
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
6643
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
5406
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3917
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
2
3528
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.