dtd선언시 파이어 폭스에서 gediter inset 레이어 밀려서 나올때

· 16년 전 · 3116 · 1
익스에서는 레이어가 정상으로 나오나 파이어 폭스에서는 왼쪽하단에 밀려서 나타나는 현상이 있습니다..


geditor.js

this.get_option_div = function(obj, left) {

    if (IS_IE) height = -1; else height = 5;

    if (typeof left == 'undefined') left = 0;

    var div = document.createElement("div");
    div.style.border = "#CCCCCC 1px solid";
    div.style.padding = "10px";
    div.style.display = "block";
    div.style.position = "absolute";
    div.style.zIndex = 1;
    div.style.backgroundColor = "#FFFFFF";
    div.style.top = this.get_top(obj) + obj.offsetHeight + height + "px";
    div.style.left = this.get_left(obj) - left + "px";
    div.style.textAlign = "left";
    div.style.fontSize = '12px';
    div.unselectable = "on";
    return div;
}
|

댓글 1개

앗 좋은 팁 감사합니다 !
댓글을 작성하시려면 로그인이 필요합니다.

그누4 팁자료실

그누보드4와 관련된 팁을 여러분들과 함께 공유하세요. 나누면 즐거움이 커집니다.

+
제목 글쓴이 날짜 조회
16년 전 조회 9,115
16년 전 조회 3,861
16년 전 조회 3,045
16년 전 조회 4,197
16년 전 조회 1.2만
16년 전 조회 4,989
16년 전 조회 3,430
16년 전 조회 1.3만
16년 전 조회 3,177
16년 전 조회 3,117
16년 전 조회 4,714
16년 전 조회 3,910
16년 전 조회 5,330
16년 전 조회 3,352
16년 전 조회 3,299
16년 전 조회 8,102
16년 전 조회 2만
16년 전 조회 5,556
16년 전 조회 3,653
16년 전 조회 3,525