set multiple style in javasript 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";