# Question about iframe middle click and more

**URL:** <https://forum.kirupa.com/t/question-about-iframe-middle-click-and-more/327010>\
**Category:** web dev\
**Created:** [January 30, 2012, 7:30pm UTC](https://forum.kirupa.com/t/question-about-iframe-middle-click-and-more/327010 "2012-01-30T19:30:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zenor](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/zenor/32/3634_2.png) [@Zenor](https://forum.kirupa.com/u/Zenor)\
**Post date:** [January 30, 2012, 7:30pm UTC](https://forum.kirupa.com/t/question-about-iframe-middle-click-and-more/327010/1 "2012-01-30T19:30:33Z")

</div>

Hello,

I am building a website and at the moment, I have completed the basic layout and the pages.  
I have build it using iframe to change the main content found in the middle of the page.

There is a problem though. When a user hits the middle mouse button on one of the links that loads inside the iframe, it loads the html page in a new tab so all the layout is missing.  
That is common and not a programming issue, but what I am looking for is avoiding it.  
I tried building it with PHP include but I am getting a lot of trouble, since I’ve already built a lot of css on each page etc.

Any suggestions about this?
