IE6에서 부동 소수점 및 이미지를 표시하는 데 문제가 있습니다. Opera와 Firefox에서 이러한 문제를 표시하는 데 아무런 문제가 없었습니다. 컨테이너 안에는 3 개의 div가 있습니다. 각 div에는 자체 단락과 이미지가 왼쪽 또는 오른쪽으로 떠있었습니다. 원하는 레이아웃을 얻기 위해 대부분의 단락과 이미지에 음수 여백을 설정했습니다. 여기IE6에서 부동 소수점 정렬 방법
내가 수레를 정렬하는 방법입니다
---- 컨테이너 CSS 코드 -----
.container {
clear:both;
background:url(images/content_bg.png) repeat-x scroll 0 0 transparent;
width:850px;
height:750px;
overflow:hidden;
margin:0 auto;
}
----- 처음 DIV를위한 CSS 코드 - --- 제 2 사업부 -------------
.ro2 {
float:left;
width:790px;
height:234px;
margin:-185px 0 0 28px;
position:relative;
}
.row2 p {
float:right;
font-size:12px;
font-weight:bold;
text-align:justify;
text-indent:20px;
margin:-195px 258px 0 175px;
position:relative;
}
.pic2 {
float:left;
}
에 대한
.row1 {
float:left;
width:790px;
height:460px;
margin:5px 0 0 40px;
}
.pic1 {
float:right;
height:460px;
width:382px;
margin:-100px -50px 0 -60px;
}
h2, p {
font-family:Arial, Helvetica, sans-serif;
}
.row1 p {
font-size:12px;
text-indent:20px;
font-weight:bold;
text-align:justify;
margin:-10px -25px 0 0;
position:relative;
}
----------- 코드 3 DIV ---------------
.row3 {
float:left;
width:790px;
height:203px;
margin:-10px 0 0 40px;
position:relative;
}
.row3 p {
float:left;
font-size:12px;
font-weight:bold;
text-indent:20px;
text-align:justify;
margin:-180px 265px 0 10px;
position:relative;
}
.pic3 {
float:right;
}
div의 '높이 (.row1 .row3 할) 수 있습니다에 대한 6,
--------- 코드 div가 단락과 그림을 모두 포함 할 수 있도록 이미지의 높이를 기반으로합니다. 이 단락은 IE6에서 볼 때 이미지에서 멀리 떨어져있는 것처럼 보입니다. 일부 단락은 다른 이미지와 중첩되어 있습니다. 이 지원되는 많은 "버그"를 포함 아니에요
우리가 볼 수있는 html이 있습니까? 당신이 당신의 요소를 중첩시키는 방법을 알지 못해도 말하기가 어렵습니다. – edl