# Iframes auto-resizeable

**URL:** <https://forum.kirupa.com/t/iframes-auto-resizeable/25260>\
**Category:** web dev\
**Created:** [July 10, 2003, 11:13pm UTC](https://forum.kirupa.com/t/iframes-auto-resizeable/25260 "2003-07-10T23:13:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![casperxs](https://avatars.discourse-cdn.com/v4/letter/c/e5b9ba/32.png) [@casperxs](https://forum.kirupa.com/u/casperxs)\
**Post date:** [July 10, 2003, 11:13pm UTC](https://forum.kirupa.com/t/iframes-auto-resizeable/25260/1 "2003-07-10T23:13:46Z")

</div>

hi  
i have a little quiestion about the iframes, how can it be auto adjusted to the screen user propieryties, im optimitized the site to 1024 x 768, but if my visits have a low resoltion, how can i do this iframe auto adjust, by javascript or somethig

Please helpme!!!

Note: sorry for my bad english, im still study

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 11, 2003, 5:09am UTC](https://forum.kirupa.com/t/iframes-auto-resizeable/25260/2 "2003-07-11T05:09:52Z")

</div>

I dont think that is possible…but I could be wrong is there any particular reason you are using Iframes. could you use a div or something…wait actually I think you can use percentages with Iframes. try using percentages instead of absolute pixels. That may work. That way your page will always be like 80% of the screen no matter the resolution. Not sure if it will work tho

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 11, 2003, 2:07pm UTC](https://forum.kirupa.com/t/iframes-auto-resizeable/25260/3 "2003-07-11T14:07:04Z")

</div>

You could always try setting the height and width to 100%.

Jase

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 13, 2003, 7:53pm UTC](https://forum.kirupa.com/t/iframes-auto-resizeable/25260/4 "2003-07-13T19:53:46Z")

</div>

well, i have been trying taht ways, but it doesnt work, at this moment, i´ll try to do this with a java script, but i didn´t know java, there is anybody how will give me a hand?

Thank all of your comments
