hello
i am trying to make one of my original pages open up in the centre of my website (as all the other pages do).

when clicking on the Boarding House Reform button on the right hand side of the page, it opens up without the frame around it. No other pages do that.

Am I missing something in the code?

Click Here

Any help would be greatly appreciated.

I'd like to help but I'm having trouble following along with your code. With regard to your question..

when clicking on the Boarding House Reform button on the right hand side of the page, it opens up without the frame around it. No other pages do that.

The reason is because that element which is a simple link which displays an image has no instruction to display the contents within the iFrame. It appears to be a simple hyperlink.

<a href="bhop.html"><img src="_images/bh_reform_button.jpg" alt="Boarding House Reform" width="141" height="103" border="0" align="right"></a>

Now, with regard to other hyperlinks on your page, I noticed the ones in the footer area call a JavaScript function.

For example...

<a onclick="return loadIframe(&#39;main&#39;, this.href)" href="awards.html">Awards</a>

that was the exact answer i was searching for JorgeM. Thank you so much. works like a charm now....and I apologize for the god-awful coding in the site. it's older than dirt and there is no funding for time to fix it. Appreciate you taking the time to help me!!!

god-awful coding in the site. it's older than dirt

LOL, that's OK. glad that I was able to assist.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.