No matter what I try, i'm not getting my css colors to work. They work when i open my page in the browser, however when i generate a PDF the color's don't show up.
I'm trying to color the background of a cell in a table and color some text.
This is my CSS
@page {
@top-left {
margin-top: 50pt;
content: flow(imageHeader);
}
@bottom-right {
content: counter(page);
font-style: italic
}
}
@page {
margin: 20pt 50pt 100pt 50pt
}
#reportInformation {
font-size: 12px;
}
#observerInformation {
margin-top: 20px;
font-size: 12px;
color: red
}
#explanationText {
margin-top: 20px;
font-size: 12px;
}
#imageHeader {
flow: static(imageHeader);
}
.blueCell {
background-color: #123456 !important;
width: 150px;
}
I'm trying to color the background of a cell in a table and color some text.
This is my CSS
@page {
@top-left {
margin-top: 50pt;
content: flow(imageHeader);
}
@bottom-right {
content: counter(page);
font-style: italic
}
}
@page {
margin: 20pt 50pt 100pt 50pt
}
#reportInformation {
font-size: 12px;
}
#observerInformation {
margin-top: 20px;
font-size: 12px;
color: red
}
#explanationText {
margin-top: 20px;
font-size: 12px;
}
#imageHeader {
flow: static(imageHeader);
}
.blueCell {
background-color: #123456 !important;
width: 150px;
}