Is there a way to display my website on mobile devices at 100% width in both landscape and portrait views?
I attempted using this HTML code without any CSS styling:
<!DOCTYPE html>
<html lang="hu">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>test page</title>
</head>
<body>
<div style="width: 1000px; background:#ff0">hello world</div>
</body>
</html>
While it appears correctly in landscape view, the issue arises when viewing in portrait mode as it is zoomed in as though it were still in landscape view.
What recommendations do you have for achieving the desired outcome?