
Announcements
Hi,
I'm currently sending HTML from a Power App to Automate which is then converted to PDF and saved in OneDrive. I have the pdf structure and content working, but the page colour is not! Are there known issues for setting the PDF page colour to not be white?
<!DOCTYPE html>
<html>
<head>
<style>
body {
background: #ff7b67;
}
table {
font-family: arial, sans-serif;
border-collapse: collapse;
width: 100%;
}
td, th {
border: 1px solid #dddddd;
text-align: left;
padding: 8px;
}
tr:nth-child(even) {
background-color: #dddddd;
}
</style>
Hi @Coopedup,
I believe the HTML property is background-color.
Can you try this instead:
<html>
<head>
<style>
body {
background-color: coral;
}
</style>
<title></title>
</head>
<body>
<h1>Test2</h1>
</body>
</html>