我有两个JSP页面,其中包含以下代码:
A.jsp
<fieldset>
<legend class="noBold" >Datos generales</legend>
<table>
<tr>
<td class="etiqueta" colspan="5">
<label for="fxPresentacion">Fecha presentación:</label>
</td>
</tr>
... more code ...
</table>
</fieldset>
B.jsp
<fieldset>
<legend class="">Datos generales</legend>
<table class="estiloTabla">
<tr>
<td class="etiqueta">
<label for="fxSolicitud">Fecha solicitud:</label>
</td>
</tr>
... more code ...
</table>
这两个页面使用相同的CSS:
label {
color: inherit;
font-size: 0.98em;
border: 0px;
}
当您在web浏览器中打开它时,标签标签看起来有不同的字体大小:
A.jsp
B.jsp
有人知道发生了什么吗?
附言:我的电脑里有一个网页过滤器,我不能显示图片。以下是URL:
https://stackoverflow.com/questions/25907084
复制相似问题