Thank you for your responses.
I had added the DOCTYPE in my .php file.
Thank you Paul for your indications, the correction indicated by you has worked. So I understand that the 100 percent for the body and html is used in the cases when the main wrapper elemend has small content.
I understend that adding text in wrapper element increases the content percentage.
Thank you for indications guys.