IE6의 ExtJS 프레임 워크에서 디스플레이 결함이 발생했습니다. - 누군가가 올바른 방향으로 나를 가리킬 수 있기를 바랍니다.IE 6의 Ext.Panel bbar 폭 문제
다음 예제에서, 패널의 bbar는 Firefox에서와 같이 패널과 동일한 너비로 표시되는 IE6에서 첨부 된 패널보다 2 ems (왼쪽 정렬)로 표시됩니다.
누구든지 해결 방법을 제안 할 수 있습니까?
ems 또는 패딩 (padding)에서 패널의 너비를 픽셀 단위로 지정하여 해결할 수있는 것처럼 보이지만 아래에있는대로 작동 할 것으로 예상됩니다.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="ext/resources/css/ext-all.css"/>
<script type="text/javascript" src="ext/ext-base.js"></script>
<script type="text/javascript" src="ext/ext-all-debug.js"></script>
<script type="text/javascript">
Ext.onReady(function(){
var main = new Ext.Panel({
renderTo: 'content',
bodyStyle: 'padding: 1em;',
width: 500,
html: "Alignment issue in IE - The bbar's width is 2ems less than the main panel in IE6.",
bbar: [
"->",
{id: "continue", text: 'Continue'}
]
});
});
</script>
</head>
<body>
<div id="content"></div>
</body>
</html>