Heya.

I think i have found a big but stupid bug in IE(6).
Basically what you do is:

1) place a relative positioned div
2) inside, place some text and then a table
3) inside the table, put another relative positioned div with some content

What will happen is that the content from the 2nd div (the one in the table)
will shift upwards and be positioned at the start of the first relative div,
as if it is absolute positioned.
XHTML or normal HTML, it makes no difference. It works fine as it should in
firefox, but yeah... Position absolute also gives errors btw.

I need to have the divs to be relatively positioned, they can't be static or
whatever. I couldn't find anything about this bug nor have i ever heard from
it.
What bugs me is that this bug is really simple, yet after few years of
development i have never experienced something like this.
I would very much appreciate it if someone could help me with this, has a
solution, or has a link to a page explaining this annoying bug.

To make it easy, just copy this and open the html file in IE6...
If it looks fine just refresh a few times.

Thanks!



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>

<html>
<head><title>Untitled</title></head>

<body>
<div style="position:relative;">
asdf<br />asdf<br />asdf<br />asdf<br />asdf<br />asdf<br />asdf<br />

<table border="1" cellspacing="0" cellpadding="0">
<tr><td><div style="position:relative;">
   <img src="http://www.google.com/images/logo_sm.gif"; alt="" />
  </div></td></tr>
</table>

</div>
</body>
</html>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to