예 100 % div와 관련하여 수십 개의 질문을 보았습니다. 하지만 여전히 구현할 수 없습니다. 오른쪽 div에 음수 여백을 사용하고 있습니다.빈 div의 높이가 100 % 인 경우
테스트 버전은 여기에 있습니다 : http://bazarak.af/t.php
내가 나선 클래스의 높이 키를 누른 다음 금속 나선형 등장하지 않습니다를 제거합니다. 누군가 제발 나를 도와주세요. 나는 그 나선이 내용 옆에 나타나길 원한다.
자바 스크립트를 사용할 수 있지만 모든 사용자가 자바 스크립트를 사용할 수있는 것은 아닙니다.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<title>TEST</title>
<style type="text/css">
.wrapper{
margin: 0px auto;
background-color: white;
border: 1px solid #CCC;
width: 1030px;
}
body{
background-color: #f3f0e6;
height: 100%;
margin-top: 30px;
}
.content{
float: left;
width: 960px;
padding: 15px;
}
.spiral {
float: right;
margin-right: -32px;
width:63px;
height: 500px;
background-image:url(images/home/spiral.jpeg);
background-repeat:repeat-y;
background-position:top left;
}
.clear{clear: both;}
</style>
</head>
<body>
<div class="wrapper">
<div class="spiral"></div><!-- END SPIRAL -->
<div class="content">
[HEADER]</br></br></br>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</br></br></br>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</br></br></br>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</br></br></br></br>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</br></br></br></br>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</br></br></br></br> [FOOTER]
</div><!-- END CONTENT -->
<div class="clear"/>
</div><!-- END WRAPPER -->
</body>
</html>
자바가 아니라 자바 스크립트;) 매우 다른 두 개의 언어. – jeremyharris
당신이 옳습니다. 죄송합니다. :) –