Closed Thread Icon

Preserved Topic: Ifram Positioning Pages that link to <a href="https://ozoneasylum.com/backlink?for=16522" title="Pages that link to Preserved Topic: Ifram Positioning" rel="nofollow" >Preserved Topic: Ifram Positioning\

 
Author Thread
Skatefx
Bipolar (III) Inmate

From: Small Patch of Grass in CT
Insane since: Mar 2001

posted posted 02-11-2002 23:45

I am looking to use the Ifram to present my content in my webpage. WHat I need to do though is position it in an exact spot in the page. I have a graphical interface plotted out and there is an exact position on where it should be to corespond with the rest of the layout. My question is. Is there any way to position the Iframe such as using CSS or somethin else?

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 02-12-2002 03:41

You can place the iFrame where ever you want it. You can do it with CSS but it will only work in IE5+ and NN6+. You can make a div that uses absolute positioning and place the iFrame in it, or you could make a table layout and place the iFrame in the data cell where you want it to be.

Just give it a whirl and see what you come up with. I bet that it wont be that difficult for you to do unless you have some elaborate table set up for your page.

Later,
C:\


~Binary is best~

[This message has been edited by CPrompt (edited 02-12-2002).]

Skatefx
Bipolar (III) Inmate

From: Small Patch of Grass in CT
Insane since: Mar 2001

posted posted 02-12-2002 05:46

I used some CSS absolute positioning and it worked like a charm! Thanks!

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 02-12-2002 20:28

CPrompt: The question of absolute positioning shouldn't be a problem as NS4.x can't see the content of iframes anyway - which leads me to suggest to SkateFX that you might want to reconsider their use unless you've got a really good reason for it.

Emps

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 02-13-2002 14:42

Ahhh... Sometimes I just don't think before I post. you are absolutley right Emps. NN4.7 can't see an iFrame! Doh....

I also thought that NN4.7 can't really do anything with the positioning of a div. Hmm... I need to brush up on my CSS stuff.

Thanks for correcting me Emps!

Later,
C:\


~Binary is best~

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 02-13-2002 16:45

CPrompt: Well it wasn't really intended as a correction more of a roundabout way of suggesting that using iframes might be a bad idea!!

I also don't think I've ever got to the bottom of NS4.x's support for positioning sometimes it works sometimes it doesn't. Sometimes float works although it is often good luck rather than hard work (well for me anyway!!).

Emps

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 02-13-2002 17:22

Yeah man I know what you mean. Where is the world that uses one browser that supports every function in regards to dHTML CSS DOM....???.... Ahhh, it would be my Nirvana!

Later,
C:\


~Binary is best~

« BackwardsOnwards »

Show Forum Drop Down Menu