Jack,

I don't think you're going to find a CSS solution. Percentage dimensions for
IMG elements are percentages of the source graphic dimensions, not the
viewport, as you have discovered. If you need to alter the image dimensions,
and maintain it's aspect ratio, you will need to wait for an onresize event
to happen on the browser window (browser object model), then dynamically
adjust the image's size. This'll require JavaScript. 

Another alternative is to use Flash to present image(s), because a Flash SWF
in an OBJECT element *CAN* be specified to proportionally resize itself to
the viewport.

...Rob
____________________________________
Rob Emenecker @ Hairy Dog Digital
www.hairydogdigital.com
 

______________________________________________________________________
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/

Reply via email to