使用 sIFR 时行高混乱
当在我的 WP 主题中的标题 (.content h1.pagetitle) 上使用 sIFR 时,它会以某种方式弄乱间距并将标题向下推。实际的 Flash 视频与字体大小相同,所以我认为这与 CSS 有关,尽管我已经尝试了几乎所有我能想到的方法,但无法将其正确排列。这是该网站的链接:
任何帮助将不胜感激:)
Sean
When using sIFR on the titles (.content h1.pagetitle) in my WP theme, it somehow messes up the spacing and pushes the title down. The actual flash video is the same size as the font, so I think it has something to do with CSS, though I've tried just about everything I could think of and can't get it lined up properly. Here's a link to the site:
Any help would be absolutely appreciated :)
Sean
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
布局问题似乎是由使用
bottom
引起(并修复)的:在
sifr.css
中:(来自
http://seanandpeter.com/wp -content/plugins/wp-sifr/sifr/sifr.css
)将其更改为
bottom: auto
是一个开始,但看起来 CSS 规则确实很差 - 无法处理多行 sifr 并使用非常令人困惑的position
和 offset 属性选择...我怀疑您是否使用了最好的sifr
插件。 。The layout issue seems to be caused (and fixed) by playing with your
bottom
:In
sifr.css
:(from
http://seanandpeter.com/wp-content/plugins/wp-sifr/sifr/sifr.css
)Changing that to
bottom: auto
is a start, but it really looks like the CSS rules are quite poor - unable to cope with multi-line sifr and using a really confusing choice ofposition
and offset properties... I'd question whether you're using the bestsifr
plugin available...