I have some server side HTML output I cannot deal with using pure CSS, essentially the DIV sometimes holds:

<div><span>Content</span></div>

or

<div><p>Content</p></div>

or

<div>Content</div>

or

<div> </div>

When the DIV == <div> </div> I want to remove it.

Any ideas?

Edit
Report