Log In · Register

 
 
Closed TopicStart new topic
"z-index", How do I use it properly?
kthxdie
post Sep 5 2005, 08:33 PM
Post #1


Newbie
*

Group: Member
Posts: 5
Joined: Jul 2005
Member No: 173,254



So I've got the image I want as the DIV overlay.

Now, I'm assuming this is the best method, I'm looking to place all the junk on top on the image using z-index values.

I assigned the background a z-index value of 1, and the content a value of 2. But still, my content is not showing up on top of the image.

Any ideas as to what I'm doing wrong would be greatly appreciated.
 
dorkster
post Sep 5 2005, 09:35 PM
Post #2


Myspace Addict
***

Group: Member
Posts: 60
Joined: Aug 2005
Member No: 208,588



Myspace filters z-index higher than 9 or 6 (been awhile since they've filtered it). It should show up, since you do have it set as a higher number than your background, or you might try z-index:2 !important; if it isn't working...I normally I don't do z-index because i place my divs going from the background layer then my contents all over the page.
 
kthxdie
post Sep 5 2005, 10:13 PM
Post #3


Newbie
*

Group: Member
Posts: 5
Joined: Jul 2005
Member No: 173,254



It seems to be working now.

How strange.

Anyway, thanks for the help!
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: