开发者

Images Z-index, make frame front of images

开发者 https://www.devze.com 2023-03-11 23:10 出处:网络
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:

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

精彩评论

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