开发者

Opera 11 and border-radius Issues

This issue with border-radius and Opera 11.11 is driving me NUTS.

I have a span and an image set as background to that span. I am applying a bord开发者_C百科er-radius to the container that holds several such spans.

Like so:

#carousel { border-radius:15px;  margin:30px 0 0 0px; overflow:hidden; }

Forums tell me that border-radius is a supported property in Opera. Also, the border-radius is applied to a block-level element and not an image.

Here's the demo: http://rjwcollective.com/equinox/brochure/

Please provide pointers as to what I am missing here.

Rishi


Your spans in the carousel are placed over the carousel, and they don't have any border-radius confgured. Any rounded border is below those spans.

THis works for me to see it in action (excuse the mess, just copy/pasting a working example from Dragonfly):

<div class="carousel_cont">
  <div id="carousel" style="position: relative; overflow-x: hidden; overflow-y: hidden; border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-right-radius: 50px; border-bottom-left-radius: 50px">
    <span id="6" style="background-attachment: scroll; background-repeat: no-repeat; background-image: url(&quot;http://rjwcollective.com/equinox/brochure/images/assets/06pg.png&quot;); background-position: 0% 0%; background-size: auto; background-origin: padding-box; background-clip: border-box; background-color: transparent; width: 980px; height: 560px; top: 0px; z-index: 9; opacity: 1; display: block; left: 60px; border-top-right-radius: 100px; border-top-left-radius: 100px; border-bottom-right-radius: 100px; border-bottom-left-radius: 100px"></span>
  </div>
  <!-- end carousel -->
</div>
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜