I understand that "portrait" iPad orientation corresponds to a window 1024px wide, and 768px for "landscape".
However I have always the same width regardless of my iPad orientation when I visit my web page.
At the left bottom, the number in red color represents the value of jQuery('body').width()connected to the resize() JS event. Why does the value remain the same in both portrait and landscape modes?