# Understanding Dev Tools limitations

**URL:** https://forum.kirupa.com/t/understanding-dev-tools-limitations/656445
**Category:** web dev
**Created:** [January 23, 2023, 3:23pm UTC](https://forum.kirupa.com/t/understanding-dev-tools-limitations/656445 "2023-01-23T15:23:43Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![david78737](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@david78737](https://forum.kirupa.com/u/david78737)
#### Post date: [January 23, 2023, 3:23pm UTC](https://forum.kirupa.com/t/understanding-dev-tools-limitations/656445/1 "2023-01-23T15:23:43Z")

</div>

This is a noobie question. It’s been a mystery for some time now to discover which CSS class is setting the height of a div in in a page. When I explore the classes in the Classes pane in Dev Tools I am not able to zero in on the class(s) that establish the height.

I recognize that elements INSIDE a div can cause a div to grow. Padding can do the same making the div taller. But I have a div that has elements inside it but a large area (600 px?) under the next largest div. I’m not seeing what is going on.

Is there a strategy or method to efficiently find out which elements are pushing things around? or controlling the dimensions of elements in the box model?

---

<div class="post-metadata">

### Author: ![kirupa](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kirupa/32/11616_2.png) [@kirupa](https://forum.kirupa.com/u/kirupa)
#### Post date: [January 23, 2023, 5:22pm UTC](https://forum.kirupa.com/t/understanding-dev-tools-limitations/656445/2 "2023-01-23T17:22:02Z")

</div>

That is a great question! One trick I like to do is this add a style rule that looks as follows:

```auto
* {
  outline: red2px solid;
}

```

You can add this directly to the Dev Tools:

 ![image](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/f/0/f0bb79afa5653cbb68a1cd316fada22673d99dd0.png)

What you will see is a red border across all of your elements:

 ![image](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/b/5/b5d62175dee9ab573c2012d684a2a3e4f425b826.jpeg)  
This will make it much easier to see what element or style is causing weird layout issues.

🙂
