December 14, 2009 at 4:28 pm #68142
document.getElementById(‘element’).style.width = document.body.parentNode.scrollWidth + ‘px’;
Although it would be better with pure CSS. Not sure how that could be done. Generally I would try to avoid sites that are going to require horizontal scrolling. I can’t see your whole site on my computer.