SIFR 字体调整是一场噩梦!
我一直在尝试调整我的 SIFR 导航。 我用 Gill 替换(尽管我对其他字体也有同样的问题)。
问题是,无论我如何处理字母间距,短单词在一种设置下都可以,但长单词就不行,反之亦然。
为了停止任何换行,我必须将字母间距设置为 1px(例如),但这会导致较大的单词具有比它们需要的大得多的电影,并且由于导航是水平的,这会将下一个项目推得太远正确的。
有人遇到过同样的问题吗? 如果是这样,你解决了吗?
请参阅此处的图片:http://www.glg-group.com/gill.jpg
这让我发疯!
非常感谢
汤姆·高斯林
I've been trying to tweak my SIFR navigation. I'm replacing with Gill (although I've had the same issue with other fonts).
The problem is that no matter what I do with the letter spacing, short words are ok with one setting but not long words and vice versa.
In order to stop any words wrapping I have to set letter spacing to 1px (for example) but this then causes the larger words to have a much bigger movie than they need and as the nav is horizontal this pushes the next item too far over to the right.
Has anyone had the same issue? And if so, did you solve it?
See image here: http://www.glg-group.com/gill.jpg
It's driving me crazy!
Many thanks
Tom Gosling
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您使用 sIFR 3,您可以添加
fitExactly: true
参数进行替换,这将使 Flash 影片的宽度足以适合文本。(需要注意的是,Flash 可能使用不正确的值,但您可以使用
offsetLeft
/offsetTop
和tuneWidth
/tuneHeight
用于调整文本位置和影片尺寸的参数。)If you use sIFR 3 you can add the
fitExactly: true
parameter for the replacements, this will make the Flash movies exactly wide enough to fit the text.(With the caveat that Flash might use incorrect values, but you can use the
offsetLeft
/offsetTop
andtuneWidth
/tuneHeight
parameters to tune the text position and movie dimensions.)抱歉没有直接回答您的问题,但您可能想尝试 Cufon
希望它能解决这个问题。
Sorry for not directly answering your question, but you may want to try Cufon
Hope it deals with the issue.