Evan Kutter wrote:
http://www.stanford.edu/~ejk/work/test.html

...the page is loaded or refreshed, the text "tooltip text"
displays at the top of the relatively positioned div.container, overlapping existing text. on mouseover, the text "jumps" down to its correct position between the 2nd and 3rd paragraph, and then provides the tooltip functionality correctly.

some testing has revealed that if the tooltip is not located inside a table, or inside a relatively positioned div, this "jumping" will not occur...

Implicit hacking for "haslayout"  would be to add 100% width.

#container { position: relative; width:100%}

(Don't really understand the issue: the containing table has already layout by default. Why on earth do we need another layout grandparent to stabilize the r.p. grandchild? Must be the problem that a "layout" bug adds to the completely broken position:relative model [1]. Why do you position relative in a table?)

Another attempt would be to complete the position:relative cascade

#container p.r.
 #table <-
  #tooltip p.r.

adding position:relative to the table does the trick too, but might reveal more problems as it fixes.

Ingo

[1] http://www.satzansatz.de/cssd/onhavinglayout.html#rp
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to