# Can.Component height

**URL:** <https://forums.bitovi.com/t/can-component-height/96>\
**Category:** CanJS\
**Created:** [December 31, 2015, 4:34am UTC](https://forums.bitovi.com/t/can-component-height/96 "2015-12-31T04:34:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thecountofzero](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.bitovi.com/thecountofzero/32/79_2.png) [@thecountofzero](https://forums.bitovi.com/u/thecountofzero)\
**Post date:** [December 31, 2015, 4:34am UTC](https://forums.bitovi.com/t/can-component-height/96/1 "2015-12-31T04:34:46Z")

</div>

Here is something I’ve noticed. The “height” property of a can.Component’s tag seems to set to “auto” and ignores any values. Is there something I’m missing?

Try setting the height of bit-tabs to 200px.

---

<div class="post-metadata">

**Author:** ![DylanRoss](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.bitovi.com/dylanross/32/71_2.png) [@DylanRoss](https://forums.bitovi.com/u/DylanRoss)\
**Post date:** [December 31, 2015, 4:54am UTC](https://forums.bitovi.com/t/can-component-height/96/2 "2015-12-31T04:54:47Z")

</div>

Make it `display:block`. Most browsers will render custom elements as `display:inline`. In bit-tabs, tabs.less currently only does this to the `bit-panel`s.

---

<div class="post-metadata">

**Author:** ![thecountofzero](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.bitovi.com/thecountofzero/32/79_2.png) [@thecountofzero](https://forums.bitovi.com/u/thecountofzero)\
**Post date:** [December 31, 2015, 5:21am UTC](https://forums.bitovi.com/t/can-component-height/96/3 "2015-12-31T05:21:03Z")

</div>

That did the job. Thanks!
