html - Retina bug ? Containing div does not expand 1000px width div -


i release webpage. thought, why not see how works on ipad retina. page did not good. problem can reproduced visiting link ipad retina http://www.banksalg.no/retinabug.php

if @ border on right side, can see stops around 20-30 px right side of screen. green color in border body background color. if make divs smaller 1000px, example 900px acts should.

you can see error on ipad retina. error not visible using "how website looks on retina screen" application/emulator.

for me seems ipad cannot handle 1000px width. should when resolution 2048px. @ least 1024 px width should possible.

does have solution?

you haven't set viewport. default, safari on ios sets logical viewport width of 980px (per the docs).

add:

<meta name="viewport" content="initial-scale=1.0"> 

to document's head use full logical device width.


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -