position fixed on ipad incorrect

Giganews Newsgroups
Subject: position fixed on ipad incorrect
Posted by:  Andrew Poulos (ap_pr…@hotmail.com)
Date: Tue, 13 Aug 2019

With a DIV with this CSS

#tutorial {
  display:block;
  position:fixed;
  right:6px;
  bottom:32px;
  width:236px;
  height:356px;
}

on a desktop the DIV appears 32px off the bottom of the window. On an
ipad running iOS 12.4 the bottom of the DIV is below the bottom of the
window.

How can I get a fixed DIV to honour the bottom setting correctly?

Andrew Poulos

Replies