<form ...> 下面的 <input type = hidden name = sortby id = sortby value = $ {sortby}> 占据物理位置的情况 占据物理位置的情况 : :
<form de nombre = header_product_search_form método = post id = header_product_search_form action = $ {ctxpath} /products/productssearch.html?doaction=productSearchaction>
<input type = Hidden name = HeadSearchCategoryPath id = HeadSearchCategoryPath Value = $ {CategyPath}>
<input type = Hidden name = HeadSearchAtTributEpath id = HeadSearchAtTributEpath Value = $ {HeadSearchAtTributEpath}>
<input type = Hidden name = attributePathInputValue id = attributePathInputValue value = $ {attributePathInputValue}>
<input type = Hidden name = PrMITEMSPERPAGE ID = PRMITEMSPERPAGE VALOR = $ {PagingBean.ItemSperPage}>
<input type = Hidden name = prmpageNo id = prmpageNo value = $ {PagingBean.CurrentPage}>
<input type = Hidden name = prmtotalItems id = prmtotalItems value = $ {PagingBean.NumberOfItems}>
<input type = Hidden name = prmtotalpages id = prmtotalpages value = $ {PagingBean.NumberOfPages}>
<input type = Hidden name = sortby id = sortby value = $ {sortby}>
..............
..............
</form>
如上 , 红色的隐藏输入框直接在 红色的隐藏输入框直接在 标签下面 标签下面 结果出现在 结果出现在 下显示失真的情况 , 隐藏输入框占据物理空间 , 在 在 里留下空白的部分。而在 Firefox 下显示正常。
解决方法 :把隐藏输入框放在 Forma 标签的最后面 , 即在 即在 </form> 之上 , 下显示即可恢复正常。代码如下 :.
<form de nombre = header_product_search_form método = post id = header_product_search_form action = $ {ctxpath} /products/productssearch.html?doaction=productSearchaction>
..............
..............
<input type = Hidden name = HeadSearchCategoryPath id = HeadSearchCategoryPath Value = $ {CategyPath}>
<input type = Hidden name = HeadSearchAtTributEpath id = HeadSearchAtTributEpath Value = $ {HeadSearchAtTributEpath}>
<input type = Hidden name = attributePathInputValue id = attributePathInputValue value = $ {attributePathInputValue}>
<input type = Hidden name = PrMITEMSPERPAGE ID = PRMITEMSPERPAGE VALOR = $ {PagingBean.ItemSperPage}>
<input type = Hidden name = prmpageNo id = prmpageNo value = $ {PagingBean.CurrentPage}>
<input type = Hidden name = prmtotalItems id = prmtotalItems value = $ {PagingBean.NumberOfItems}>
<input type = Hidden name = prmtotalpages id = prmtotalpages value = $ {PagingBean.NumberOfPages}>
<input type = Hidden name = sortby id = sortby value = $ {sortby}>
</form>