Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > I have two almost identical pages in IE, one works and the other doesn't

Reply
Thread Tools

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

 
 
Luminari
Guest
Posts: n/a
 
      02-09-2007
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 <div> that wraps a <table> that has a
<thead> and a <tbody>. In the first example, the <thead> stays fixed
at the top of the div as it scrolls. In the second example the
<thead> scrolls 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>
<style> body {
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 ########

 
Reply With Quote
 
 
 
 
Andreas Prilop
Guest
Posts: n/a
 
      02-09-2007
On Fri, 9 Feb 2007, Luminari wrote:

> Lines: 631


Moron!

> I have two pages.


Give URLs!
 
Reply With Quote
 
 
 
 
Jonathan N. Little
Guest
Posts: n/a
 
      02-09-2007
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 <div> that wraps a <table> that has a
> <thead> and a <tbody>. In the first example, the <thead> stays fixed
> at the top of the div as it scrolls. In the second example the
> <thead> scrolls 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
 
Reply With Quote
 
Luminari
Guest
Posts: n/a
 
      02-09-2007
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

 
Reply With Quote
 
Luminari
Guest
Posts: n/a
 
      02-09-2007
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

 
Reply With Quote
 
mrcakey \(The Eclectic Electric\)
Guest
Posts: n/a
 
      02-09-2007
"Luminari" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com...
> 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
>


That'll be the same page twice then.

::mrcakey::


 
Reply With Quote
 
Luminari
Guest
Posts: n/a
 
      02-09-2007
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

 
Reply With Quote
 
Lars Eighner
Guest
Posts: n/a
 
      02-09-2007
In our last episode,
<(E-Mail Removed) .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.
 
Reply With Quote
 
Luminari
Guest
Posts: n/a
 
      02-09-2007
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.

 
Reply With Quote
 
Bergamot
Guest
Posts: n/a
 
      02-09-2007
Luminari wrote:
>
> Broken Page: http://applicationsdev.vettro.com:8080/tmp/Table5.html
> Working Page: http://applicationsdev.vettro.com:8080/tmp/Table3.html


If your intent is for a table header that doesn't scroll off the page,
then both of these are broken. thead{position:relative} doesn't do
anything for that.

A common reference for fixed table headers is
http://web.tampabay.rr.com/bmerkey/e...le-header.html

--
Berg
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
matching almost identical photos Jar Jar Binks Digital Photography 5 08-06-2007 07:52 PM
Common Routine To Call (Almost) Identical Functions gamename C Programming 5 05-03-2007 08:51 PM
I have two almost identical pages in IE, one works and the other doesn't Luminari Javascript 0 02-08-2007 09:52 PM
Arrh, something else is wrong! With almost identical code snipets to working code. David. E. Goble C Programming 9 02-02-2005 01:13 PM
Aligning one image on top of an (almost identical) image Aaron Queenan Digital Photography 13 04-14-2004 09:08 PM



Advertisments