Skip to content

IE11: Figure with .img-fluid is not resized  #25242

@bentrm

Description

@bentrm

The fluid image in a figure container is not resized at all making it overflow the content area.

On MacOS with Safari 11.0.2 it looks fine:
macos-safari

On Win 7 with Internet Explorer 11 .0.9600.18015 it looks like this:
bildschirmfoto 2018-01-09 um 14 36 47

Does seem to be somewhat related to display: inline-block on figure as deactivating that property (falling back to 'display: block' makes it look fine on IE11:
win7-ie11-display

There have been related issues (#20970, #21360, #21886, #21888) describing this behavior for older versions of Firefox or which are closed to inactivity. There doesn't seem to be a fix for IE11 (which is a supported version I suppose).

I created a minimal example on JS Bin.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions