简要咨询咨询QQ网站导航网站搜索手机站点联系我们设为首页加入收藏 

ie6 失真问题

来源:易贤网   阅读:949 次  日期:2016-06-23 10:51:31

温馨提示:易贤网小编为您整理了“ie6 失真问题”,方便广大网友查阅!

问题: <form...>下面的<input type="hidden" name="sortBy" id="sortBy" value="${sortBy}">占据物理位置的情况

代码如下:

<form name="header_product_search_form" method="post" id=&qu

问题:

<form...>下面的<input type="hidden" name="sortBy" id="sortBy" value="${sortBy}">占据物理位置的情况

代码如下:

<form name="header_product_search_form" method="post" id="header_product_search_form" action="${ctxPath }/products/productsSearch.html?doAction=productSearchAction">

<input type="hidden" name="headSearchCategoryPath" id="headSearchCategoryPath" value="${categoryPath }">

<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" value="${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>

如上,红色的隐藏输入框直接在form标签下面,结果出现在ie下显示失真的情况,隐藏输入框占据物理空间,在ie里留下空白的部分。而在Firefox下显示正常。

解决方法:

把隐藏输入框放在form标签的最后面,即在</form>之上,ie下显示即可恢复正常。

代码如下:

<form name="header_product_search_form" method="post" id="header_product_search_form" action="${ctxPath }/products/productsSearch.html?doAction=productSearchAction">

..............

..............

<input type="hidden" name="headSearchCategoryPath" id="headSearchCategoryPath" value="${categoryPath }">

<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" value="${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>

更多信息请查看网页制作
点此处就本文及相关问题在本站进行非正式的简要咨询(便捷快速)】     【点此处查询各地各类考试咨询QQ号码及交流群
上一篇:关闭IE启用图片工具列
下一篇:html 自定义标签使用实现方法
易贤网手机网站地址:ie6 失真问题
由于各方面情况的不断调整与变化,易贤网提供的所有考试信息和咨询回复仅供参考,敬请考生以权威部门公布的正式信息和咨询为准!