跳至内容
菜单
此问题已终结
3 回复
8062 查看

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:

.........

形象
丢弃
相关帖文 回复 查看 活动
2
2月 24
2623
1
2月 23
11932
1
9月 18
7922
0
12月 20
6600
0
1月 21
804