iPhone webapp: Replace Checkered/Transparent Background on Rotate

Discussion in 'iPhone/iPad Programming' started by iTim314, Jun 24, 2011.

  1. macrumors 6502

    Joined:
    Jun 5, 2005
    Location:
    U.S.
    #1
    When rotating my webapp (fullscreen mobile Safari), a checkered ("transparent") background appears where the content is/has shifted on rotate.

    Is there anyway to make this background completely black? I've tried:

    Code:
    html, body { background-color: #000000; }
    Doesn't work. See screenshot if you're unsure as to what I'm talking about...
     

    Attached Files:

    • ss.jpg
      ss.jpg
      File size:
      91.4 KB
      Views:
      84
  2. macrumors 68000

    Joined:
    Jan 28, 2003
    Location:
    Less lost in L.A.
    #2
    I just tried rotating Safari and noticed the same thing. That seems to be a Safari issue, which means it is out of your hands.
     

Share This Page