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 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jun 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Fixed position div bug in ie!?!

    yeah,

    im not exactly the best at html and css.
    so please dont take the mick because i dont know this.

    basically,
    ive made a div music player that is fixed to the top left corner. (top 0,left 0)
    i used "position: fixed;" Only to find out that IE does not work with this.
    (I use firefox).

    Heres the code i used:
    Code:
    <div style="text-align: center; position: fixed; left:0px; top:0px; margin-left: auto; visibility:hidden; margin-right: auto; 
    
    width:0;"><object type="application/x-shockwave-flash" allowScriptAccess="never" allowNetworking="internal" height="50" width="50" style="width:425px; visibility:visible; height:75px;" border="0" data="http://www.myplaylist.org/mc/mp3player.swf?
    
    config=http://www.myplaylist.org/mc/config/config_black_shuffle.xml&mywidth=435&myheight=270&file=http://www.myplaylist.org/loadplaylist.php?
    
    playlist=8095417">
      <param name="allowScriptAccess" value="never" />
      <param name="allowNetworking" value="internal" />
      <param name="movie" value="http://www.myplaylist.org/mc/mp3player.swf?
    
    config=http://www.myplaylist.org/mc/config/config_black_shuffle.xml&mywidth=435&myheight=270&file=http://www.myplaylist.org/loadplaylist.php?
    
    playlist=8095417" />
      <param name="menu" value="false" />
      <param name="quality" value="high" />
      <param name="wmode" value="transparent" />
    </object><BR><a href=http://www.myplaylist.org><img src=http://www.myplaylist.org/mc/images/create_black.jpg border=0></a>
    There are a number of fixes i have found for this problem
    alot of them using css
    personally i dislike using css for this little peice
    because i need it all contained in a little box in compact form.

    if someone could please fix that code so that the div player is in a fixed position in IE 7> and also in firefox i would be very grateful.


    Note:
    this is being used on a myspace profile so i cannot easily edit any of the main page html details.


    Thanks in advance.

  • #2
    New to the CF scene
    Join Date
    Jun 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    (bump)

  • #3
    New to the CF scene
    Join Date
    Jun 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'd like to know the answer to this aswell


  •  

    Posting Permissions

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