Skip to Content
Menú
This question has been flagged
3 Respostes
7643 Vistes

Hi everyone,

I am working with a customization of qweb PDF reports.I added CSS styles to the report using <style></style>tags.The background color is working fine. but when giving a value to color: it doesn't work

eg:

    .page{
        background-color:#edffed;
    }

works , But

    .page{
        color:#0000ff !important;
    }

Doesn't work , Could anybody help me?

Avatar
Descartar
Best Answer

Hi Muhammed Nishad,

i think you have added perfectly css, but it's not apply because text inside .page class has some tags and that tags uses some other css or it's affecting on that tags so you have to apply css on particular tags or class/id


 
Avatar
Descartar
Best Answer

Hello try below code,

it will work in my side.

 .page{
        color:#0000ff !important;
    }
Avatar
Descartar
Autor

It's not working bro. I have already tried.But forgot to add in the question

Best Answer

you can add --- style="color:white;" in corresponding tags,it is working fine in

,, tags,

eg:

.........

Avatar
Descartar
Related Posts Respostes Vistes Activitat
2
de febr. 24
2154
1
de febr. 23
10935
1
de set. 18
7293
0
de des. 20
5847
0
de gen. 21
804