My webpage is experiencing a large left margin due to a global style sheet that cannot be modified. The margin is inline and cannot be changed in my print style. I found a jQuery solution that works in Firefox and IE, but unfortunately not in Chrome. jquery function:
$('#page').each(function(idx,el){
el.style.margin='';
});
I've attempted various methods such as using jquery css('margin-left','0') and manipulating DOM attributes, but nothing seems to work! Any assistance would be greatly appreciated.
document.getElementById("page").style.margin="0";
document.getElementById("page").setAttribute("margin","0");
document.getElementById("page").setAttribute("margin-left","0");