Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
7952 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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


 
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello try below code,

it will work in my side.

 .page{
        color:#0000ff !important;
    }
Ảnh đại diện
Huỷ bỏ
Tác giả

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

Câu trả lời hay nhất

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

,, tags,

eg:

.........

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 2 24
2507
1
thg 2 23
11691
1
thg 9 18
7813
0
thg 12 20
6398
0
thg 1 21
804