Martin Schneider wrote:
> Hello! I have the html-code attached. It is shown well in Firefox for
> example, but in Internet-Explorer 6.0 "div3" with "My Div Text" is not
> shown at all. When removing all the TABLE-Tags, it works in IE as well,
> but I need the table. Any ideas why div3 is not shown? Can somebody
> confirm the error or am I doing something wrong?
>
> Martin
>
>
> <HTML>
> <BODY>
>
> <div id="div1"
>
style="position:absolute;top:0px;left:0px;height:800px;visibility:visible;overflow:hidden;border:1px
> solid black">
> <div id="div2"
>
style="position:relative;left:0px;top:0px;border:0px;overflow-y:hidden;overflow-x:hidden;border:1px
> solid black">
> <TABLE ALIGN=LEFT BORDER="1" CELLPADDING="0" CELLSPACING="0">
> <TR><TD ALIGN="LEFT" VALIGN="TOP">
> <div id="div3"
>
style="position:relative;left:0px;top:0px;width:200px;height:100px;background:#FF0000;visibility:visible">
> My Div Text
> </div>
> </TD></TR></TABLE>
> </div></div>
>
> </BODY>
> </HTML>
Div inside a table? Isn't that a violation of HTML validity? Div can at
fixed positions as well so I wonder how this fits within a table. Someone
more knowledgeable will give a definite answer, I'm sure, but these are
just my 2 cents.
--
Roy Schestowitz
http://schestowitz.com
|
|