Why do I lose the <div>?

I am designing a website using Divs. I have several divs on the website.
I am creating another small div that contains the logo. But when I try to position it I lose it. It’s almost as if it’s behind the other div.
What am I doing wrong and how can I fix this? I gave it an ID.
Thanks for your help.

I’m curious as to what you mean by DIV that contains the logo, does that mean you’ve wrapped the logo on it’s own within a DIV? :stuck_out_tongue:

As everyone else has said, you need to show us the code, we’re not psychic! :slight_smile:

If you are absolutely placing an element and there is a float before it then IE6/7 will often misplace the absolute element or make it disappear altogether.

You must make sure that the html for the absolute element is the last thing in the current stacking context and that you have also added clear:both to the absolute element (which is nonsense I know).

Of course as Ralph said we are just guessing as you have provided no code and no browser details :slight_smile:

No code, no help. :wink:

If the only content of the div is floated, it might appear that the div itself has disappeared, but divs do not enclose floated content.

But of course, I’m stabbing in the dark.

EDIT: Ah, you said “position” it? Using positioning like relative or absolute takes an element out of the flow of elements, and can have unexpected results.