views:

203

answers:

2

Hi everyone,

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

+3  A: 

It's the margin value. Check it in style the inspector. In the style sheet view, you should then be able to retrace which style sheet and line the setting came from, and change it.

Pekka
That is, the `table` has margin-bottom or padding-bottom set.
Tatu Ulmanen
And what is it in the remaining 1%?
Gumbo
I thought that shifts caused by `position: relative` and `left`/`top` values were reflected by the colour as well but I may be wrong.
Pekka
The padding is coloured purple
Gareth
I edited my answer.
Pekka
FYI: If you want to know more about how to utilize it(the colors and the padding and margin), check the right hand side window in firebug with tab named "Layout". It will clearly show how much padding, border, margin and offset is being used by the subject element.
Teja Kantamneni
+4  A: 

The yellow area represents the margin.

Gumbo