1

I'm trying to get the height of the html content but I'm getting wrong result. On the meta tags of the page I put this line:

<meta id="viewport" name="viewport" content="width=device-width, maximum-scale=1" />

For mobile device, and the content really fits the page, but the height of the body I get is the real height of the content and not it's height after it fits the viewport.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.