Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
7649 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

Hello try below code,

it will work in my side.

 .page{
        color:#0000ff !important;
    }
Avatar
Zrušit
Autor

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

Nejlepší odpověď

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

,, tags,

eg:

.........

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
úno 24
2158
1
úno 23
10946
1
zář 18
7302
0
pro 20
5852
0
led 21
804