View Full Version : web page within a web page
07-08-2011, 02:59 PM
I'm working on a webpage for a spa that uses an outside booking service with its own webpage for its online booking. I wanted to have a page on the spa site that contains the outside spa booking service page. I have tried using iframes but I can't get it to work. Any suggestions?
<iframe src="www. (url of booking website here) .com" width="100%" height="100%">
<p>Your browser does not support iframes.</p>
07-08-2011, 04:24 PM
in all of my iframes i've used thus far, i've been doing through my code behind... now that's irrelevant to you, but what i am getting at is i have to set the src attribute to have http://www.mypage.com .... have you tried doing this? (ie putting in the full address?)
07-09-2011, 06:46 AM
How to position a page within an iframe using CSS: Page in a Page - Iframe SSI script II: http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm
I like this better:
<div style="margin: 0 auto; width: 960px; height: 400px; overflow: auto;"><object style="width:100%; height:400px; margin:1%;" type="text/html" data="http://spa_site.com/"></object></div>
Transfer inline CSS to external CSS file and adjust dimensions as needed.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.