Agregar objeto de estilos js
document.getElementById("myElement").style.cssText = "display: block; position: absolute";
Tired Teira
document.getElementById("myElement").style.cssText = "display: block; position: absolute";