I have a popup.html file that opens using a keyboard shortcut setup in the manifest.json file. The popup window opens, but its blank with no styling applied. In the Console, I get the message:
This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “
<!DOCTYPE html>
”.
Yet, my popup.html file does contain the proper DOCTYPE definition. Here is the contents of the popup.html file:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AI Search</title>
<link rel="stylesheet" href="/styles/popup.css">
</head>
<body>
<div id="container">
<div id="outputArea"></div>
<textarea id="inputArea" placeholder="Type here..."></textarea>
</div>
<script src="/scripts/popup.js"></script>
</body>
</html>