Morning All Yesterday I wrote
>> At www.oldcurmudgeon.net I'm having a small problem with an image ( >> the old curmudgeon ) expanding into the main content at ctrl + 4 font >> sizing and larger on a 1024 x 768 canvas. Is there a CSS way to >> contain the image. >> >>snipped a bit here for brevity >> >> Any suggested fixes greatly appreciated. >> > David H wrote back > Do you mean page zoom rather than font (text) sizing? I don't see a > problem with the image on increased text size. > > Anyway, testing in IE 8 (including compatibility mode), Safari (Mac), > and Firefox 3.5 (Mac) I find this works fairly well: > > 1. Take out the explicit width and height from the IMG tag > 2. Make the max-width: 100%; in the #image img rule > > Hope this helps. > > Cordially, > David > -- Thanks David H for taking time to test this. Yes, page zoom is probably the more correct context for what I was testing. Your suggestions parallel David L's. Will work on the page later this afternoon and see what happens. Again, thanks for the suggestions. Jim Nannery www.oldcurmudgeon.net ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
