Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3 Ответы
7960 Представления

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
2513
1
февр. 23
11699
1
сент. 18
7820
0
дек. 20
6411
0
янв. 21
804