js set multiple css style code example
Example: setting multiple styles in javascript
document.getElementById("myElement").style.cssText = "display: block; position: absolute";
document.getElementById("myElement").style.cssText = "display: block; position: absolute";