I have a long website that I am embedding on another website. The below code works great on desktop browsers, but does not work on tablet or mobile.
On iOS, it is impossible to scroll as I attempt to move up and down the page. On desktop, there is no issue.
Question: How can I correct the code below so that scrolling always works in any browser?
Code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
html, body, embed {
width: 100%;
height: 100%;
margin: 0;
display: block;
}
</style>
</head>
<body>
<embed src="http://www.example.com">
</body>
</html>
Aucun commentaire:
Enregistrer un commentaire