Suppose i want to load a site in an iframe i would use the following code
the above code when loaded shows Techenclave.com starting from its top left corner, inside the iframe dimensions.
My question is what if i just wanted to show the desired portion of the webpage i desired and not starting from top-left corner (say something exactly in the middle of the page ) inside the iframe?
What changes should i make to the code to make it work that way????
Code:
<iframe src="http://www.techenclave.com/" width="640" height="500" id="myframe" scrolling="no" frameborder="0" marginheight="0" marginwidth="0"> Your Browser Do not Support Iframe</iframe>
the above code when loaded shows Techenclave.com starting from its top left corner, inside the iframe dimensions.
My question is what if i just wanted to show the desired portion of the webpage i desired and not starting from top-left corner (say something exactly in the middle of the page ) inside the iframe?
What changes should i make to the code to make it work that way????