i have problem with the inner div - his height most be a number (not auto)
and i want that this div will change automatic his height.
and in his bottom there is a contect-bottom div that do a 151px space i want that the text will be above this bottom
but witout postion relative and z index the page will be look like here
That’s what I would have assumed you were wanting.
Before that the #inner div was completely hiding your #menu and it was also hiding most of the top right image in the header.
Why do you want to drag the #inner div on top of those elements?
I guess I don’t know what you are trying to do, can you explain it a little better?
i dont want a space in the bottom (151px space) without anything
Are you talking about the footer space?
If so, then you need to drag the #inner div down not up. I don’t see that working though because your footer image will be hidden then.
It’s not a z-index problem, the problem is that you have a floated right column in the #inner div.
Floats are removed from the normal page flow so you must force the parent (#inner) to enclose it’s floated children. That is normally done by using overflow:hidden. However, in your case we can’t use that because your floated right column is shifted out with a negative margin and it would get clipped off.
The way around that is to use a simple “clearfix” adaption for modern browsers and “haslayout” on #inner for IE6/7.
You don’t need to set height:auto everywhere since it is the default. Nor did you need the relative positioning and z-index on #inner. I have removed what you did not need and swapped them out with what you do need.
The changes to these selectors should get you back in order:
The problem with the facebook img being hidden was because #content-top-right was layering above it. Just as we had mentioned in your other thread the cure for that is to add position:relative; to your #inner div to layer it above the #content-top-right/left divs.
You are using an xhtml 1.0 transitional doctype when your page was basically coded as strict. The only thing that was failing validation as strict was the deprecated “name” attributes on your <form>s and your inputs needing to be wrapped in a block. I went ahead and fixed those two issues and set it up as xhtml 1.0 strict.
I have also added a left div nested in your #inner, that will get you prepared for content on the left side of the page as you can see. The relevant changes to the css are shown below but you might want to save a copy of both html/css from those links I just gave. There were other changes in the html as I pointed out above.
Hi,
If you remove the overflow from #content-bottom then you can set a negative top margin on it. We will need to set a 1px height on#inner:after for it to work though.