Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
3 Vastaukset
7987 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Paras vastaus

Hello try below code,

it will work in my side.

 .page{
        color:#0000ff !important;
    }
Avatar
Hylkää
Tekijä

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

Paras vastaus

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

,, tags,

eg:

.........

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
helmik. 24
2560
1
helmik. 23
11810
1
syysk. 18
7854
0
jouluk. 20
6485
0
tammik. 21
804