Sub hideit()
Row1.style.display="none"
End Sub
......
<DIV id="Table">
<TABLE>
<TR><TD>Header</TD></TR>
<DIV id="Row1" class="Row1">
<TR><TD>Row 1, Column 1</TD></TR>
</DIV>
</TABLE>
</DIV>
Hi, Kevin!
Dynamic HTML (HTML + script + CSS) which is what you are talking
about here, may not be strictly on topic in this newsgroup (c.i.w.a.h).
Thanks for including the code snippet so we can see what
you are doing!
Valid content inside TABLE:
<!ELEMENT tr - O (th|td)*>
from HTML 3.2 spec
<!ELEMENT TABLE - - (CAPTION?, (COL*|COLGROUP*),
THEAD?, TFOOT?, TBODY+)>
from HTML 4 spec
so you see that DIV isn't valid; it needs to be contained in an
element that is valid inside a table.
To work with rows in a TABLE in IE4, you need to use the
TABLE object Model
here's an article from SITEBUILDER on microsoft.com that may help
http://www.microsoft.com/workshop/author/dhtml/dude/dude040698.asp
Anita Rowland mailto:a-an...@microsoft.com
IE Program Management Team
Kevin Owens <ho...@mindspring.com> wrote in message
6ng5un$ito$1...@camel15.mindspring.com...
Kevin Owens wrote in message <6ng5un$ito$1...@camel15.mindspring.com>...
<TABLE>
<THEAD>
<TR><TH>Header>/TH></TR>
</THEAD>
<TBODY>
<TR> ....</TR>
</TBODY>
</TABLE>
> I changed the inside <DIV> to a <SPAN>. Works fine.
Maybe for now, but it is still invalid markup. SPAN is just as illegal
as DIV there. You may find a newer version will fail on it.
--
,=<#)-=# <http://incolor.inetnebr.com/wotw/> (The War of the Worlds)
,_--//--_,
_-~_-(####)-_~-_ Please pardon any typos. Bandwidth is at a premium lately
(#>_--'~--~`--_<#) and responsiveness is too sluggish to support post-editing.