I'm trying to resize a browser (I know... I know...) by the width only, and would like to maintain the users current height of the browser and I'm struggling to get it working correctly under IE8.
if I do:
window.resizeTo(document.documentElement.clientWidth, document.documentElement.clientHeight);
Which should in theory, maintain the exact same size, I'm losing roughly 176 pixels from the height... and roughly about the width of the scrollbar.
I can't find any properties which would give me the correct size of the entire browser window.