function
SetTitleWidth(){document.getElementById('divTitle').style.width=(window.innerWidth+window.pageXOffset)+'px';}
However, this does not take the scrollbars into account, therefore always
leaving a small amount of space left to scroll, which causes the page to be
pretty much an infinite width. If the scrollbars are not there, everything
works fine. If I understand correctly, this is not the way things are
supposed to work. Isn't window.innerWidth supposed to be the width of the
visible content area WITHOUT including the scrollbars? What can I do about
this?
--
Nathan Sokalski
njsok...@hotmail.com
http://www.nathansokalski.com/
http://developer.mozilla.org/en/docs/DOM:window.innerWidth
I think you could detect if the window's width differs from the
document's (or if the document's is greater).
"Pász Gergely" <past...@gmail.com> wrote in message
news:lt6dnYiN6L8vxDDa...@mozilla.org...