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

<img /> tag with height attr are not responsive #3842

Merged
merged 1 commit into from
Jul 22, 2012
Merged

<img /> tag with height attr are not responsive #3842

merged 1 commit into from
Jul 22, 2012

Conversation

alienlebarge
Copy link
Contributor

My CMS (Typo3) add the height and widthattributes in every <img /> tags.

For a responsive website, the width is correctly adjusted (override) via CSS. This is not the case for the height. It remains fixed.

The height: auto; fix that.

Hope it will be usefull.

cédric

@ximi
Copy link

ximi commented Jun 14, 2012

I have added this manually several times, good that you made a pull request for this @alienlebarge
I spontaneously can't think of any reason why this shouldn't be added.

@winterstetter
Copy link

+1

1 similar comment
@Mte90
Copy link

Mte90 commented Jun 16, 2012

+1

@fat
Copy link
Member

fat commented Jul 22, 2012

cool thanks!

fat added a commit that referenced this pull request Jul 22, 2012
<img /> tag with `height` attr are not responsive
@fat fat merged commit cf70fb6 into twbs:2.1.0-wip Jul 22, 2012
stempler pushed a commit to stempler/bootstrap that referenced this pull request Apr 11, 2014
<img /> tag with `height` attr are not responsive
stempler pushed a commit to stempler/bootstrap that referenced this pull request Nov 4, 2014
<img /> tag with `height` attr are not responsive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants