HTML, CSS gurus :)
I'm making image frame over images which changes all time. Sorry for my bad English, I'll try开发者_StackOverflow中文版 it explain, you can see live demo here:
http://jsfiddle.net/thisizmonster/fWUKn/
What I want is silver background frame should cover the slideshow images.Now the frame is behind the Flinstones image.
z-index only works with position:absolute
, position:relative
or position:fixed.
Add one of those to your elements will fix your z-index problem.
Greetz,
XpertEase
Add position: relative
to #slider-frame
; I guess its that simple. Demo here.
PS: I cannot see sliderframe.png in the fiddle. Can you update it?
精彩评论