I have the following markup and script:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>test</title>
<script type="text/javascript">
function foo() {
document.getElementById( 'foo' ).style.display='none';
}
</script></head>
<body>
<table>
<colgroup id="foo">
<col>
<colgroup id="bar">
<col>
<tr>
<td>foo</td>
<td>bar</td>
</tr>
<tr>
<td>foo</td>
<td>bar</td>
</tr>
</table>
<div><input type="button" onclick="foo()"></div>
</body></html>
It validates as 4.01 strict. The button is intended to hide the first
column of the table when clicked. It does in fact do this in IE6, but
not in NS 7.1 or Firefox. Am I making a mistake, or asking too much
of the other UA's?
--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.