I have a div which may / may not contain content. When the div does not contain content, I would like it to disappear.
Firefox seems to have a grasp on this, however IE still displays the div. I have tried adding any empty comment, and whilst the div is not displaying, the area where it used to be still exists and other content is wrapping around it, which is not what I want, I would like it to completely disappear.
The reason it's not showing up in Firefox then is because there is no height declared, and is thus appearing to be "invisible". What is actually happening is that the div, because it's empty, has a height of 0px, so cannot be seen, but it is still there.