我需要在www.euroworker.no/order上设置此更新按钮(您必须将一个项目添加到购物车,使用Kjøp按钮添加和Handlevogn以查看购物车).适用于FF和IE.(尽管IE存在另一个对齐问题)但Chrome或Safari中没有.之前我曾经工作过,但我唯一能想到的就是瞄准野生动物园和Chrome.这可能吗?
这是CSS和HTML(Smarty).
HTML(Smarty的):
{capture assign="cartUpdate"}
<div id="cartUpdate"><!--<input type="submit" class="submit" value="{tn _update}" />-->
<button type="submit" class="submit" id="oppdatersubmit" name="saveFields" title="Oppdater" value=""> </button> </div>
{/capture}
{assign var="cartUpdate" value=$cartUpdate|@str_split:10000}
{php}$GLOBALS['cartUpdate'] = $this->get_template_vars('cartUpdate'); $this->assign_by_ref('GLOBALS', $GLOBALS);{/php}
{form action="controller=order action=update" method="POST" enctype="multipart/form-data" handle=$form id="cartItems"}
CONTENT
{/form}
Run Code Online (Sandbox Code Playgroud)
而CSS:
#oppdatersubmit {
background-image:url(../../upload/oppdater.png);
background-repeat:no-repeat;
background-position:left;
background-color:none;
border:none;
overflow:hidden;
outline:none;
white-space: nowrap;
width:77px;
height:25px;
cursor:pointer;
position:absolute;
}
#cartUpdate {
position:absolute;
width:160px;
height:30px;
left:580px;
bottom:130px;
}
Run Code Online (Sandbox Code Playgroud)
需要为Chrome和Safari更改这些内容.
谢谢.
在Google Chrome中,单选按钮会在圆圈周围显示不需要的白色背景.这并未按预期在Firefox中显示.
请检查这些图像.

而且她是有问题的页面的直接链接(在Firefox和Chrome中查看) https://my.infocaptor.com/dash/mt.php?pa=hr_dashboard3_503c135bce6f4
我可以申请Chrome的任何CSS技巧吗?