Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • replace the IE6 hack just below the one discussed above with:

    * html #TB_window { /* ie6 hack */
    bottom:15%;
    position: absolute;
    margin-top: expression(0 – parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + ‘px’);
    }

    centre’s it more in IE6

    Even better – change it to:

    #TB_window { /* my IE7 Hack*/
    position: fixed;
    background: #ffffff;
    z-index: 102;
    color:#000000;
    display:none;
    border: 4px solid #525252;
    text-align:left;
    bottom:5%;
    left:50%;
    }

    This is so you still get some gap between the image and the top of the browser 🙂

Viewing 2 replies - 1 through 2 (of 2 total)