when inspecting a page with firebug, what is the yellow area below the highlighted element?

laramichaels picture laramichaels · Dec 27, 2009 · Viewed 15.5k times · Source

When I am using Firebug in "inspect mode" and the mouse hovers over an html table element, the visible content of my table is highlighted in blue -- like all other elements I have looked at using Firefox. However, there is also an area immediately below the table (past the last row) that gets highlighted in yellow. Does anyone know what that corresponds to? I would like to style the table so that space is not taken up by the table.

Many thanks for any insight

lara

Answer

stivlo picture stivlo · Jul 5, 2012

I didn't find any documentation anywhere, but for reference, I've found empirically:

| Margin  | Yellow     |
| Border  | Brown      |
| Padding | Violet     |
| Content | Light Blue |

Also in the W3C box model, the width and height of an element gives the width of the content of the box, excluding margin, border and padding.