Floating Div

Discussion in 'HTML & Website Design' started by xhanch, Oct 16, 2009.

  1. #1
    Hi guys,

    I have problem with floating div in Internet Explorer. In Firefox, we can make a floating div (that will not moving at all even the page is scrolling) just by simply set the style "position:fixed;top:0px;left:0px". Unfortunately that style code is not working for Internet Explorer.

    What's the right code for IE then?
     
    xhanch, Oct 16, 2009 IP
  2. hassan_ali

    hassan_ali Peon

    Messages:
    194
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    if ur using float:left IE messes it up.. because the layer has to go to the left by default.. might fix it. if it doesnt do u mind putting the whole id or class code in.
     
    hassan_ali, Oct 16, 2009 IP