0

i am currently building a website using HTML and and external CSS Stylesheet. I have a "container" which holds the content of my page, central to the body. What i want is that when a user adjusts the text size using there browser that the "container" automatically resizes with the text so that it stays in proportion. At the moment the text size changes but the container doesn't. I hope someone can help me with this problem.

Thanks in advance

Matt

skaffman
  • 381,978
  • 94
  • 789
  • 754
Matt
  • 1

1 Answers1

0

This is a bug in IE, in other browsers e.g. Firefox, the containers will be correctly resized.

You would need to detect the browser type; then if it's IE use some fancy javascript workarounds to get it to work.

Catch browser's "zoom" event in JavaScript

Community
  • 1
  • 1
J V
  • 9,736
  • 7
  • 41
  • 64