开发者

Images Z-index, make frame front of images

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜