2013-05-28 2 views
0

В моей Javascript У меня есть некоторый код, который выглядит следующим образом:Firefox обрезает мой поплавок: левый

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

Вы смотрите на «View Source» или вы вытаскиваете код из чего-то вроде «Firebug» в Firefox? –

ответ

Смежные вопросы