Setting window width in Internet Explorer

  • Thread starter Thiebaut Mochel
  • Start date
T

Thiebaut Mochel

Hello,

I want to implement the following behavior: setting the width of my
browser to a fixed value and letting the user to adjust the height.
On Mozilla, window.innerWidth=value does the job. But on Internet
Explorer, I have to use window.resizeTo() and I can't just set the width
without having a value for the height. Moreover, the height given by a
function called by the onresize event handler is the height before the
user resized the window, not after.
Does anyone have a workaround for this problem ? (If you think it is not
clear enough, I can send my HTML page).
Thanks in advance,
Thiébaut
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,266
Messages
2,571,073
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top