www.webdeveloper.com
Results 1 to 5 of 5

Thread: frame position

  1. #1
    Join Date
    Dec 2002
    Posts
    8

    frame position

    I want my iframe to be 200 pixels from the left of my page, how do i do that?

  2. #2
    Join Date
    Nov 2002
    Posts
    631
    <frameset cols="200,*" framespacing="0" frameborder="0" border="0">
    <frame name="left" src="left.html" noresize>
    <frame name="right" src="right.html" noresize>
    <noframes>
    Your browser doesn't support frames
    </noframes>
    </frameset>

  3. #3
    Join Date
    Dec 2002
    Posts
    8
    okay so if i do that, how can i link from a flash menu in the left frame to an IFrame in the right frame? i may know the solution
    if the left frame were name="left" and the right frame named "right" and the IFrame named "window" would i just put <a target="window"> ??
    and another question is that <a target> thing right? what do i do after that? <a target="window" href="file.html"> ??
    (sorry for all the dumb questions )
    Last edited by messenjah; 01-01-2003 at 10:27 PM.

  4. #4
    Join Date
    Dec 2002
    Location
    Seattle, WA
    Posts
    1,676
    try this:

    <iframe src="left.html" name="leftFrame" frameborder="0" height="200" width="200" style="position: absolute; top: 0px; left: 200px;"></iframe>

    avoid naming frames window; self; top; or parent this refers to the window it's self.

    if you want a link to load content into a certain frame; iframe or window you need to designate it with the target="targetName" attribute.

  5. #5
    Join Date
    Dec 2002
    Posts
    8

    Talking thank you thank you thank you

    thanks a lot for your help!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles