Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: Position Frames

  1. #1
    New to the CF scene
    Join Date
    Feb 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Position Frames

    I've been using position:absolute to position some frames on my site, But as the browser window goes smaller the image moves and the frames dont. then when i woke up this morning the frames were above the image but they are stuck and when the browser window goes smaller the image dosent move but i cant seem to move the frames at all. the page is http://www.habnut.habbohosting.net/index.html im not sure what exactly is wrong but i think it has something to do with the position:absolute in the source.
    Last edited by NiMrOd; 02-01-2005 at 04:09 AM.

  • #2
    Senior Coder
    Join Date
    Jan 2005
    Location
    Memphis, TN
    Posts
    1,791
    Thanks
    8
    Thanked 131 Times in 129 Posts
    i haven't messed with frames in a while but i dont think that the absolute positioning is the problem.

    <IFRAME NAME="main" SRC="home.html" width=567 height=416....>

    your giving the iframe a size that is fixed.
    the page reads from top down so the browser sees the div and sets the then sees the iframe and resets it.

    you have conflicts here.

    why are you z-index-ing these?
    what screen resolutuion are you using? (at least 1152x864 right?) in anything smaller it fails. your giving :

    <div id="nav" style="position:absolute; width:150px; height:380px; z-index:4; left:133px; top:140px;">

    for example.

    by pushing the left and top it falls out of any screen set lower than yours.

  • #3
    New to the CF scene
    Join Date
    Feb 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ok, Thanks for that. right now im just gonna test and view to see what happens

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    it is position:absolute that is prolly causing the problem your iframes aren't going to move at all with position:absolute; use position:relative instead or just dont position them at all and use divs and what not

  • #5
    New to the CF scene
    Join Date
    Feb 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    yep. to avoid the problem i just moved the template to the left side and there dosent seem to be any problems with it on Safari or IE or Mozilla


  •  

    Posting Permissions

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