# Access Dimensions of Element set to Auto Height/Width

**URL:** <https://community.weweb.io/t/access-dimensions-of-element-set-to-auto-height-width/4504>\
**Category:** Ask us anything\
**Created:** [September 21, 2023, 9:56pm UTC](https://community.weweb.io/t/access-dimensions-of-element-set-to-auto-height-width/4504 "2023-09-21T21:56:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dorian](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorian/32/13183_2.png) [@Dorian](https://community.weweb.io/u/Dorian)\
**Post date:** [September 21, 2023, 9:56pm UTC](https://community.weweb.io/t/access-dimensions-of-element-set-to-auto-height-width/4504/1 "2023-09-21T21:56:47Z")

</div>

Is there somewhere for me to access the current height or width of an element that has its Height/Width set to Auto?

---

<div class="post-metadata">

**Author:** ![aurelie](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/aurelie/32/13249_2.png) [@aurelie](https://community.weweb.io/u/aurelie)\
**Post date:** [September 21, 2023, 10:29pm UTC](https://community.weweb.io/t/access-dimensions-of-element-set-to-auto-height-width/4504/2 "2023-09-21T22:29:26Z")

</div>

Hey, what is the reason you need to access it?  
The option is available with the scroll feature (which also allow to follow width and height), but i think this is a beta only in production for now

---

<div class="post-metadata">

**Author:** ![Dorian](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorian/32/13183_2.png) [@Dorian](https://community.weweb.io/u/Dorian)\
**Post date:** [September 21, 2023, 10:32pm UTC](https://community.weweb.io/t/access-dimensions-of-element-set-to-auto-height-width/4504/3 "2023-09-21T22:32:19Z")

</div>

I want to set the properties of another element relative to the primary element’s (variable) dimensions.

---

<div class="post-metadata">

**Author:** ![Dorian](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorian/32/13183_2.png) [@Dorian](https://community.weweb.io/u/Dorian)\
**Post date:** [September 22, 2023, 1:05am UTC](https://community.weweb.io/t/access-dimensions-of-element-set-to-auto-height-width/4504/4 "2023-09-22T01:05:02Z")

</div>

I figured out a way around this for now thanks @aurelie so I will close this question.

---

<div class="post-metadata">

**Author:** ![neelsarode](https://avatars.discourse-cdn.com/v4/letter/n/9fc29f/32.png) [@neelsarode](https://community.weweb.io/u/neelsarode)\
**Post date:** [October 11, 2023, 4:29pm UTC](https://community.weweb.io/t/access-dimensions-of-element-set-to-auto-height-width/4504/5 "2023-10-11T16:29:06Z")

</div>

Hey Dorian! Could you give me any insight on this? Looking for same solution
