开发者

How can I get sIFR to render the .sIFR-alternate correctly with FlashBlock enabled?

开发者 https://www.devze.com 2022-12-26 03:19 出处:网络
So I\'ve looked this up in a few different places, and the only answer I\'ve seen is \"style the span.sIFR-alternate element\". Problem is, if I apply any styles to that element that will actually hav

So I've looked this up in a few different places, and the only answer I've seen is "style the span.sIFR-alternate element". Problem is, if I apply any styles to that element that will actually have it appear & be placed correctly, it shows up alongside the sIFR text when FlashBlock isn't present (e.g. in Safari/IE) or is disabled.

Here's the default styles for .sIFR-alternate:

.sIFR-alternate {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;开发者_JAVA百科
    height: 0;
    display: block;
    overflow: hidden;
}

And I'm adding these:

span.sIFR-alternate {
    font-family: Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    font-size: 24px;
    line-height: 14px;
    color: #000000;
    padding: 0;
    margin-top:12px;
    margin-bottom:7px;
}

What am I missing?

Otherwise though, sIFR is working well.


Are you sure? That doesn't quite add up. Try adding the other styles property by property to see what triggers it.

0

精彩评论

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