最后,我想让firefox和chrome以同样的方式显示。在铬我注意到,float: left
打破了网站,但在FF工程。但是,如果我将float:none
Chrome完美显示,但它在FF上被打破。@ -moz-文档不起作用
我试过@-moz-document url-prefix() {.attempt{float:left}}
但似乎没有工作。我试过@document url() {.attempt{float:left}}
但这也没有帮助。
任何帮助将不胜感激。
<style>
@-moz-document url-prefix() {
.attempt {
float:left
}
}
.attempt {
float:none
}
</style>
<div class="attempt">someText</div>
而且It has been asked before with no answer.
回答这个问题,因为链接的问题有一些细微的差别,实际上使其重现比困难得多这个。 – BoltClock