Welcome to Dream.In.Code
Become an Expert!

Join 149,886 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,291 people online right now. Registration is fast and FREE... Join Now!




Z-index Use In Firefox...

 
Reply to this topicStart new topic

Z-index Use In Firefox..., Any other code that works the same an...

soggybox
17 Feb, 2005 - 09:25 PM
Post #1

New D.I.C Head
*

Joined: 22 Oct, 2004
Posts: 42


My Contributions
Hi I am looking to use z-index in Firefox, but it will not support "z-index: -1;".

Is there any other code that works the same that is actually supported in Firefox.

When I use -1 the image vanishes. On the other hand when I use "1" it appears, but that ruins the whole concept of what I am looking for. Any thoughts?
User is offlineProfile CardPM
+Quote Post

Amadeus
RE: Z-index Use In Firefox...
18 Feb, 2005 - 09:03 AM
Post #2

g++ -o drink whiskey.cpp
Group Icon

Joined: 12 Jul, 2002
Posts: 12,351



Thanked: 51 times
Dream Kudos: 25
My Contributions
z-index does usually work in Firefox...is the image aboslutely positioned? z-index only applies to elements with absolute positioning.

See this thread to see if it helps.
User is online!Profile CardPM
+Quote Post

snoj
RE: Z-index Use In Firefox...
18 Feb, 2005 - 01:01 PM
Post #3

Fell off the face of the earth
Group Icon

Joined: 31 Mar, 2003
Posts: 3,325



Thanked: 9 times
Dream Kudos: 750
My Contributions
Remember though, the absolute position of the object is relative to it's parent object. wink2.gif

So....
CODE

<body>
<div style="right: 100px; position: absolute;">
     <div style="right: 100px; position: absolute;">
     This text starts 200 pixels from the right of the screen.
     </div>
</div>
</body>

User is offlineProfile CardPM
+Quote Post

soggybox
RE: Z-index Use In Firefox...
18 Feb, 2005 - 09:19 PM
Post #4

New D.I.C Head
*

Joined: 22 Oct, 2004
Posts: 42


My Contributions
Ahh thanks smile.gif
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 12:18PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month