Style Jquery dialog content div

后端 未结 2 536
旧时难觅i
旧时难觅i 2021-01-24 01:24

I have this situation:

var div = document.createElement(\'div\');
div.id=\"content\";

$(div).dialog(\'open\');

The content of the div opens i

2条回答
  •  暖寄归人
    2021-01-24 02:01

    for style you can give like this it may help you

    #content{
        width:100%;
        height:100%;
        background-color:black;
        position:fixed;
        top:0;
        left:0
    }
    

提交回复
热议问题