我有一个html代码,结构如下:
<div title="XYZ Tool" class="tbBtn toolbarBtn active xcLightBack tbBtnPressed" id="ctl_AAA_4_BBBTool" type="div" toolbarcoloropacity="1" toolbarcolor="#F1727F">
<img class="eilXYZ" id="ctl_Vessels_4_ctl04" style="background-position: -114px 0px;" __imageClass="eilXYZ">
<h4 class="normalFontSize noPointerEvents" style="padding-left: 4px; margin-top: -17px;">My TEXTTTT</h4>
</div>
从IE运行时,图像的宽度是16.04px,虽然在css类中,我已经将宽度定义为23px。以下是我从IE开发人员工具中获得的内容:
为什么?当我在H4中添加更多文本时,图像的宽度也会延伸,但从未达到我定义的23px ......
谢谢!
答案 0 :(得分:0)
而非max-width: 23px
更改为try
{
conn = dss.connect();
System.out.println("[SIGN]: Executing first step ");
beanResultVO = executeFirstStep(usuario,conn,parametros,beanResultadoVO);
if(beanResultVO.getResultCode() == IConstants.SWS_MSG_SUCCESSFUL){
BigDecimal someCoolVar = (BigDecimal)beanResultVO.getResultObject();
System.out.println("[SIGN]: end of the first step ");
((ArrayList)beanResultVO.getResultObject()).add(someCoolVar); // <--- WARNING HERE: The method add(Object) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
saveStuff(conn);
}
}
catch(Exception e)
{
System.out.println("error: "+e); // THIS SHOWS --> java.math.BigDecimal incompatible with java.util.ArrayList
e.printStackTrace();
beanResultVO.setResultCode(IConstants.SWS_MSG_ERROR);
undoStuff(conn);
}