CSS Overlap Help

sourfacedcyclop

New Member
Messages
221
Reaction score
0
Points
0
Hey, I took a look at your css, for z-index to work, you need to use the "position" element in the div. So you might want something like this

Code:
div#logo {
width: 168px;
height: 170px;
float: left;
margin-top: 16px;
position:relative;
z-index: 10;
}
div#nav {
margin-top: -84px;
float: right;
position:relative;
z-index: 9;
}
 
Last edited:

diabolo

Community Advocate
Community Support
Messages
1,682
Reaction score
32
Points
48
thank you!
I didn't know why it didn't work for me before, I could have left something out.

+REP and i dropped in an extra 347 credits for the fast reply

and apprently I cannot give any REP to you. I'll add in 135 credits to make it up. =]
Edit:
I need help.
the navigation bar sub menu links now are hidden beneath the floatContainer

i tried to put #body as z-index: 8; and position: relative; but it didn't change anything
 
Last edited:
Top