# Background Image Not Drawing

**URL:** https://forum.kirupa.com/t/background-image-not-drawing/190800
**Category:** web dev
**Created:** [June 14, 2006, 7:53pm UTC](https://forum.kirupa.com/t/background-image-not-drawing/190800 "2006-06-14T19:53:26Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mathew\_er](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@mathew\_er](https://forum.kirupa.com/u/mathew_er)
#### Post date: [June 14, 2006, 7:53pm UTC](https://forum.kirupa.com/t/background-image-not-drawing/190800/1 "2006-06-14T19:53:26Z")

</div>

Hi,

I have encoutered a problem.

Imagine a case, when you got two floating divs. One to left, one to right. Their parent element has a background set to it. But in case that either one of these floating divs is shorter that the other, the background is not drawn under it.

I found out that setting the parents element width to 100% fill the whole area with the background in IE, but this doesnt work for FF as takes 100% to be height of the whole page.

Could anybody please give me a hand on this… am I missing something?

Thanks.

[LINK](http://mumu.cz/tmp/test.html) to the example code.
