简体   繁体   English

Firefox与typed.js不兼容?

[英]Firefox incompatibility with typed.js?

I don't really know how to call this problem of mine so change the title if you have a better idea and if you're a person with the power to do so. 我真的不知道该怎么称呼我的问题,因此,如果您有更好的主意并且如果您有能力这样做,请更改标题。

Anyway, I got this webpage here that I'm developing, it works perfectly fine but my bottom menu gets deformated and goes to the side line on firefox. 无论如何,我在这里开发了这个网页,它的运行情况非常好,但是我的底部菜单变形了,并转到了Firefox上的边线。 It only happens on the index, I suppose it has something to do with the Typed.js that I'm using only on the index. 它仅发生在索引上,我想这与我仅在索引上使用的Typed.js有关。

Here's what it looks like on chrome 这是镀铬的外观 铬 And what it looks like on firefox 以及在Firefox上的外观 火狐

It is really geting on my nerves, I tried changing some heights and widths but it doesn't change anything. 它确实让我感到不安,我尝试更改一些高度和宽度,但没有任何改变。

This doesn't make any sense for me, I would really appreciate a bright mind coming with a solution for this. 这对我来说没有任何意义,我真的很高兴有一个聪明的主意来解决这个问题。

TL;DR Here the bottom menu is deformated on firefox only on the index, why? TL; DR 这里底部菜单deformated在Firefox只指数,为什么呢? How can I solve it? 我该如何解决?

float . float

.linhas_left , .linhas_right and .container_linhas are float ing, making all following text and inline elements flow around them. .linhas_left.linhas_right.container_linhas正在float ,使所有后续文本和内联元素在它们周围流动。

Firefox apparently treats .menu like an inline element in the element flow and I have no idea why that is, but here's how to fix it. Firefox显然将.menu视为元素流中的内联元素,我不知道为什么会这样,但是这里是解决它的方法。
Add this to your CSS: 将此添加到您的CSS:

.footer
{
    clear: both;
}

Edit : It looks like this has been reported as a Firefox bug in 2009 already and too many duplicates have been filed so far , but it doesn't look like a fix is to be expected anytime soon. 编辑 :它看起来像这样已经被报告为Firefox的错误已经在2009年 许多 副本 提起 这么 ,但它看起来并不像一个解决方法是要很快的预期。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM