Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: Whats wrong with DIV in Table?

  • Subject: Re: Whats wrong with DIV in Table?
  • From: Roy Schestowitz <newsgroups@schestowitz.com>
  • Date: Mon, 17 Jan 2005 14:47:54 +0000
  • Newsgroups: alt.html
  • References: <csgg9j$nu1$01$1@news.t-online.com>
  • User-agent: KNode/0.7.2
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

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index