your question is not too clear, but if i should understand some how. your trying to display a template from another page in a custom page. If that is so then i guess they must first reference the same file attributes in the theme and also you have know exactly where to display the contents.That said you must copy the corresponding DIV's in the theme you are copied from or refrenced from.
Thanks for your prompt response.
I want to do something like iframes of html in apex pages. I didn't follow what you have replied. File attributes means which one are you talking about?
You can use iframes in apex. Just google it
what i meant by file attributes is the theme it inherits from. Eg
you can call the other page with its URL like this
<iframe id="receipt_preview_iframe" src="HOME_URLf?p=&APP_ID.:1:SESSION_ID::NO:::" width="100%" height="400px" style="max-width: 600px; border: 1px solid #888; padding: 10px; margin: 20px;">
Hope this helps