Can you set a line-height for sIFR3 r-436?
I have tried setting a line-height for sIFR3 in both the sifr-config.js and my web stylesheet but neither seem to apply a line-height?开发者_如何转开发
I believe you're looking for the leading
parameter which corresponds to the flash value, not the "line-height" CSS property, e.g.:
sIFR.replace(fontName, {
css: [
".sIFR-root { background-color:#000000; color:#ffff33; font-size:24px; leading:-10; }",
".bottom { color:#FFFFFF; font-size:15px; }",
],
selector: "#featured-articles .widget-info p",
fitExactly : false,
transparent: true,
tuneHeight: 0,
tuneWidth: 0
});
精彩评论