On Aug 8, 4:31 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> html>body #TB_window { /* IE 6 won't notice, IE 7 will apply */
> position: fixed;
>
> }
>
> * html #TB_window {
> position: absolute;
>
> }
Klaus, thx for diving into this problem !
Above extra CSS only fixes problem for IE7 - that what is intended
for ;)
But in IE6 - i am at work now and can check with IE Developer.
Result of margin-top CSS calculations for TB_window are the same when
page is on top or at bottom so it is not so strange that thickbox
picture is placed in the same position. Values for my case :
margin : -273px auto auto -196px
pos: absolute
top: 50%
I noticed you use document.body.scrollTop for calculating the
position of the image - from the expression field construction i can
extract you are familiar with the IE6 bug refered to in this
document : http://javascript.about.com/library/bliebug.htm ?!?
I entered javascript:alert(document.compatMode); in my IE6 session at
it returns with CSS1Compat FYI.
Hope this information is helpfull.
-Cees