减少 cufon 文本的行高
降低 Cufon 标题上的行高时遇到问题。使用 line-height 属性但似乎没有做任何事情,ps我已经检查了是否有任何冲突的CSS规则,有什么明智的话吗? :)
就是这样 http://www.warface.co.uk/clients/detail-shoppe
这是“新”气泡下的标题,我想收紧
Having a problem reducing the line height on a Cufon heading. Using the line-height property but doesn't seem to do anything, p.s I've checked for any conflicting CSS rules, any wise words? :)
This is it
http://www.warface.co.uk/clients/detail-shoppe
Its the header under the 'New' Bubble I would like to tighten up
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的 - 除非您的页面 DocType 设置为“严格”,否则您不能在 Cufon 上使用行高。过渡文档类型不起作用 - 如果您愿意将文档类型更改为严格,则可以使用 cufon 上的行高。但请记住,更改已完成页面上的文档类型可能会稍微搞乱您的设计 - 您可能需要回溯一下才能理顺事情。
Yes - you can't use line-height on Cufon unless your page DocType is set to Strict. Transitional doctypes won't work - if you're willing to change your doctype to Strict, you can play with the line-height on cufon. Bear in mind, though, that changing the doctype on a completed page may screw up your design a bit - you might have to backtrack a little to straighten things out.
就是这个
http://www.warface.co.uk/clients/detail-shoppe
这是“新”气泡下的标题,我想收紧
This is it
http://www.warface.co.uk/clients/detail-shoppe
Its the header under the 'New' Bubble I would like to tighten up