# \<object\> height in ios

**URL:** <https://forum.ionicframework.com/t/object-height-in-ios/132720>\
**Category:** ionic-v1\
**Created:** [June 12, 2018, 10:54am UTC](https://forum.ionicframework.com/t/object-height-in-ios/132720 "2018-06-12T10:54:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![brwa88](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/brwa88/32/118970_2.png) [@brwa88](https://forum.ionicframework.com/u/brwa88)\
**Post date:** [June 12, 2018, 10:54am UTC](https://forum.ionicframework.com/t/object-height-in-ios/132720/1 "2018-06-12T10:54:52Z")

</div>

hello i have an ionic V1 app and i used Object to show my website content and everything works find on android but it gets stuck on ios unless i specify the object height in(px) but the content height is dynamically changing so if i give less height some content wont show and if i give more height there will be space after footer

**so is there any solution to my problem thank you**

```auto
<ion-view view-title="<img src='img/ionic2.png' style='width:70px;margin:7px auto;display:block;position:absolute;left:50% !important;'/>">
  <ion-content id="con15" style="overflow:scroll; position:absolute; -webkit-overflow-scrolling: touch; width:100%;height:100%;">
    <object id="iframe15" onload="document.getElementById('con15').scrollTop = 0;" data="https://www.knnc.net/archive.aspx?smartphone=yes" style="width:100%;border:none;height:100%;padding-top:40px;"></object>

  </ion-content>
</ion-view>

```

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:32pm UTC](https://forum.ionicframework.com/t/object-height-in-ios/132720/2 "2021-07-19T21:32:24Z")

</div>


