我在文本中使用sifr3。现在我的问题是我不能为我的标签设置正确的行高。
有人能帮帮我吗?行高、高度、行距等不起作用。您可以在这里找到输出:http://www.bbp.nl/luuk-test/emmc/
容器服务代码:
.sIFR-active h1 {
visibility: hidden;
font-family: Verdana;
font-size: 14pt;
line-height: 1em;
padding: 0;
margin: 0;
text-align: right;
color: #ff5400;
}js代码:
sIFR.replace(rockwell, {
selector: 'h1'
,css: [
'.sIFR-root { text-align: right; leading: -14; }'
,'a { text-decoration: none; }'
,'a:link { color: #000000; }'
,'a:hover { color: #ff5400;; }'
]
});发布于 2009-11-24 17:23:14
我自己找到了解决方法。不是很整洁,但它是有效的:在h1上设置一个高度,overflow:hidden,它就可以工作了
https://stackoverflow.com/questions/1782404
复制相似问题