<form ...> 下面的 <Tipo de entrada = Nome oculto = Sortby ID = Sortby Value = $ {Sortby}> 占据物理位置的情况 , 代码如下:
<nome do formulário = header_product_search_form método = post id = header_product_search_form action = $ {ctxpath} /products/productssearch.html?doaction=productSearchAction>
<Tipo de entrada = Nome oculto = HeadSearchCategoryPath ID = HeadSearchCategoryPath Value = $ {CategoryPath}>
<Tipo de entrada = Nome oculto = HeadSearchAttributEpath ID = HeadSearchAttributEpath Value = $ {HeadSearchAttributEpath}>
<Tipo de entrada = Nome oculto = AttributePathInputValue ID = AttributePathInputValue Valor = $ {AttributePathInputValue}>
<Tipo de entrada = Nome oculto = PrMitemSPERPAGE ID = PrMItemsSperpage Value = $ {PagingBean.itemsPerpage}>
<Tipo de entrada = Nome oculto = prmpageno id = prmpageno value = $ {pagingbean.currentpage}>
<Tipo de entrada = Nome oculto = prmtotalitems id = prmtotalitems value = $ {pagingbean.numberofitems}>
<Tipo de entrada = Nome oculto = PrmtoTalPages id = prmtotalPages value = $ {pagingbean.NumberOfPages}>
<Tipo de entrada = Nome oculto = Sortby ID = Sortby Value = $ {Sortby}>
..............
..............
</morm>
如上 , 红色的隐藏输入框直接在 form 标签下面 , 结果出现在 结果出现在 下显示失真的情况 , 隐藏输入框占据物理空间 , 在 ie 里留下空白的部分。而在 Firefox 下显示正常。
解决方法把隐藏输入框放在 Formulário 标签的最后面 , 即在 </morm> 之上 , 下显示即可恢复正常。代码如下 下显示即可恢复正常。代码如下:
<nome do formulário = header_product_search_form método = post id = header_product_search_form action = $ {ctxpath} /products/productssearch.html?doaction=productSearchAction>
..............
..............
<Tipo de entrada = Nome oculto = HeadSearchCategoryPath ID = HeadSearchCategoryPath Value = $ {CategoryPath}>
<Tipo de entrada = Nome oculto = HeadSearchAttributEpath ID = HeadSearchAttributEpath Value = $ {HeadSearchAttributEpath}>
<Tipo de entrada = Nome oculto = AttributePathInputValue ID = AttributePathInputValue Valor = $ {AttributePathInputValue}>
<Tipo de entrada = Nome oculto = PrMitemSPERPAGE ID = PrMItemsSperpage Value = $ {PagingBean.itemsPerpage}>
<Tipo de entrada = Nome oculto = prmpageno id = prmpageno value = $ {pagingbean.currentpage}>
<Tipo de entrada = Nome oculto = prmtotalitems id = prmtotalitems value = $ {pagingbean.numberofitems}>
<Tipo de entrada = Nome oculto = PrmtoTalPages id = prmtotalPages value = $ {pagingbean.NumberOfPages}>
<Tipo de entrada = Nome oculto = Sortby ID = Sortby Value = $ {Sortby}>
</morm>