HTML/CSS Service

CSS Property: z-index

Category: CSS, CSS 2 Tutorial, CSS Tips    |    986 views   |   

Specifies the order of relative or absolutely positioned boxes in the z-axis. The higher the number, the higher that box will be in the stack.

Possible Values

  • inherit
  • auto (default)
  • [number]

Example

div { position: absolute; }

#kidkoala { z-index: 2 }

#mrscruff { z-index: 1 }

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • digg
  • del.icio.us
  • Stumble it
  • Furl
  • Reddit
  • BlinkList
  • Simpy
  • YahooMyWeb
  • Spurl

Share/Save/Bookmark

1 Star2 Stars (+2)

Tags: , ,

0 responses so far!

Leave a Comment

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word