View Full Version : Changing the location of iframes?
08-10-2009, 01:12 PM
I recently embedded an iframe of a form that I would like to use on my site. How can i change the location of the iframe on the page? It is currently overlapping other features of the site.
08-10-2009, 02:02 PM
You can use an absolute positioning of the iframe to give an exact position [left and top] to position the frame in.
<iframe src="myframe.html" width="300" height="100" style="position: absolute; left: 200px; top: 200px;"></iframe>
08-14-2009, 09:46 AM
Depending on your requirements, you might also need to add z-index:-1000; to the style= "... attribute in JShor's code suggestion.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.