View Full Version : Help needed w/ Positioning IFrames


Mochacheena
05-19-2003, 08:56 PM
I have seen many tutorials but I still cant get my Iframe positioned in the right place

Is anyone willing to help or give me tips?

Elentari
05-19-2003, 09:14 PM
Well you can either place it inside a table layout (basically make a table with cells for every part of your layout and put it in there)....... or just use CSS positioning. Your code should look like the code below. Change the values to whatever you want them to be....left means how far it is from the left and top is how far it is for the top. You'll just have to play with the numbers until you put it where you want it.


<iframe src="pagename.html" name="iframe" width="400px" height="350px" frameborder="0" scrolling ="yes" style="position:absolute; left:100px; top:200px;"></iframe>

Mochacheena
05-19-2003, 09:21 PM
Thanks for the help.

Here is the link to my site just incase anyone needs it.
http://www.geocities.com/b2kunleashed03/index.htm

zangerbanger
05-19-2003, 09:31 PM
Add this into your IFRAME code:

style="position:absolute; top:#px; left:#px;"


Substitute your own information in bold.