ie6失真问题
来源:互联网 发布:excel数据有效性没了 编辑:程序博客网 时间:2024/06/05 17:55
问题:
<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>
- ie6失真问题
- float失真问题
- mpeg2音频失真问题
- VC 解决图片失真问题
- VC解决stretchblt 失真问题
- ImageList的图片失真问题
- SetSTretchBltMode解决图像失真问题
- MFC对话框背景图失真问题
- 解决StretchBlt()图像失真问题
- 获取app图标失真问题
- ie6问题
- mfc中StretchBlt缩放图像失真问题
- Android PNG渐变背景图片失真问题
- Android PNG渐变背景图片失真问题
- Android PNG渐变背景图片失真问题
- Android PNG渐变背景图片失真问题
- android 代码设置PNG图片失真问题
- StretchBlt, StretchDIBits函数显示失真问题
- 端口
- BOM断阶原则
- 使用两个路由器共享上网的接法
- 维度浅尝辄止
- C# 获得当前目录和执行目录的一些方法
- ie6失真问题
- 空杯理论
- Linux Error: 32: Broken pipe
- 调试堆的错误-release和debug的差别
- 使用onclick跳转到其他页面。使用button跳转到指定url
- MSSQL语法整理
- MAC OS X Leopard 10.5.6的安装
- 垃圾邮件过滤
- Struts中用Filter实现每个页面的登录验证