# Site that re-sizes to

**URL:** <https://forum.kirupa.com/t/site-that-re-sizes-to/136667>\
**Category:** Uncategorized\
**Created:** [February 7, 2005, 4:14pm UTC](https://forum.kirupa.com/t/site-that-re-sizes-to/136667 "2005-02-07T16:14:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lewwy](https://avatars.discourse-cdn.com/v4/letter/l/85f322/32.png) [@Lewwy](https://forum.kirupa.com/u/Lewwy)\
**Post date:** [February 7, 2005, 4:14pm UTC](https://forum.kirupa.com/t/site-that-re-sizes-to/136667/1 "2005-02-07T16:14:58Z")

</div>

…fit the content.

I would like to know how to create a box that resizes to fit the content of the site, im not sure im explaining this very well, and I cant find an example, but what happens is.

1. A button is clicked e.g News
2. The rectangle the content is contained in, re-sizes to fit the new content

anyone know how this is accomplished? Please help 🙂
