Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3 Risposte
8075 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Risposta migliore

Hello try below code,

it will work in my side.

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

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

Risposta migliore

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

,, tags,

eg:

.........

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
feb 24
2624
1
feb 23
11933
1
set 18
7931
0
dic 20
6602
0
gen 21
804