David Dorward wrote:
mscir wrote:
I'd like to detect when the user resizes the text in the browser, is
there a specific event I can watch for?
Interesting approach, didn't let me resize the page though.
That's what you want to do? (It always helps to describe the problem as well
as the barrier that is preventing you from implementing the solution you
have come up with).
Just define your lengths in units relative to the font size in the first
place:
div#navigation {
width: 35em;
}
Sorry I wasn't clearer in my original post. I'd like a cross-browser
approach that lets me see when the browser text is resized, e.g. when
the Netscape 7.2 menu choice: 'View > Text Zoom' setting is changed,
or when the IE 6 menu choice: 'View > Text Size' setting is changed.
Barrier to solving: I haven't sen any kind of event trapping that will
work (I plead ignorance).
Mike