Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3 Відповіді
7720 Переглядів

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?

Аватар
Відмінити
Найкраща відповідь

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


 
Аватар
Відмінити
Найкраща відповідь

Hello try below code,

it will work in my side.

 .page{
        color:#0000ff !important;
    }
Аватар
Відмінити
Автор

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

Найкраща відповідь

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

,, tags,

eg:

.........

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
лют. 24
2206
1
лют. 23
11011
1
вер. 18
7371
0
груд. 20
5900
0
січ. 21
804