-1
我有一個下面的CSS,它可以很好地適用於Google Chrome,但不適用於Firefox。Firefox中的CSS問題
$document->addStyleDeclaration('body{margin-bottom:65px!important}
.toolbar_fixed{position:fixed;left:1px;bottom:-5px;width:100%!important}
.toolbar_fixed_inner{style="height:100%;width:100%;background:'.$params->get('background').';border-top:'.$params->get('border_pixels').'px solid '.$params->get('border_color').';color:#202020}
.toolbar_fixed_content{text-align:'.$params->get('align').';width:100%;margin-top:10px;padding-bottom:10px;margin-bottom:5px}
.toolbar_fixed_content a:hover{background:none!important}
.toolbar_fixed_content img{margin-right:'.$params->get('images_space').'px}
');
你會結識的區別,如果你檢查此鏈接(底酒吧用的社交媒體圖標)在谷歌Chrome和Firefox。 http://www.joomla357.com/demo/toolbar-joomla-module.html
請讓我知道我怎麼能得到相同的Firefox。由於
但是,如果這是一個問題,爲什麼它正常工作與谷歌瀏覽器? – MCHAppy
可能是可能的,只是鉻忽略了這一部分, firefox更加嚴格 –
是啊,chrome增加了額外的一英里,但語法肯定是錯誤的。 – enapupe