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