Here is an example without the height attribute provided: http://jsfiddle.net/karthik64/pFcpX/
And here it is with the height attribute included: http://jsfiddle.net/karthik64/pFcpX/1/
The issue arises when I try to set a fixed 'height' attribute in order to achieve a black background color. If the height attribute is removed from the CSS property, the background-color does not display as black. It is important to note that the height of the div is dynamic and varies based on data fetched from a database.
I have attempted to use !important
to override this, but it proved unsuccessful.