Help with iframes

Status
Not open for further replies.

geekster

In Runtime
Messages
189
Im helping my daughter with her site. I can get the iframe on it but I cant put it where I want it on the page. What code puts it in a specific location.
 
depends on what you mean exactly.

if you just want it centered you can just throw some center tags around it:
Code:
<center>
<IFRAME SRC="yourpage.html"></IFRAME>
</center>

likewise for left or right:
Code:
<p align="left">
<IFRAME SRC="yourpage.html"></IFRAME>
</p>
Code:
<p align="right">
<IFRAME SRC="yourpage.html"></IFRAME>
</p>

..and so on...to get it in an even more specific location you could nest it inside of a table cell, but im not sure if that's what you're looking to do.
 
I am not too smart with html. I tried web dwarf and fixed the problem. Now my next question. How do I get the links to target the iframe instead of opening in a new window? Please bare with me , I am trying to learn.
 
first name your iframe:
Code:
<iframe name="myiframe" src="initialpage.html"></iframe>

then send your link to that frame:
Code:
[url="linkpage.html"]Link Text[/url]
 
Status
Not open for further replies.
Back
Top Bottom