阅读背景:

尝试将样式设置为屏幕高度和宽度CSS

来源:互联网 

What I am trying to do is get the height of the screen and the width of the screen and then use the document.getElement.style.property = newStyle to change the style to the obtained height of the screen and width of the screen. I tried making the height and width into Strings to use, I also tried putting just the values in. I want to know how to put in px values and % values. Thanks.What I am trying to do is get the height of the




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: