# PDF View "showPageNumber" always in the bottom of the view?

**URL:** <https://forum.inductiveautomation.com/t/pdf-view-showpagenumber-always-in-the-bottom-of-the-view/110618>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [September 15, 2025, 7:07am UTC](https://forum.inductiveautomation.com/t/pdf-view-showpagenumber-always-in-the-bottom-of-the-view/110618 "2025-09-15T07:07:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![taohongyu88](https://avatars.discourse-cdn.com/v4/letter/t/f05b48/32.png) [@taohongyu88](https://forum.inductiveautomation.com/u/taohongyu88)\
**Post date:** [September 15, 2025, 7:07am UTC](https://forum.inductiveautomation.com/t/pdf-view-showpagenumber-always-in-the-bottom-of-the-view/110618/1 "2025-09-15T07:07:57Z")

</div>

In Flex View, PDF View "showPageNumber" always in the bottom of the view, not in the bottom of the component?

 ![49eb4f6a8d6f599acfbdc34724d96303](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/2/32b9ce3c3c1ec522293f17963e45785bcf5969eb.png)

---

<div class="post-metadata">

**Author:** ![dgillbee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dgillbee/32/73838_2.png) [@dgillbee](https://forum.inductiveautomation.com/u/dgillbee)\
**Post date:** [September 15, 2025, 8:28am UTC](https://forum.inductiveautomation.com/t/pdf-view-showpagenumber-always-in-the-bottom-of-the-view/110618/2 "2025-09-15T08:28:46Z")

</div>

This is an issue with CSS. The Page numbers are most likely positioned with an absolute position.Absolute positioning requires an anchor to position against. If none exist then the screen will be used.

To fix this add the following to the PDF View component

`Style : Position: relative`

Adding an explicit position relative makes this component the anchor from which child absolute elements are position relative too.

 ![Screenshot 2025-09-15 182614](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/a/bac7fdca9d0ef931b3c3779b1ced4b0d8e8df667.png)
