PDA

View Full Version : z-index property work with id not with class



Mirror_Image
Apr 14th, 2009, 04:00 AM
hi ,


when i define z-index property with id of the object then it works but

if i define it in class then it don't work. why is that

VIPStephan
Apr 14th, 2009, 01:09 PM
CSS specificity (http://smashingmagazine.com/2007/07/27/css-specificity-things-you-should-know/) maybe?