absolute position on bottom right of the window

Discussion in 'JavaScript' started by 2beers, Apr 20, 2010.

  1. #1
    Hi everyone. I have a html page with scrollable content. I want to place a div on the bottom right corner of the window( visible area), and if the user scroll down the page the div should stay at the bottom of the page. Same thing is the user re-size the browser page.
    I know this can be done, but I didn't find any example.

    Thanks in advance
     
    2beers, Apr 20, 2010 IP
  2. s_ruben

    s_ruben Active Member

    Messages:
    735
    Likes Received:
    26
    Best Answers:
    1
    Trophy Points:
    78
    #2
    Use style="position: fixed; bottom: 0; right: 0" for the div.
     
    s_ruben, Apr 21, 2010 IP
  3. dimitar christoff

    dimitar christoff Active Member

    Messages:
    882
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    90
    #3
    that needs a fix for IE though.
     
    dimitar christoff, Apr 21, 2010 IP