Css覆盖元素不可见

jbo*_*rch 5 css internet-explorer-8

见:http: //schhh.dk/frivilligraadet/

底部带有视频的框在ie8中显示为: 影片

我实际上试图制作一个jsfiddle,但这里没有问题:http: //jsfiddle.net/q5T8Y/7/

.view-youtube-videoer .views-field-field-video .ytb-play {
  position: absolute;
  display: block;
  width: 230px;
  height: 128px;
  background: transparent url('http://schhh.dk/frivilligraadet/sites/all/themes/frivilligraadet/images/play.png') no-repeat 50% 50%;
  opacity: 0.7;
  filter:alpha(opacity=70);
}
Run Code Online (Sandbox Code Playgroud)

Eug*_*min 2

这是因为您需要为 span.ytb-video 设置“宽度”和“显示:块”在您的情况下,宽度应为 230px

http://screencast.com/t/U2QPWvszGN