# Lock layer to table

**URL:** <https://forum.kirupa.com/t/lock-layer-to-table/166242>\
**Category:** Uncategorized\
**Created:** [October 18, 2005, 11:33am UTC](https://forum.kirupa.com/t/lock-layer-to-table/166242 "2005-10-18T11:33:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jakepeg](https://avatars.discourse-cdn.com/v4/letter/j/8dc957/32.png) [@jakepeg](https://forum.kirupa.com/u/jakepeg)\
**Post date:** [October 18, 2005, 11:33am UTC](https://forum.kirupa.com/t/lock-layer-to-table/166242/1 "2005-10-18T11:33:48Z")

</div>

I have a table that is centered on the page.

I have a layer that is hidden.

There is a button that when pressed shows the hidden layer.

When the layer is displayed I want it to hide the table.

Is there a way I can set the position of the layer relative to the table?
