<form ...> 下面的 <input type = Hidden Name = sortby id = sortby value = $ {sortby}> 占据物理位置的情况 , : :
<form name = header_product_search_form méthode = post id = header_product_search_form action = $ {ctxpath} /products/productssearch.html?doaction=ProductSearchAction>
<input type = Hidden Name = HeadSearchCategoryPath id = headsearchcategorypath value = $ {catégoriePath}>
<input type = Hidden Name = HeadSearchAtTributEpath id = headsearchAttributePath value = $ {headsearchAttraTributePath}>
<input type = Hidden Name = AttributePathInputValue id = AttributePathInputValue Value = $ {AttributePathInputValue}>
<entrée type = name cachée = prmitemsperpage id = prmitemsperpage value = $ {pagingbean.itemsperpage}>
<input type = Hidden Name = PrMpageNo id = PrMpageNo Value = $ {PAGINGBEAN.CURRENTPAGE}>
<entrée type = name cachée = prmtotalitems id = prmtotalitems value = $ {pagingbean.numberofitems}>
<entrée type = name cachée = prmtotalPages id = prmtotalPages value = $ {pagingbean.numberofPages}>
<input type = Hidden Name = SortBy Id = SortBy Value = $ {sortby}>
..............
..............
</ form>
如上 , 红色的隐藏输入框直接在 Forme 标签下面 , 结果出现在 IE 下显示失真的情况 , 隐藏输入框占据物理空间 , 在 IE 里留下空白的部分。而在 Firefox 下显示正常。
:把隐藏输入框放在 Forme 标签的最后面 , 即在 </ form> 之上 , c'est-à-dire :
<form name = header_product_search_form méthode = post id = header_product_search_form action = $ {ctxpath} /products/productssearch.html?doaction=ProductSearchAction>
..............
..............
<input type = Hidden Name = HeadSearchCategoryPath id = headsearchcategorypath value = $ {catégoriePath}>
<input type = Hidden Name = HeadSearchAtTributEpath id = headsearchAttributePath value = $ {headsearchAttraTributePath}>
<input type = Hidden Name = AttributePathInputValue id = AttributePathInputValue Value = $ {AttributePathInputValue}>
<entrée type = name cachée = prmitemsperpage id = prmitemsperpage value = $ {pagingbean.itemsperpage}>
<input type = Hidden Name = PrMpageNo id = PrMpageNo Value = $ {PAGINGBEAN.CURRENTPAGE}>
<entrée type = name cachée = prmtotalitems id = prmtotalitems value = $ {pagingbean.numberofitems}>
<entrée type = name cachée = prmtotalPages id = prmtotalPages value = $ {pagingbean.numberofPages}>
<input type = Hidden Name = SortBy Id = SortBy Value = $ {sortby}>
</ form>