whiteletters in blankpapers whiteletters in blankpapers - 1 year ago 171
CSS Question

element.style in chrome element inspector?

When I inspect elements in Chrome, under my styles I have

element.style {}
, What does this refer to? It alwyas contains styles I am not including in my code source.

Answer Source

Those are inline styles.
They come from the style="" attribute or from Javascript code that sets element.style.someProperty.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download