Jack Blankenships wrote:
> I want to have an image (several images) that are dynamically 
> sized/fluid based on the browser window/viewport dimensions.

1: declare a (very) large pixel or em 'width' on the image - in CSS.
2: declare 'max-width: 100%' on the image.

Result: the image will become as wide as the 'width', but will not
become wider than the body or other element it's placed in. Declaring an
image-width larger than the largest viewport you can imagine, will make
it fill all imaginable viewports exactly - unless you impose other
restrictions.

Example with somewhat large (intrinsic, not declared) 'width' (1280px)
and 'max-width: 100%'...
<http://www.gunlaug.no/tos/moa_19c.html>


regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
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