Reputation: 5065
When I inspect elements in Chrome, under my styles I have element.style {}
, What does this refer to? It contains styles I am not including in my code source.
Upvotes: 57
Views: 34449
Reputation: 888185
Those are inline styles.
They come from the style=""
attribute or from Javascript code that sets element.style.someProperty
.
Upvotes: 72