How to remove element.style in css

I am using Joomla 1.5. I have a page where cSS is added for the header which is in<strong></strong>

I'm a firebug, it looks like

element.style {
color:#666666;
}

I do not know where this comes from.

but I use css for the same tag with a different color. but he disappeared. How to remove element.style globally ..

+3
source share
4 answers

You can override inline styles from an external stylesheet

strong[style] { color: blue !important; } 

This works in most major browsers: Chrome, Safari, Firefox, IE8

This does not work (as far as I know) in IE6 / IE7

Hope this helps.

+7
source

This code comes from HTML, not from your CSS.

This HTML code will generate your element.style:

<strong style="color:#666666;">Just text</strong>

Element.style, , , , . , / html.

+4

, HTML. element.style :

element.style {
}

css html-. , .

0

HTML ( ) javascript, .

Jquery , css, , .

, , div, "display: none", CSS-, . , CSS - javascript.

JavaScript .

Try using the callback function in the animation to erase styles:

$(this).css( "display", "" );
0
source

Source: https://habr.com/ru/post/1740769/


All Articles