Defina vários atributos CSS JavaScript
document.getElementById("myElement").style.cssText = "display: block; position: absolute";
Magnificent Manx
document.getElementById("myElement").style.cssText = "display: block; position: absolute";