Forum Moderators: not2easy

Message Too Old, No Replies

Positioning conent outside of your iFrame

Positioning conent outside of your iFrame

         

Ryan_Marcus

8:39 pm on Jul 29, 2005 (gmt 0)



I am a co-webmaster for a small business, and I am brutaly forced to work with iFrames.

Our website is really not well designed.. We have 3 iFrames.. A title, a nav, and content.

¦-----------------------¦
¦ Title ¦
¦-----------------------¦
¦ ¦ ¦
¦ N ¦ ¦
¦ A ¦ CONTENT ¦
¦ V ¦ ¦
¦____¦______________________
FOOTER

On the current page I am devloping, I need to place a layer, or a div, above and under "my" iFrame.

I have attempted:

1. Using a <layer> tag and making the postition 0, and it still seems to be relitive to my iFrame

2. Using CSS in a div tag to posision a div:

<style>
.foo
{
position : absolute;
left : 0px;
top : 0px;
width : 100px;
height : 500px;
overflow : scroll;
}

</style>

Still with no luck.

Any ideas?

encyclo

1:56 pm on Aug 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld [webmasterworld.com] Ryan_Marcus, and sorry you have been left so long without a reply.

I'm a little confused by your question, though. Is "your" iframe the content one, or do you have control over the whole page? Are you trying to place your CSS within the document held in your iframe or in the frameset page? Am I right in thinking you want to place your

div
over the top of one of your iframes, or outside of it?