2013-05-28 36 views
0

在我的JavaScript我有一些代碼,看起來像這樣:火狐剔除了我的浮動:左

itemView.style.float = 'left'; 

在鉻浮動:左側出現精:

style="float: left; cursor: pointer; color: rgb(102, 102, 102); font-size: 12px; line-height: 14px; text-decoration: none; width: 155px; height: 30px; padding-left: 24px; padding-top: 9px; margin-top: -4px; background-color: white; background-position: initial initial; background-repeat: initial initial"; 
在Firefox它

然而缺少

style="cursor: pointer; color: rgb(102, 102, 102); font-size: 12px; line-height: 14px; text-decoration: none; width: 155px; height: 30px; padding-left: 24px; padding-top: 9px; margin-top: -4px; background: none repeat scroll 0% 0% white"; 
+3

你可以添加一個完整的代碼示例嗎?特別有用的是一個重現問題的jsFiddle.net示例。 – j08691

+0

我會盡力的。明天讓你知道 –

+0

你在看「查看源代碼」嗎?還是你在Firefox中使用類似'Firebug'的代碼? –

回答