# Fixed position: fixed?

**URL:** <https://forums.creativeclouddeveloper.com/t/fixed-position-fixed/1181>\
**Category:** UXP Plugin API\
**Created:** [August 22, 2019, 2:13pm UTC](https://forums.creativeclouddeveloper.com/t/fixed-position-fixed/1181 "2019-08-22T14:13:42Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![kerrishotts](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/kerrishotts/32/8_2.png) [@kerrishotts](https://forums.creativeclouddeveloper.com/u/kerrishotts)\
**Post date:** [October 9, 2019, 3:16pm UTC](https://forums.creativeclouddeveloper.com/t/fixed-position-fixed/1181/9 "2019-10-09T15:16:43Z")

</div>

`position: fixed` allows content to be positioned irrespective of scroll position, whereas `position: absolute` just positions content based on the nearest positioned element, while allowing the content to scroll.

In XD 21/22, the fixed positioning offset was based on the plugins _panel_ coordinates, not the plugin’s coordinates. This meant that you needed to add like 90 or 100px vertically to avoid the header that plugins have in the panel. It also allowed the plugin to escape its own UI container.

In XD 23/24, you can now use `position: fixed`. In fact, there are some plugins that clearly used it and are now slightly broken due to use. If you do use `position: fixed` _be sure_ to detect the version of XD or set your plugin’s `minVersion` to 23, since XD 21/22 will render differently than 23/24.

---

_[View the full topic](https://forums.creativeclouddeveloper.com/t/fixed-position-fixed/1181)._
