473,396 Members | 2,076 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.

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=fnInit;
function fnInit(){
document.getElementById('header').style.setExpress ion("top",
"document.getElementById('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="tContainer" 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=fnInit;
function fnInit(){
document.getElementById('header').style.setExpress ion("top",
"document.getElementById('tableWrapper').scrollTop ");
}

</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="125" onchange="null" onload="null"
onerror="null" __hash="26218263">Header 0</DIV></TH>
<TH>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="13554088">Header 1</DIV></TH>
<TH>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="2523263">Header 2</DIV></TH>
<TH>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="12222848">Header 3</DIV></TH>
<TH>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="9186595">Header 4</DIV></TH>
<TH>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="15169271">Header 5</DIV></TH></TR></THEAD>
<TBODY>
<TR>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="3363479">Cell 0,0</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="436958">Cell 1,0</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="32787110">Cell 2,0</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="26999190">Cell 3,0</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="26598837">Cell 4,0</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="11547922">Cell 5,0</DIV></TD></TR>
<TR>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="24340171">Cell 0,1</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="29100063">Cell 1,1</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="22081762">Cell 2,1</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="18816786">Cell 3,1</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="971362">Cell 4,1</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="7100172">Cell 5,1</DIV></TD></TR>
<TR>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="23179452">Cell 0,2</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="28927374">Cell 1,2</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="16166428">Cell 2,2</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="3204263">Cell 3,2</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="18235855">Cell 4,2</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="13046161">Cell 5,2</DIV></TD></TR>
<TR>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="10109394">Cell 0,3</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="12224239">Cell 1,3</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="18929335">Cell 2,3</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="32742489">Cell 3,3</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="3845057">Cell 4,3</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="22178007">Cell 5,3</DIV></TD></TR>
<TR>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="22498184">Cell 0,4</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="32567496">Cell 1,4</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="15764751">Cell 2,4</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="10334381">Cell 3,4</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="31593792">Cell 4,4</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="23136580">Cell 5,4</DIV></TD></TR>
<TR>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="2094435">Cell 0,5</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="22010742">Cell 1,5</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="12384824">Cell 2,5</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="12216222">Cell 3,5</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="31539877">Cell 4,5</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="27750365">Cell 5,5</DIV></TD></TR>
<TR>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="2573832">Cell 0,6</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="30497304">Cell 1,6</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="13610862">Cell 2,6</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="32028273">Cell 3,6</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="31353833">Cell 4,6</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="27350423">Cell 5,6</DIV></TD></TR>
<TR>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="6740524">Cell 0,7</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="24246069">Cell 1,7</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="17209502">Cell 2,7</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="18996396">Cell 3,7</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="25073711">Cell 4,7</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="16401384">Cell 5,7</DIV></TD></TR>
<TR>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="8238932">Cell 0,8</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="18664654">Cell 1,8</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="907175">Cell 2,8</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="2020896">Cell 3,8</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="3763928">Cell 4,8</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="8409752">Cell 5,8</DIV></TD></TR>
<TR>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="26148220">Cell 0,9</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="30015102">Cell 1,9</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="13189396">Cell 2,9</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="8119943">Cell 3,9</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="10246210">Cell 4,9</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="11434871">Cell 5,9</DIV></TD></TR>
<TR>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="10751758">Cell 0,10</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="6503304">Cell 1,10</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="13605872">Cell 2,10</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="6021038">Cell 3,10</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="6718343">Cell 4,10</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="19645447">Cell 5,10</DIV></TD></TR>
<TR>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="14196226">Cell 0,11</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="14252445">Cell 1,11</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="450123">Cell 2,11</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="28987414">Cell 3,11</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="4537415">Cell 4,11</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="5428820">Cell 5,11</DIV></TD></TR>
<TR>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="23970790">Cell 0,12</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="29313387">Cell 1,12</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="15479518">Cell 2,12</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="14669379">Cell 3,12</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="24670213">Cell 4,12</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="7680063">Cell 5,12</DIV></TD></TR>
<TR>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="22565791">Cell 0,13</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="23940670">Cell 1,13</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="16755466">Cell 2,13</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="23848942">Cell 3,13</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="169091">Cell 4,13</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="28476580">Cell 5,13</DIV></TD></TR>
<TR>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="31070867">Cell 0,14</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="19663047">Cell 1,14</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="20337504">Cell 2,14</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="21479453">Cell 3,14</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="23347240">Cell 4,14</DIV></TD>
<TD>
<DIV class=gwt-Label __eventBits="125" onchange="null" onload="null"
onerror="null" __hash="19023494">Cell 5,14</DIV></TD></TR></TBODY></
TABLE></DIV>
</body>
</html>
###### End Broken Page ########

Feb 9 '07 #1
18 2144
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:relative;

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.LittleWorksStudio.com

Feb 9 '07 #5
On 9 Feb, 16:48, "Luminari" <Luminari...@gmail.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...@gmail.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="125" 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="125" >
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**********************@s48g2000cws.googlegroups .com>, the lovely and
talented Luminari broadcast on comp.infosystems.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
On 9 Feb 2007 08:35:20 -0800, "Luminari" <Lu*********@gmail.com>
wrote:
>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
The URL's are identical. :(

--
Zilbandy
Feb 9 '07 #11
On Feb 9, 1:54 pm, Zilbandy <z...@zilbandyREMOVETHIS.comwrote:
On 9 Feb 2007 08:35:20 -0800, "Luminari" <Luminari...@gmail.com>
wrote:
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

The URL's are identical. :(

--
Zilbandy

I noticed earlier :) Further down in the conversation I posted the
correct urls (its Table3 and Table5)
Sorry about that.

Feb 9 '07 #12
Luminari wrote:
>
Broken Page: http://applicationsdev.vettro.com:8080/tmp/Table5.html
Working Page: http://applicationsdev.vettro.com:8080/tmp/Table3.html
Neither table has a fixed header.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Feb 10 '07 #13
On 02/09/2007 12:23 PM, Luminari wrote:
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.

Here are two ways to do this:

http://home.earthlink.net/~mumia.w.18.spam/Table3c.html
http://home.earthlink.net/~mumia.w.18.spam/Table3d.html

Now I have a question for the group. Without using /any/ CSS, is it
possible to get THEAD to work the way it is supposed to? In other words,
it is possible have the table headers fixed while the rest of the table
or page is scrolled?
--
Windows Vista and your freedom in conflict:
http://www.badvista.org/
Feb 10 '07 #14
On Feb 10, 5:23 am, "Luminari" <Luminari...@gmail.comwrote:
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
I checked this page out and got the following error when trying to
validate. http://validator.w3.org/check?uri=http%3A%2F
%2Fapplicationsdev.vettro.com%3A8080%2Ftmp
%2FTable5.html&amp;ss=1&amp;outline=1
Fix that and all might work a lot better.
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.
--
Regards Chad. http://freewebdesign.cjb.cc
Feb 10 '07 #15
In our last episode, <eq**********@aioe.org>, the lovely and talented Mumia
W. (NOSPAM) broadcast on comp.infosystems.www.authoring.html:
On 02/09/2007 12:23 PM, Luminari wrote:
>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.

Here are two ways to do this:
http://home.earthlink.net/~mumia.w.18.spam/Table3c.html
http://home.earthlink.net/~mumia.w.18.spam/Table3d.html
Now I have a question for the group. Without using /any/ CSS, is it
possible to get THEAD to work the way it is supposed to? In other words,
it is possible have the table headers fixed while the rest of the table
or page is scrolled?
Apparently not. The way I read the 4.01 spec, THEAD, TBODY, and TFOOT are
just containers to hang styles on, and in this case, it is CSS overflow:
scroll; that should be hung on TBODY. Scrolling the whole table either
directly or in a scrolling DIV is nonsense, more or less. And really, what
to do with the excess is a matter of presentation, not structure.

Of course the OP's original documents had plenty of overkill in it, which
proved self-defeating. I couldn't tell what the SCRIPT was supposed to do,
but it didn't do it. And although I suppose there might be some reason some
time to put a table in a scrolling DIV, I very much doubt that is what OP
wanted.

--
Lars Eighner <http://larseighner.com/ <http://myspace.com/larseighner>
Countdown: 710 days to go.
Feb 10 '07 #16
On 02/09/2007 10:01 PM, Lars Eighner wrote:
In our last episode, <eq**********@aioe.org>, the lovely and talented Mumia
W. (NOSPAM) broadcast on comp.infosystems.www.authoring.html:
>[...] Now I have a question for the group. Without using /any/ CSS, is it
possible to get THEAD to work the way it is supposed to? In other words,
it is possible have the table headers fixed while the rest of the table
or page is scrolled?

Apparently not. The way I read the 4.01 spec, THEAD, TBODY, and TFOOT are
just containers to hang styles on, and in this case,
That's what I feared. It's rather disappointing, because I would think
that the W3C would make THEAD fix the column headers if they are going
to go through the trouble of creating a whole new element.
it is CSS overflow:
scroll; that should be hung on TBODY. [...]
That's what I did. I also proved that you don't even need THEAD if you
are going to use CSS.
--
Windows Vista and your freedom in conflict:
http://www.regdeveloper.co.uk/2006/1...eula_analysis/
Feb 10 '07 #17
In our last episode, <eq**********@aioe.org>, the lovely and talented Mumia
W. (NOSPAM) broadcast on comp.infosystems.www.authoring.html:
On 02/09/2007 10:01 PM, Lars Eighner wrote:
>In our last episode, <eq**********@aioe.org>, the lovely and talented Mumia
W. (NOSPAM) broadcast on comp.infosystems.www.authoring.html:
>>[...] Now I have a question for the group. Without using /any/ CSS, is it
possible to get THEAD to work the way it is supposed to? In other words,
it is possible have the table headers fixed while the rest of the table
or page is scrolled?

Apparently not. The way I read the 4.01 spec, THEAD, TBODY, and TFOOT are
just containers to hang styles on, and in this case,
That's what I feared. It's rather disappointing, because I would think
that the W3C would make THEAD fix the column headers if they are going
to go through the trouble of creating a whole new element.
>it is CSS overflow:
scroll; that should be hung on TBODY. [...]
That's what I did. I also proved that you don't even need THEAD if you
are going to use CSS.
Well, no you don't for the presentation. But presumably the distinction is
in the structure. THEAD for column headers, TFOOT perhaps for column
summaries (such as totals) and TBODY for data. I think, but have not tried
to do the same sort of thing with COLGROUP, but there does not seem to be
anything to indicate stub columns except that they have TH elements in them.
So, it looks like columns are intended to be more free form.

--
Lars Eighner <http://larseighner.com/ <http://myspace.com/larseighner>
Countdown: 710 days to go.
Feb 10 '07 #18
Click!
"Andreas Prilop" <An***************@trashmail.netwrote in message
news:Pi******************************@s5b004.rrzn. uni-hannover.de...
On Fri, 9 Feb 2007, Luminari wrote:
>Lines: 631

Moron!
>I have two pages.

Give URLs!

Feb 11 '07 #19

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

Similar topics

14
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';...
8
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...
1
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...
1
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...
1
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...
0
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...
6
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...
1
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...
5
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...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
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,...
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.