...

View Full Version : How to present an external web page in a iframe



RandomRobbo
07-30-2012, 07:17 PM
Hi all,

I want to present an external webpage in an iframe in a particular position. My web page is currently http://www.weatherinaflash.com/forecast5.html

This is how I have set out the div.

[CODE]
<div style="width:645px; height:340px; overflow:hidden; position:absolute; top:250px; left:250px">
<iframe src="http://www.wunderground.com/cgi-bin/findweather/hdfForecast?query=leyland%2C+leyland#forecast" style="position:relative" width="645px" height="340px" scrolling="no">
</iframe>
</div>
[CODE]

Does anybody think there is a better way to do this? Some browsers are accepting this like explorer 8, but safari and chrome are not working:)

Many Thanks,

Keleth
07-30-2012, 08:17 PM
Uh... its loading fine in Chrome, what's "not working"? Not working is extremely vague, impossible to diagnose.

tempz
07-30-2012, 09:53 PM
Uh... its loading fine in Chrome, what's "not working"? Not working is extremely vague, impossible to diagnose.

It should load in a pre-set frame; but it displaying the page in Chrome, FireFox.

joofredy
07-31-2012, 08:10 AM
Uh... its loading fine in Chrome, what's "not working"? Not working is extremely vague, impossible to diagnose.

Major Payne
07-31-2012, 02:43 PM
Would these help?:

How to position a page within an iframe (http://aldebaranwebdesign.com/blog/how-to-position-a-page-within-an-iframe/)
How to position a page within an iframe using CSS (http://cyberstarweb.com/2010/06/how-to-position-a-page-within-an-iframe-using-css/)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum