How to modify, only via CSS, a color already defined in HTML?

1

I am trying to modify a color in a text, marked it by the tag "U" with the color already defined in the html.

It's like this in html:

<u> <font color="#0000c0">somente no seu e-commerce</font> </u>

I tried the following in CSS:

u{ color:rgb(20,20,20) !important; }

But it does not accept the color, I think because it is defined in the source code.

The important detail, I do not have access to modify the HTML as it is generated by web software. All layout modifications have to be done only by CSS.

    
asked by anonymous 26.10.2016 / 15:41

1 answer

2

Try u > font { color: corDesejada !important; }

    
26.10.2016 / 15:46