# Can we get rid of height/width auto in oneboxes?

**URL:** <https://meta.discourse.org/t/can-we-get-rid-of-height-width-auto-in-oneboxes/72579>\
**Category:** UX\
**Created:** [Octobre 23, 2017, 12:52 UTC](https://meta.discourse.org/t/can-we-get-rid-of-height-width-auto-in-oneboxes/72579 "2017-10-23T00:52:50Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![schungx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schungx/32/70989_2.png) [@schungx](https://meta.discourse.org/u/schungx)\
**Post date:** [Octobre 23, 2017, 5:29 UTC](https://meta.discourse.org/t/can-we-get-rid-of-height-width-auto-in-oneboxes/72579/6 "2017-10-23T05:29:25Z")

</div>

Probably not as an image, but as a background image, there is a setting to fit the image neatly inside the element as large as possible without cropping. You can consider turning this into a background image, but then you’ll lose some of the benefits of the `img` tag.

---

_[View the full topic](https://meta.discourse.org/t/can-we-get-rid-of-height-width-auto-in-oneboxes/72579)._
