I have a Qualtrics survey written mostly with custom JS. Throughout, I use CSS stylings to manipulate the background colour of the page body.
At some point in the last week, my CSS stopped displaying properly (having worked correctly since January). Below is a minimal example of my code; the issue is that the html, body{ } chunk doesn’t affect the page body (i.e., it’s white rather than black). I’d be grateful for any suggestions!
My script:
<!DOCTYPE html>
<html>
<head>
<style>
html, body {
height: 100% !important;
margin: 0;
padding: 0;
background-color: black !important;
}
p {
color: white;
font-size: 18px;
}
</style>
</head>
<body>
<p>Some text</p>
</body>
</html>
EDIT: I’ve tried altering the background colour inline, to no avail.