What a piece of crap IE is, seriously.
I saw something on a random forums recently : http://www.webmasterworld.com/forum83/5632.htm
A guy there (in the first post) calculated a "magic conversion number" between pixels and em (even though there is no fixed value for it).
I have been looking for a way to make a website that I run "scaleable" so that it wasn't so restricted by its' fixed width layout, but still retained a couple of specific design attributes (a single image background being an important part).
I tried using the 0.0626 value to convert all of my pure px values to em, and it works an absolute DREAM. With the ctrl-scroll of my mouse, not only can I increase the size of the text, but the layout too - exactly what I was looking for.
Of course, I try all of this in Firefox, which is my preferred browser. And then I turn to the IEs to see if all's well there. You can guess the nature of this thread. All is NOT well.
IE6 works perfectly. Resizing the text also resizes the images, ofc I was expecting to start to see jaggies as the images have a fixed resolution (until I convert to SVG, sometime next century when people can use them reliably). However IE 7! What a total piece of crap.
Not only does it resize the text, it *tries* (poorly) to resize the website too! I have been aware of this "feature" but it hardly seems standards compliant. I use vertical and horizontal centering on my site, but of course that is dependant on the "viewport" centre, of which this resizing also violates! Its as though it resizes the viewport, scales everything and then but doesn't bother recalcuating the relative values within a document.
What is the point of that???
I saw something on a random forums recently : http://www.webmasterworld.com/forum83/5632.htm
A guy there (in the first post) calculated a "magic conversion number" between pixels and em (even though there is no fixed value for it).
I have been looking for a way to make a website that I run "scaleable" so that it wasn't so restricted by its' fixed width layout, but still retained a couple of specific design attributes (a single image background being an important part).
I tried using the 0.0626 value to convert all of my pure px values to em, and it works an absolute DREAM. With the ctrl-scroll of my mouse, not only can I increase the size of the text, but the layout too - exactly what I was looking for.
Of course, I try all of this in Firefox, which is my preferred browser. And then I turn to the IEs to see if all's well there. You can guess the nature of this thread. All is NOT well.
IE6 works perfectly. Resizing the text also resizes the images, ofc I was expecting to start to see jaggies as the images have a fixed resolution (until I convert to SVG, sometime next century when people can use them reliably). However IE 7! What a total piece of crap.
Not only does it resize the text, it *tries* (poorly) to resize the website too! I have been aware of this "feature" but it hardly seems standards compliant. I use vertical and horizontal centering on my site, but of course that is dependant on the "viewport" centre, of which this resizing also violates! Its as though it resizes the viewport, scales everything and then but doesn't bother recalcuating the relative values within a document.
What is the point of that???