【发布时间】:2011-01-21 05:46:28
【问题描述】:
嗨,
我们使用带有 IceFaces 的 JSF 作为组件库。截至目前,该应用程序仅与 IE6 兼容。它不适用于任何其他浏览器。我们的客户端要求将浏览器兼容性更新为 IE7。我们想知道 IceFaces 中是否有任何配置更改以使其支持 IE7 浏览器或需要进行大量代码更改。
请给我你的建议。
更新
<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root version="1.2" xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ice="http://www.icesoft.com/icefaces/component">
<f:view>
<ice:outputDeclaration doctypeRoot="HTML"
doctypePublic="-//W3C//DTD XHTML 1.0 Transitional//EN"
doctypeSystem="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" />
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=5" />
<ice:outputStyle href="/xmlhttp/css/rime/rime.css" />
<ice:outputStyle href="/css/hp.css" />
<ice:outputStyle href="/css/body.css" />
<script type="text/javascript" src="js/hp.js">
</script>
<script type="text/javascript" src="js/expandableSelectMenu.js">
</script>
</head>
<body id="document:body">
<ice:panelGroup id="headerImg">
<div>
<jsp:directive.include file="/WEB-INF/jsp/include/header.jspx" />
</div>
</ice:panelGroup>
<ice:panelGroup id="headerImg01">
<div>
<jsp:directive.include file="/WEB-INF/jsp/xxxx_Head.jspx" />
</div>
</ice:panelGroup>
<div class="rootDiv">
<div class="bodyContainer">
<ice:form id="XXXX">
<ice:panelGrid border="0" columns="1" style="margin-top:-8px;">
<!-- xxxx-->
<ice:panelGrid border="0" columns="2" style="margin-bottom:-8px;margin-top:-8px;" styleClass="contentPanelHeader">
<ice:panelGroup style="width:10px;" styleClass="tabNoPanel">
<ice:outputText value="1" styleClass="panelHeaderNo"/>
</ice:panelGroup>
<ice:panelGroup style="width:836px;">
<ice:outputText value="#{mes.producto}" styleClass="label20px"/>
</ice:panelGroup>
</ice:panelGrid>
<ice:panelGrid border="0" columns="1" style="margin-top:-8px;margin-bottom:-4px;width:862px;" styleClass="contentPanel">
<ice:panelGroup style="width:862px;">
<ice:panelGrid columns="1" border="0">
这是一段代码。我有以下疑惑:
我们使用
<div>标签来放置组件。会不会影响浏览器的兼容性。听说有Floating Div问题。那是什么?有人说这是造成问题的原因。
请检查代码,让我知道可能出了什么问题。
【问题讨论】:
标签: jsf cross-browser icefaces