Load an HTML webpage, and the text is centered on the webpage. When loaded using WebView on the mobile phone, it is not centered. How should I solve this problem? Should I adjust it on the mobile phone or in the background?
Reply content:This should be used by kids who write web pages to do style control
It must be the fault of the front end!
Check whether your webview configuration is correct and whether it supports styles, js, etc.
It is possible that your centered code is not compatible on the mobile side
Both are possible. If the front-end code is fine, you have to find the loading settings
Let Android and front-end partners check it
1. It is estimated that the Android window is loading abnormally