Document Get Element by ID Style
document.getElementById("documentIframe").style.textAlign = "center";
document.getElementById("documentIframe").style.margin = "0px auto";
Fine Flatworm