简体   繁体   English

Firefox 3.6忽略CSS3边框半径

[英]Firefox 3.6 Ignoring CSS3 border radius

I am using -moz-border-radius (along with border-bottom-left and the webkit one). 我正在使用-moz-border-radius(以及border-bottom-left和webkit之一)。

The radius shows up in every browser (that supports css3 radius) no problem. 半径显示在每个浏览器(支持css3半径)中都没有问题。

In firefox, the radius shows up. 在Firefox中,半径会显示出来。 When I inspect with firebug, radius is missing from the stylesheet (it is there though, just not visible in firebug). 当我用萤火虫检查时,样式表中缺少半径(尽管半径在那儿,在萤火虫中不可见)。

it works here on the tabs (first and last tab/li). 它在选项卡上(第一个和最后一个选项卡/ li) 在这里起作用。 I am copying that same exact style (css and markup). 我正在复制相同的样式(css和标记)。

Any suggestions? 有什么建议么?

The above comment was correct. 以上评论是正确的。 there was a "-" missing in front of all the webkit and moz styles. 所有Webkit和Moz样式前面都没有一个“-”。

I didn't bother to check because I copied stylesheet directly. 我不必费心检查,因为我直接复制了样式表。 How did the -'s get removed? -是如何被删除的? Maybe by visual studios "Format Document" command? 也许通过视觉工作室的“格式化文档”命令?

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

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