# Any ideas why this happens

**URL:** <https://forums.realmacsoftware.com/t/any-ideas-why-this-happens/46158>\
**Category:** RapidWeaver Elements\
**Created:** [February 3, 2025, 5:01pm UTC](https://forums.realmacsoftware.com/t/any-ideas-why-this-happens/46158 "2025-02-03T17:01:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![upssjw](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/upssjw/32/26063_2.png) [@upssjw](https://forums.realmacsoftware.com/u/upssjw)\
**Post date:** [February 3, 2025, 5:01pm UTC](https://forums.realmacsoftware.com/t/any-ideas-why-this-happens/46158/1 "2025-02-03T17:01:12Z")

</div>

looks correct in Elements but not in browser

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [February 3, 2025, 5:13pm UTC](https://forums.realmacsoftware.com/t/any-ideas-why-this-happens/46158/2 "2025-02-03T17:13:57Z")

</div>

Possibly a bug in the build you have… can you share the project here so we can test it on the newer internal beta (due for release tomorrow).

---

<div class="post-metadata">

**Author:** ![upssjw](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/upssjw/32/26063_2.png) [@upssjw](https://forums.realmacsoftware.com/u/upssjw)\
**Post date:** [February 3, 2025, 5:37pm UTC](https://forums.realmacsoftware.com/t/any-ideas-why-this-happens/46158/3 "2025-02-03T17:37:46Z")

</div>

[elementsapp://downloadDocument/CQOHcnUz7ugD](elementsapp://downloadDocument/CQOHcnUz7ugD)

---

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [February 4, 2025, 2:30pm UTC](https://forums.realmacsoftware.com/t/any-ideas-why-this-happens/46158/4 "2025-02-04T14:30:14Z")

</div>

You’ve stumbled upon an edge case here!

This works in Elements because the editor automatically applies `position: relative;` to the Container component. This is necessary for the editor UI to properly position itself around each component.

However, when you preview or publish the site, the Container does not have `position: relative;` by default. To fix this, simply set the **Layout → Position** control to **Relative**.

Hope that helps! 🙂
