A useful CSS tweak

I mentioned this blog to someone recently, and was told that my pictures were too big and didn’t fit nicely in the pages. What? I wondered. They looked fine to me. But then it occurred to me that the other person was using Internet Explorer, which I almost never use. I switched to IE to take a look and was aghast. In IE, my photos were being displayed at full size rather than being resized on the fly as happens in Firefox and Netscape. But thanks to this tip that I found, I was able to resolve the problem. Turns out that it had to do with IE and its noncompliance with CSS standards. Yay! for the web, and boo! for noncompliant browsers.

Leave a Reply