Show part of webpage in iframe
Hi people,
I need to display parts of another website on my own website in an iframe. There is a particular secion of this site that I'm interested in that's i.e. 100px wide and 400px high and is always placed 350px from the top and 100px from the left. Is it possible for me to have an iframe of 100x400 that displays this exact position on the underlaying website?
Thanx in advance :)
Very Nice , A Humble Request For You!!
Quote:
Originally Posted by
coothead
Hi there Lumbago,
this will work in Firefox 1.5 and IE 6 but not, unfortunately, in Opera 8.5. :eek:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
#container{
width:100px;
height:400px;
border:1px solid #000;
overflow:hidden;
margin:auto;
}
#container iframe {
width:200px;
height:750px;
margin-left:-100px;
margin-top:-350px;
border:0 solid;
}
-->
</style>
</head>
<body>
<div id="container">
<iframe src="http://www.w3schools.com/css/default.asp" scrolling="no"></iframe>
</div>
</body>
</html>
coothead
very Nice But Please tell me any way by which i can apply IFRAME to show a specific part of web page and also alongwith this i can stop media streaming on source web page.
Thanks!
IFRAME - search box results into new window
Thanks guys, I managed to get my search box from my main site to appear in an iframe on some other micro sites. I just can't get the search box results displayed in New Window.
I embedded;
#container{
width:100px;
height:400px;
border:1px solid #000;
overflow:hidden;
margin:auto;
}
#container iframe {
width:200px;
height:750px;
margin-left:-100px;
margin-top:-350px;
border:0 solid;
I embedded above in my site CSS and the following adopted for the iframe which worked seamlessly.
<div id="container">
<iframe src="http://www.w3schools.com/css/default.asp" scrolling="no"></iframe>
</div>
How do I make the results appear in NEW WINDOW. I shall appreciate if you could help.
Cheers