1

我正在尝试创建一个带有虚线但在 IE 8 中重叠的字段集。我对 Firefox 和 Chrome 没有任何问题。问题只出在 IE 上。我尝试了一些解决方法,但没有任何效果。如果我将线条设置为 1px 并将纯色设置为任何颜色,我没有问题。当我设置虚线边框时,问题就来了。我在 CKEditor 中的 css 是;

editor.addCss(
          'fieldset' +
        '{' +
            'position: relative;' +
            'margin: 10px;' +
            'border: 1px dotted #00f;' + 

        '}'
        );

editor.addCss(
         '* + fieldset legend' +
        '{' +
            'position: absolute;' +
            'top: -10px;' +
            'left: 3px;' +
            'margin-bottom: 30px\9;' + 

        '}'
        );
4

0 回答 0