Dima
Dima

Reputation: 133

Find which JS added CSS style to element using Chrome

I am trying to debug some image slideset which turns out with set height on outer div. The height is too short so you see only half of the images. I want to find which JS script sets this height in this div. Is there any way to do it?

Upvotes: 13

Views: 3480

Answers (1)

WebServer
WebServer

Reputation: 1396

  1. go to DOMElement
  2. Right click
  3. Break on
  4. Attribute modification

Execute your code to see which line changed the attribute.

Upvotes: 19

Related Questions