Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internet Explorer 9 ignores image height and width #7612

Closed
regiss opened this issue Apr 18, 2013 · 4 comments
Closed

Internet Explorer 9 ignores image height and width #7612

regiss opened this issue Apr 18, 2013 · 4 comments

Comments

@regiss
Copy link

regiss commented Apr 18, 2013

Internet explorer 9 ignores width and height of images, ok in Chrome, FF. Bootstrap Bootstrap v2.3.1

Test:

Bootstrap css:

img{max-width:100%;width:auto\9;height:auto;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic;}

Fix: comment height: auto

img{max-width:100%;width:auto\9;height:auto;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic;}

@cvrebert
Copy link
Collaborator

What width & height specification is it ignoring? Native size of the file, img tag attributes, or something else?

@regiss
Copy link
Author

regiss commented Apr 18, 2013

Should be more specific. Example: Original proportion of image - width 300px, height 300px
when you insert image, code below it should be resized to 100x100, but it comes with same proportion as a original image

img src="test.jpg" width="100" height="100"

@cvrebert
Copy link
Collaborator

Sounds like a duplicate of #4935.

@mdo
Copy link
Member

mdo commented Apr 18, 2013

Closing as a dupe.

@mdo mdo closed this as completed Apr 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants