Is it possible to see the inherited background color of a div?

Dim

New Member
Is it possible to see the inherited background color of a div?How can I get the color that an html element inherits? By default elements are transparent. So, when a div is placed somewhere it will not show up in the render (but if the background color of that div is red it will be immediately visible). If there is no explicit background color, how can I find the implicit one?Here is some example code. There is a div which is 1px by 1px in the top left of a picture of the Eiffel Tower. What is the background color of that div?\[code\]<html><body style="margin: 0px;"><img src="http://www.eiffel-tower.us/Eiffel-Tower-Images/eiffel-tower-landmark-4.jpg"><div style="position: absolute;top: 0px; left: 0px; width: 1px; height: 1px;z-index:1"></div></body></html>\[/code\]
 
Back
Top