View Full Version : positioning


Nik
04-01-2004, 09:50 PM
can anyone help me postion my iframe to updates and is there a way to make it transparent?

zangerbanger
04-01-2004, 09:57 PM
<iframe style="position:absolute; top:#px; left:#px; filter:alpha(opacity=#);"></iframe>

Replace the #'s with your own values.

Nik
04-01-2004, 10:37 PM
yea i tried that put it didnt do anything

starlet
04-01-2004, 10:40 PM
whats the exact code you used? that should work...

Nik
04-02-2004, 03:16 PM
<div style="position: absolute; top:100; left:500">
YOU IFRAME WILL GO HERE</div>
<IFRAME src="http://www.freewebs.com/xnikkixx/comeclean.htm" name="http://www.freewebs.com/xnikkixx/comeclean.htm" width="300" height="300" frameborder="0"></IFRAME>

it moved the YOUR IFRAME WILL GO HERE but not the iframe itself.

pb&j
04-02-2004, 03:29 PM
you are supposed to put your iframe coding into the div where they put that message...

<div style="position: absolute; top:100px; left:500px;">
<IFRAME src="http://www.freewebs.com/xnikkixx/comeclean.htm" name="http://www.freewebs.com/xnikkixx/comeclean.htm" width="300" height="300" frameborder="0"></IFRAME>
</div>

i noticed their example forgot the PX measurements, so that is now included for your example.

Rosey
04-02-2004, 05:01 PM
You should also actually give your frame a name and not a url for the name otherwise targetting it will be a pain, it should just be name="frame" or name="main" or name="whatever" so when you target it, if it's called frame, you would just have to do:

<a href="link.html" target="frame">Links</a>