nevermind, just fixed !

i forgot to add z-index to img.background like:

img.background {
width: 100%;
height: 100%;
position: absolute;
z-index: 0;
}

and now everything shows up correctly.
whats left is ie6 and ie7 hacks for the menu positioning:

#navcontainer {
  z-index: 100;
  position: absolute;
  margin-left: 32px;
  *margin-top:15px ; _margin-top:15px ;
*margin-top:15px ;
}

the "*margin-top:15px ; _margin-top:15px ;" line is for ie7 only,
the following line is for ie6 and ie7.

thank you all for reading my messages and for your replies.

Daniel Petre wrote:
> hello, thanks for the reply but it seems it doesnt work..
> 
> Devon Miller wrote:
>> Daniel Petre wrote:
>>> hello, anyone can guide me to a hack regarding viewing my page (
>>> http://www.pain.ro ) the right way in IE7 ?
>> It looks like the IE z-index bug[1]. Basically, since you have 2
>> positioned elements and one does not contain the other, IE treats the
>> later element (#background) as being in front of the earlier element
>> (#navcontainer).  If you put a larger z-index on #navcontainer, it
>> should work.
>>
>> dcm
>>
>> [1] http://www.aplus.co.yu/lab/z-pos/
>>
> 
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> IE7 information -- http://css-discuss.incutio.com/?page=IE7
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
> 

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to