Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

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

like image 297
laramichaels Avatar asked Dec 27 '09 22:12

laramichaels


People also ask

How do I inspect element with firebug?

Inspect and edit HTML with FirebugRight click on the element which you want to inspect and click on the Inspect Element. Click on the Edit in the Firebug window now. Change the code to <h1>Components of Firebug</h1> . As soon as you change the code, you can see the effect live.

How does inspect element work?

Remember how to open Inspect Element? Just right-click and click Inspect Inspect Element, or press Command+Option+i on your Mac or F12 on your PC. In the search field, you can type anything—ANYTHING—that you want to find on this web page, and it will appear in this pane.

Why is Inspect Element not working in Chrome?

It might be a cache issue. After opening Developer Tools(F12) in Chrome, refresh cache by pressing Ctrl + F5. Show activity on this post. There may be another panel open.


1 Answers

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.

like image 95
stivlo Avatar answered Sep 27 '22 16:09

stivlo