JavaScript Style Многочисленные свойства
document.getElementById("myElement").style.cssText = "display: block; position: absolute";
Magnificent Manx
document.getElementById("myElement").style.cssText = "display: block; position: absolute";
document.getElementById("myElement").style.cssText = "display: block; position: absolute";