sIFR 2.0.7缩放文本而不是包装文本

时间:2010-05-09 04:42:51

标签: css fonts sifr

我在这里苦苦挣扎。 iSFR正在缩放我的文本以适合一行而不是包装。为什么是这样?任何帮助将不胜感激。

// flash h2 headers
 sIFR.replaceElement(named({
 sSelector:"h2.title, h3.title, #comments h2.comments",
 sWmode: "transparent",
 sFlashSrc:"<?= PATH ?>sites/all/themes/temp/sifr/DIN_light.swf",
 sColor:"#333333"
}));

// CSS
h3.title {
 font-size: 26px;
 line-height: 26px;
 color: white;
 overflow:hidden;
 height:26px;
 color: white;
}

2 个答案:

答案 0 :(得分:0)

修正了它。它应该是:

// CSS
h3.title {
    font-size: 26px;
    line-height: 26px;
    color: white;
}

答案 1 :(得分:0)

请使用sIFR 3,它解决了这个问题。